Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 2/2] util-linux-ng: use u-a for /etc/default/mountall (collision with busybox-mountall)
Date: Sat, 20 Mar 2010 17:40:10 -0700	[thread overview]
Message-ID: <20100321004010.GC4351@gmail.com> (raw)
In-Reply-To: <1267790132-25931-3-git-send-email-Martin.Jansa@gmail.com>

On (05/03/10 12:55), Martin Jansa wrote:

Acked-by: Khem Raj <raj.khem@gmail.com>
> ---
>  recipes/util-linux-ng/util-linux-ng.inc |   13 ++++++++++---
>  1 files changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
> index 7f4333b..031b80b 100644
> --- a/recipes/util-linux-ng/util-linux-ng.inc
> +++ b/recipes/util-linux-ng/util-linux-ng.inc
> @@ -7,7 +7,7 @@ inherit autotools
>  
>  DEFAULT_PREFERENCE = "-1"
>  
> -INC_PR = "r9"
> +INC_PR = "r10"
>  
>  # allows for a release candidate
>  RC ?= ""
> @@ -46,7 +46,7 @@ FILES_util-linux-ng-umount = "${base_bindir}/umount.${PN}"
>  FILES_util-linux-ng-readprofile = "${base_sbindir}/readprofile.${PN}"
>  
>  PACKAGES =+ "${PN}-mountall"
> -FILES_${PN}-mountall = "${sysconfdir}/default/mountall"
> +FILES_${PN}-mountall = "${sysconfdir}/default/mountall.${PN}"
>  RREPLACES_${PN}-mountall = "busybox-mountall"
>  
>  RRECOMMENDS_${PN} = "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-mount util-linux-ng-readprofile "
> @@ -152,7 +152,7 @@ do_install () {
>          done
>  
>  	install -d ${D}${sysconfdir}/default/
> -	echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall
> +	echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall.${PN}
>  
>  	rm ${D}${sbindir}/swapoff -f
>  	ln -sf ${base_sbindir}/swapon.${PN} ${D}${base_sbindir}/swapoff.${PN}
> @@ -269,3 +269,10 @@ pkg_prerm_util-linux-ng-readprofile () {
>      update-alternatives --remove readprofile readprofile.${PN} 100
>  }
>  
> +pkg_postinst_util-linux-ng-mountall () {
> +        update-alternatives --install ${sysconfdir}/default/mountall default_mountall mountall.${PN} 100
> +}
> +pkg_prerm_util-linux-ng-mountall () {
> +        update-alternatives --remove default_mountall mountall.${PN}
> +}
> +
> -- 
> 1.7.0
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



      reply	other threads:[~2010-03-21  0:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-05 11:55 busybox-mountall util-linux-ng-mountall collision on /etc/default/mountall Martin Jansa
2010-03-05 11:55 ` [PATCH 1/2] busybox: use u-a for /etc/default/mountall (collision with util-linux-ng-mountall) Martin Jansa
2010-03-21  0:39   ` Khem Raj
2010-03-05 11:55 ` [PATCH 2/2] util-linux-ng: use u-a for /etc/default/mountall (collision with busybox-mountall) Martin Jansa
2010-03-21  0:40   ` Khem Raj [this message]

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=20100321004010.GC4351@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox