All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philip Tricca <flihp@twobit.us>
To: Riku Voipio <riku.voipio@linaro.org>
Cc: meta-virtualization@yoctoproject.org
Subject: Re: [PATCH] fix inittab install when Xen not in DISTRO_FEATURES
Date: Wed, 13 Nov 2013 12:39:30 -0500	[thread overview]
Message-ID: <5283B952.1030403@twobit.us> (raw)
In-Reply-To: <1384334721-3625-1-git-send-email-riku.voipio@linaro.org>

Riku,

Looks good to me. Thanks for cleaning this up.

Regards,
- Philip

On 11/13/2013 04:25 AM, Riku Voipio wrote:
> With the latest patch, OE builds may file like:
> 
> https://ci.linaro.org/jenkins/job/openembedded-armv7ab-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=minimal/127/consoleText
> 
> By having the "failing" grep within the if block, set -e
> in shell code will not bite configurations where meta-virtualization
> is included but xen is not in DISTRO_FEATURES.
> 
> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
> ---
>  recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
> index 2edbedf..1b89aec 100644
> --- a/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
> +++ b/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bbappend
> @@ -1,6 +1,5 @@
>  do_install_append() {
> -	echo "${DISTRO_FEATURES}" | grep -q 'xen'
> -	if [ $? -eq 0 ]; then
> +	if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then
>  		echo "" >> ${D}${sysconfdir}/inittab
>  		echo "X0:12345:respawn:/sbin/getty 115200 hvc0" >> ${D}${sysconfdir}/inittab
>  	fi
> 



  reply	other threads:[~2013-11-13 17:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13  9:25 [PATCH] fix inittab install when Xen not in DISTRO_FEATURES Riku Voipio
2013-11-13 17:39 ` Philip Tricca [this message]
2013-11-13 17:53 ` Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2013-11-11 14:01 Riku Voipio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5283B952.1030403@twobit.us \
    --to=flihp@twobit.us \
    --cc=meta-virtualization@yoctoproject.org \
    --cc=riku.voipio@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.