util-linux-ng: Do not provide libblkid.
PATCH 1/1 util-linux-ng: Do not provide libblkid.
Currently we let utils-linux-ng provide libblkid package which then ends up being provided twice once from e2fsprogs-libs and once from util-linux-ng. Future versions might move libblkid and libuuid to utils-linux-ng till then we will use e2fsprogs-libs provided one on the system
--- recipes/util-linux-ng/util-linux-ng.inc | 15 ++------------- recipes/util-linux-ng/util-linux-ng_2.13.1.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.14.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.15.bb | 1 + 4 files changed, 5 insertions(+), 13 deletions(-)
recipes/util-linux-ng/util-linux-ng.inc +2 -13
@@ -1,14 +1,14 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system." SECTION = "base" LICENSE = "GPL" -DEPENDS = "udev zlib ncurses virtual/libintl e2fsprogs-libs" +DEPENDS = "udev zlib ncurses virtual/libintl" inherit autotools_stage AUTOTOOLS_STAGE_PKGCONFIG = "1" DEFAULT_PREFERENCE = "-1" -INC_PR = "r6" +INC_PR = "r7" # allows for a release candidate RC ?= ""
@@ -16,7 +16,6 @@ RC ?= "" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-ng-${PV}${RC}.tar.bz2" PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile " -PACKAGES_DYNAMIC = "libblkid*" FILES_${PN}-doc += "/usr/share/misc/getopt/getopt-*.*" FILES_${PN} = "${bindir} ${sbindir} ${base_bindir} ${base_sbindir}"
@@ -139,16 +138,6 @@ do_install () { ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt } -python populate_packages_prepend () { - ulinxng_libdir = bb.data.expand('${libdir}', d) - ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True) -} - - pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/dmesg dmesg dmesg.${PN} 100 update-alternatives --install ${base_bindir}/kill kill kill.${PN} 100
recipes/util-linux-ng/util-linux-ng_2.13.1.bb +1 -0
@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v2.13/util-linux-ng-${PV}${RC}.tar.bz2" #SRC_URI += "file://util-linux_2.12r-12.diff.gz;patch=1"
recipes/util-linux-ng/util-linux-ng_2.14.bb +1 -0
@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"
recipes/util-linux-ng/util-linux-ng_2.15.bb +1 -0
@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"
Signature · 1 line
1.5.4.3
Quoted 9 lines · Khem Raj
Currently we let utils-linux-ng provide libblkid package which then ends up being provided twice once from e2fsprogs-libs and once from util-linux-ng. Future versions might move libblkid and libuuid to utils-linux-ng till then we will use e2fsprogs-libs provided one on the system
Signed-off-by Khem Raj <[email protected]>
May I co-sign it with you? :) If not, then change it to ack...
Quoted 91 lines
--- recipes/util-linux-ng/util-linux-ng.inc | 15 ++------------- recipes/util-linux-ng/util-linux-ng_2.13.1.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.14.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.15.bb | 1 + 4 files changed, 5 insertions(+), 13 deletions(-)recipes/util-linux-ng/util-linux-ng.inc +2
-13@@ -1,14 +1,14 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system." SECTION = "base" LICENSE = "GPL" -DEPENDS = "udev zlib ncurses virtual/libintl e2fsprogs-libs" +DEPENDS = "udev zlib ncurses virtual/libintl" inherit autotools_stage AUTOTOOLS_STAGE_PKGCONFIG = "1" DEFAULT_PREFERENCE = "-1" -INC_PR = "r6" +INC_PR = "r7" # allows for a release candidate RC ?= ""@@ -16,7 +16,6 @@ RC ?= "" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-ng-${PV}${RC}.tar.bz2" PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile " -PACKAGES_DYNAMIC = "libblkid*" FILES_${PN}-doc += "/usr/share/misc/getopt/getopt-*.*" FILES_${PN} = "${bindir} ${sbindir} ${base_bindir} ${base_sbindir}"@@ -139,16 +138,6 @@ do_install () { ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt } -python populate_packages_prepend () { - ulinxng_libdir = bb.data.expand('${libdir}', d) - ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True) -} - - pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/dmesg dmesg dmesg.${PN} 100 update-alternatives --install ${base_bindir}/kill kill kill.${PN} 100recipes/util-linux-ng/util-linux-ng_2.13.1.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v2.13/util-linux-ng-${PV}${RC}.tar.bz2" #SRC_URI += "file://util-linux_2.12r-12.diff.gz;patch=1"recipes/util-linux-ng/util-linux-ng_2.14.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"recipes/util-linux-ng/util-linux-ng_2.15.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"Signature · 7 lines
1.5.4.3 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 9 lines · Khem Raj
Currently we let utils-linux-ng provide libblkid package which then ends up being provided twice once from e2fsprogs-libs and once from util-linux-ng. Future versions might move libblkid and libuuid to utils-linux-ng till then we will use e2fsprogs-libs provided one on the system
Signed-off-by Khem Raj<[email protected]>
NAK!!!! We need the new blkid for udev and friends, so you'll break angstrom with this changes. The right way is to kill the e2fsprogs one.
Quoted 83 lines
--- recipes/util-linux-ng/util-linux-ng.inc | 15 ++------------- recipes/util-linux-ng/util-linux-ng_2.13.1.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.14.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.15.bb | 1 + 4 files changed, 5 insertions(+), 13 deletions(-)recipes/util-linux-ng/util-linux-ng.inc +2
-13@@ -1,14 +1,14 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system." SECTION = "base" LICENSE = "GPL" -DEPENDS = "udev zlib ncurses virtual/libintl e2fsprogs-libs" +DEPENDS = "udev zlib ncurses virtual/libintl" inherit autotools_stage AUTOTOOLS_STAGE_PKGCONFIG = "1" DEFAULT_PREFERENCE = "-1" -INC_PR = "r6" +INC_PR = "r7" # allows for a release candidate RC ?= ""@@ -16,7 +16,6 @@ RC ?= "" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-ng-${PV}${RC}.tar.bz2" PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile " -PACKAGES_DYNAMIC = "libblkid*" FILES_${PN}-doc += "/usr/share/misc/getopt/getopt-*.*" FILES_${PN} = "${bindir} ${sbindir} ${base_bindir} ${base_sbindir}"@@ -139,16 +138,6 @@ do_install () { ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt } -python populate_packages_prepend () { - ulinxng_libdir = bb.data.expand('${libdir}', d) - ulinxng_libdir_dbg = bb.data.expand('${libdir}/.debug', d) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev', allow_links=True) - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.la$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.a$', 'lib%s-dev', 'util-linux-ng %s development package', extra_depends='${PN}-dev') - do_split_packages(d, ulinxng_libdir, '^lib(.*)\.so\.*', 'lib%s', 'util-linux-ng %s library', extra_depends='', allow_links=True) -} - - pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/dmesg dmesg dmesg.${PN} 100 update-alternatives --install ${base_bindir}/kill kill kill.${PN} 100recipes/util-linux-ng/util-linux-ng_2.13.1.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v2.13/util-linux-ng-${PV}${RC}.tar.bz2" #SRC_URI += "file://util-linux_2.12r-12.diff.gz;patch=1"recipes/util-linux-ng/util-linux-ng_2.14.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"recipes/util-linux-ng/util-linux-ng_2.15.bb +1
-0@@ -1,4 +1,5 @@ require util-linux-ng.inc +DEPENDS += "e2fsprogs-libs" PR = "${INC_PR}"
Quoted 9 lines · Koen Kooi
Quoted 8 lines · Khem Raj
Currently we let utils-linux-ng provide libblkid package which then ends up being provided twice once from e2fsprogs-libs and once from util-linux-ng. Future versions might move libblkid and libuuid to utils-linux-ng till then we will use e2fsprogs-libs provided one on the system
Quoted 5 lines
Quoted 1 line
Signed-off-by Khem Raj<[email protected]>NAK!!!! We need the new blkid for udev and friends, so you'll break angstrom with this changes. The right way is to kill the e2fsprogs one.
I thought of doing this switch once util-linux-ng 2.16 is released(15th july it was) then this library would come from util-linux-ng for older ones let it
come from e2fsprogs-libs. It seems udev angstrom is using is quite latest. Anyway current util-linux-ng recipes are broken too because they ask for this
library to be provided for all versions but it only appeared in
2.15 for first time.
so I think we wont be able to use any combination of util-linux-ng and e2fsprogs-libs.
if a distro is using util-linux-ng older than 2.15 (nothing found in conf/ ) then it has to get this library from e2fsprogs-libs. It there a way to say that in recipes or bitbake magic ?
If this looks viable that all distros use latest util-linux-ng then we can stop providing it from e2fsprogs-libs,
if someone wanted to use utils-linux-ng < 2.15 then he gets no libblkid
opinions ?
Thx
-Khem
Quoted 8 lines · Khem Raj
Currently we let utils-linux-ng provide libblkid package which then ends up being provided twice once from e2fsprogs-libs and once from util-linux-ng. Future versions might move libblkid and libuuid to utils-linux-ng till then we will use e2fsprogs-libs provided one on the system
Quoted 7 lines
Signed-off-by Khem Raj <[email protected]>--- recipes/util-linux-ng/util-linux-ng.inc | 15 ++------------- recipes/util-linux-ng/util-linux-ng_2.13.1.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.14.bb | 1 + recipes/util-linux-ng/util-linux-ng_2.15.bb | 1 + 4 files changed, 5 insertions(+), 13 deletions(-)
Here is alternative patch which makes this libs come from utils-linux-ng as going forward this seems ok on the same hand it breaks the old e2fsprogs-libs and utils-linux-ng co operations.
I have also added the latest releases of both packages which libblkid and libuuid have been moved to util-linux-ng and provisions to disable it in e2fsprogs has been added.
Built and booted console-image on arm works fine.
OK to install on .dev?
Thanks
-Khem
From 69ef2d4fd54b49281c5187be7a98da78c84346f3 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Sun, 19 Jul 2009 09:31:34 -0700
Subject: [PATCH] e2fsprogs-libs: Add version 1.41.8 and dont provide libblkid and libuuid.
util-linux-ng: Add version 2.16 and provide libblkid and libuuid.
Change the provider for libuuid and libblkid from e2fsprogs-libs to util-linux-ng.
--- conf/checksums.ini | 8 ++++++++ recipes/e2fsprogs-libs/e2fsprogs-libs.inc | 14 +++++--------- recipes/e2fsprogs-libs/e2fsprogs-libs_1.33.bb | 1 + recipes/e2fsprogs-libs/e2fsprogs-libs_1.34.bb | 2 +- recipes/e2fsprogs-libs/e2fsprogs-libs_1.35.bb | 4 +++- recipes/e2fsprogs-libs/e2fsprogs-libs_1.39.bb | 2 +- recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb | 4 ++-- recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb | 6 +++--- recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb | 16 ++++++++++++++++ .../util-linux-ng-2.16/uclibc-compile.patch | 13 +++++++++++++ recipes/util-linux-ng/util-linux-ng.inc | 4 ++-- recipes/util-linux-ng/util-linux-ng_2.16.bb | 11 +++++++++++ 12 files changed, 66 insertions(+), 19 deletions(-) create mode 100644 recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb create mode 100644 recipes/util-linux-ng/util-linux-ng-2.16/uclibc-compile.patch create mode 100644 recipes/util-linux-ng/util-linux-ng_2.16.bb
conf/checksums.ini +8 -0
@@ -5262,6 +5262,10 @@ sha256=2de57ec75aca127ec70c2797c1a416fca43d78e6cb5c8ee4938864cb8eaafb56 md5=c75f112d24bdc39c76dbec61d59a4a91 sha256=dc1eb1b7bbad2edc030e50e7506c79562d98098f99a5d6cb5db5aa5ca92ffe48 +[http://downloads.sourceforge.net/e2fsprogs/e2fsprogs-libs-1.41.8.tar.gz] +md5=bd28f2ccce2c14f06091e04fd1a0c67e +sha256=90428106333a38b93b6f4a306fff17749243862883a06598ff6e6ea11f8d24d2 + [http://www.pobox.com/~sheff/sw/e2tools/e2tools-0.0.16.tar.gz] md5=1829b2b261e0e0d07566066769b5b28b sha256=4e3c8e17786ccc03fc9fb4145724edf332bb50e1b3c91b6f33e0e3a54861949b
@@ -24250,6 +24254,10 @@ sha256=7736d8d7d3b39654e350416585b3e00af9f55670cce8b3dddd2c2494cbaae81c md5=71919b69eeecbba05612224d8f2c450f sha256=db4dcbf99d989a8f539d7521e9e64047367fa2ccdcbb91517cdec19693a41ffd +[http://kernel.org/pub/linux/utils/util-linux-ng/v2.16/util-linux-ng-2.16.tar.bz2] +md5=9623380641b0c2e0449f5b1ecc567663 +sha256=a6365fcb2b34439faa52164e1a018086c2b6818f8a189c487c79e09dc3c62722 + [http://xorg.freedesktop.org/releases/individual/util/util-macros-1.1.5.tar.bz2] md5=51952682d8b42aeda3af5cee0133ce2c sha256=75939790e16b8bcc122e83f3f060d6f000ed1a98e97b4972fac0903142f5651b
recipes/e2fsprogs-libs/e2fsprogs-libs.inc +5 -9
@@ -2,8 +2,9 @@ DESCRIPTION = "EXT2 Filesystem Utilities" LICENSE = "GPL" SECTION = "base" PRIORITY = "optional" +DEPENDS = "util-linux-ng" -inherit autotools pkgconfig +inherit autotools_stage pkgconfig SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://configure.patch;patch=1 \
@@ -13,6 +14,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ S = "${WORKDIR}/e2fsprogs-libs-${PV}" FILES_e2fsprogs-libs-dev_append = " ${datadir}/et ${datadir}/ss" FILES_${PN} = "${bindir}" +EXTRA_OECONF = "--disable-libblkid --disable-libuuid" python populate_packages_prepend () { e2fs_libdir = bb.data.expand('${libdir}', d)
@@ -24,18 +26,12 @@ python populate_packages_prepend () { } do_stage () { - for i in libcom_err libss libuuid libblkid; do + for i in libcom_err libss; do oe_libinstall -a -C lib $i ${STAGING_LIBDIR} done install -d ${STAGING_INCDIR}/et \ - ${STAGING_INCDIR}/ss \ - ${STAGING_INCDIR}/uuid \ - ${STAGING_INCDIR}/blkid + ${STAGING_INCDIR}/ss install -m 0644 lib/et/com_err.h ${STAGING_INCDIR}/et/ install -m 0644 lib/ss/ss.h ${STAGING_INCDIR}/ss/ install -m 0644 lib/ss/ss_err.h ${STAGING_INCDIR}/ss/ - install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/ - install -m 0644 lib/uuid/uuid_types.h ${STAGING_INCDIR}/uuid/ - install -m 0644 lib/blkid/blkid.h ${STAGING_INCDIR}/blkid/ - install -m 0644 lib/blkid/blkid_types.h ${STAGING_INCDIR}/blkid/ }
recipes/e2fsprogs-libs/e2fsprogs-libs_1.33.bb +1 -0
@@ -1 +1,2 @@ +PR = "r1" require e2fsprogs-libs.inc
recipes/e2fsprogs-libs/e2fsprogs-libs_1.34.bb +1 -1
@@ -1,5 +1,5 @@ require e2fsprogs-libs.inc - +PR = "r1" SRC_URI += "file://ldflags.patch;patch=1" do_compile_prepend () {
recipes/e2fsprogs-libs/e2fsprogs-libs_1.35.bb +3 -1
@@ -1,8 +1,10 @@ require e2fsprogs-libs.inc +PR = "r1" + SRC_URI += "file://ldflags.patch;patch=1" -EXTRA_OECONF=" --enable-elf-shlibs " +EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { find ./ -print|xargs chmod u=rwX
recipes/e2fsprogs-libs/e2fsprogs-libs_1.39.bb +1 -1
@@ -5,7 +5,7 @@ PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://configure.patch;patch=1" -EXTRA_OECONF=" --enable-elf-shlibs " +EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { find ./ -print|xargs chmod u=rwX
recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.2.bb +2 -2
@@ -1,6 +1,6 @@ require e2fsprogs-libs.inc -PR = "r1" +PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://mkinstalldirs.patch;patch=1 \
@@ -8,7 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ DEPENDS = "gettext-native" -EXTRA_OECONF=" --enable-elf-shlibs " +EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { find ./ -print|xargs chmod u=rwX
recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.5.bb +3 -3
@@ -1,12 +1,12 @@ require e2fsprogs-libs.inc - +PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ file://mkinstalldirs.patch;patch=1 \ " -DEPENDS = "gettext-native" +DEPENDS += "gettext-native" -EXTRA_OECONF=" --enable-elf-shlibs " +EXTRA_OECONF += " --enable-elf-shlibs " do_compile_prepend () { find ./ -print|xargs chmod u=rwX
recipes/e2fsprogs-libs/e2fsprogs-libs_1.41.8.bb new file +16 -0
@@ -0,0 +1,16 @@ +require e2fsprogs-libs.inc +SRC_URI = "${SOURCEFORGE_MIRROR}/e2fsprogs/e2fsprogs-libs-${PV}.tar.gz \ + " + +DEPENDS += "gettext-native" + +EXTRA_OECONF += " --enable-elf-shlibs " + +do_configure() { + oe_runconf +} + +do_compile_prepend () { + find ./ -print|xargs chmod u=rwX + ( cd util; ${BUILD_CC} subst.c -o subst ) +}
recipes/util-linux-ng/util-linux-ng-2.16/uclibc-compile.patch new file +13 -0
@@ -0,0 +1,13 @@ +Index: util-linux-ng-2.16/misc-utils/cal.c +=================================================================== +--- util-linux-ng-2.16.orig/misc-utils/cal.c 2009-07-03 16:20:01.000000000 -0700 ++++ util-linux-ng-2.16/misc-utils/cal.c 2009-07-18 23:21:37.000000000 -0700 +@@ -407,7 +407,7 @@ + strcpy(day_headings,""); + strcpy(j_day_headings,""); + +-#ifdef HAVE_LANGINFO_H ++#ifdef HAVE_LANGINFO_H && !defined(__UCLIBC__) + # define weekday(wd) nl_langinfo(ABDAY_1+wd) + #else + # define weekday(wd) _time_info->abbrev_wkday[wd]
recipes/util-linux-ng/util-linux-ng.inc +2 -2
@@ -1,14 +1,14 @@ DESCRIPTION = "Util-linux-ng is a suite of essential utilities for any Linux system." SECTION = "base" LICENSE = "GPL" -DEPENDS = "udev zlib ncurses virtual/libintl e2fsprogs-libs" +DEPENDS = "udev zlib ncurses virtual/libintl" inherit autotools_stage AUTOTOOLS_STAGE_PKGCONFIG = "1" DEFAULT_PREFERENCE = "-1" -INC_PR = "r6" +INC_PR = "r7" # allows for a release candidate RC ?= ""
recipes/util-linux-ng/util-linux-ng_2.16.bb new file +11 -0
@@ -0,0 +1,11 @@ +require util-linux-ng.inc + +PR = "${INC_PR}" + +SRC_URI += "file://uclibc-compile.patch;patch=1 \ +" + +EXTRA_OECONF += " --enable-libuuid --enable-libblkid \ + --disable-fsck" +LDFLAGS_append_libc-uclibc = " -lintl" +PACKAGES_DYNAMIC += "libuuid*"
Signature · 1 line
1.6.0.4