Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Philip Balister <philip@balister.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] util-linux 2.19.1: split blkid out into its own	subpackage
Date: Mon, 10 Oct 2011 17:01:01 -0400	[thread overview]
Message-ID: <4E935D0D.7030108@balister.org> (raw)
In-Reply-To: <1318241454-10545-1-git-send-email-koen@dominion.thruhere.net>

On 10/10/2011 06:10 AM, Koen Kooi wrote:
> Recent udev versions require blkid from u-l, not from e2fsprogs. In general all the non fsck related binaries from e2fsprogs are deprecated.
> 
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>

Acked-by: Philip Balister < philip@balister.org>

> ---
>  meta/recipes-core/util-linux/util-linux.inc       |   15 ++++++++++++++-
>  meta/recipes-core/util-linux/util-linux_2.19.1.bb |    2 +-
>  2 files changed, 15 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
> index 8762ac6..67d81b9 100644
> --- a/meta/recipes-core/util-linux/util-linux.inc
> +++ b/meta/recipes-core/util-linux/util-linux.inc
> @@ -29,7 +29,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd
>               util-linux-swaponoff util-linux-losetup util-linux-umount \
>               util-linux-mount util-linux-readprofile util-linux-libblkid \
>               util-linux-libblkid-dev util-linux-libuuid util-linux-libuuid-dev \
> -             util-linux-uuidgen util-linux-lscpu util-linux-fsck"
> +             util-linux-uuidgen util-linux-lscpu util-linux-fsck util-linux-blkid"
>  
>  EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown --enable-elvtune --enable-init --enable-kill --enable-last \
>   --enable-mesg --enable-partx --enable-raw --enable-rdev --enable-reset \
> @@ -56,6 +56,11 @@ FILES_util-linux-lscpu = "${bindir}/lscpu"
>  
>  FILES_util-linux-fsck = "${base_sbindir}/fsck*"
>  
> +# Util-linux' blkid replaces the e2fsprogs one
> +FILES_util-linux-blkid = "${base_sbindir}/blkid*"
> +RCONFLICTS_util-linux-blkid = "e2fsprogs-blkid"
> +RREPLACES_util-linux-blkid = "e2fsprogs-blkid"
> +
>  RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile "
>  RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup perl"
>  
> @@ -262,4 +267,12 @@ pkg_prerm_util-linux-fsck () {
>  	update-alternatives --remove fsck fsck.${PN}
>  }
>  
> +pkg_postinst_util-linux-blkid () {
> +	update-alternatives --install ${base_sbindir}/blkid blkid blkid.${PN} 100
> +}
> +
> +pkg_prerm_util-linux-blkid () {
> +	update-alternatives --remove blkid blkid.${PN}
> +}
> +
>  BBCLASSEXTEND = "native"
> diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
> index 39ff68c..04f4457 100644
> --- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb
> +++ b/meta/recipes-core/util-linux/util-linux_2.19.1.bb
> @@ -1,5 +1,5 @@
>  MAJOR_VERSION = "2.19"
> -PR = "r7"
> +PR = "r8"
>  require util-linux.inc
>  
>  # note that `lscpu' is under GPLv3+



      reply	other threads:[~2011-10-10 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10 10:10 [PATCH] util-linux 2.19.1: split blkid out into its own subpackage Koen Kooi
2011-10-10 21:01 ` Philip Balister [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=4E935D0D.7030108@balister.org \
    --to=philip@balister.org \
    --cc=openembedded-core@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