Upgrade util-linux and misc fixes
cover Upgrade util-linux and misc fixes
This patchset fixes libcgroup build failure
drops KERNEL_CC, this patch has been in my tree for a long time upgrades util-linux
The following changes since commit 99f003356be43bb361634359a5d3c520f72f0a08:
local.conf.sample: Enable disk space monitoring by default (2012-11-28 15:25:14 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/misc
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/misc
Khem Raj (3):
kernel.bbclass,module-base.bbclass: Use CC to form KERNEL_CC
util-linux: Update from 2.21 -> 2.22
libcgroup: Fix QA error about .so symlink
meta/classes/kernel-arch.bbclass | 13 +++++++++++++
meta/classes/kernel.bbclass | 16 +---------------
meta/classes/module-base.bbclass | 16 ----------------
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | 2 +-
meta/recipes-core/util-linux/util-linux.inc | 18 +++++++++++-------
.../util-linux/add-aarch64-support.patch | 4 ++--
.../util-linux/uclibc-__progname-conflict.patch | 14 +++++++-------
.../util-linux-ng-replace-siginterrupt.patch | 14 +++++++-------
.../{util-linux_2.21.2.bb => util-linux_2.22.bb} | 8 +++-----
9 files changed, 45 insertions(+), 60 deletions(-)
rename meta/recipes-core/util-linux/{util-linux_2.21.2.bb => util-linux_2.22.bb} (88%)Signature · 1 line
1.7.9.5
PATCH 1/3 kernel.bbclass, module-base.bbclass: Use CC to form KERNEL_CC
kernel compiler is not special and we currently have it so we want to pass -march and -mtune options as CFLAGS to kernel build so that compiler picks the right subarch flags when compiling assembly files in particular. Otherwise defaults are chosen which may not be right in many case e.g. when compiling kernel for collie machine we should use arch=armv4 but it uses toolchain/as defaults which is armv5te
in some case e.g. thumb1 we know that kernel can not be compiled in thumb1 mode so we can provide that information e.g. -marm option through KERNEL_HOST_CC_ARCH variable as we do now
--- meta/classes/kernel-arch.bbclass | 13 +++++++++++++ meta/classes/kernel.bbclass | 16 +--------------- meta/classes/module-base.bbclass | 16 ---------------- 3 files changed, 14 insertions(+), 31 deletions(-)
meta/classes/kernel-arch.bbclass +13 -0
@@ -43,3 +43,16 @@ def map_uboot_arch(a, d): export UBOOT_ARCH = "${@map_uboot_arch(d.getVar('ARCH', True), d)}" +# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture +# specific options necessary for building the kernel and modules. +TARGET_CC_KERNEL_ARCH ?= "" +HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}" +TARGET_LD_KERNEL_ARCH ?= "" +HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" +TARGET_AR_KERNEL_ARCH ?= "" +HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" + +KERNEL_CC = "${CC} ${HOST_CC_KERNEL_ARCH}" +KERNEL_LD = "${LD} ${HOST_LD_KERNEL_ARCH}" +KERNEL_AR = "${AR} ${HOST_AR_KERNEL_ARCH}" +
meta/classes/kernel.bbclass +1 -15
@@ -1,7 +1,7 @@ inherit linux-kernel-base module_strip PROVIDES += "virtual/kernel" -DEPENDS += "virtual/${TARGET_PREFIX}gcc kmod-native virtual/${TARGET_PREFIX}gcc${KERNEL_CCSUFFIX} update-modules" +DEPENDS += "virtual/${TARGET_PREFIX}gcc kmod-native update-modules" # we include gcc above, we dont need virtual/libc INHIBIT_DEFAULT_DEPS = "1"
@@ -37,20 +37,6 @@ KERNEL_PRIORITY ?= "${@int(d.getVar('PV',1).split('-')[0].split('+')[0].split('. KERNEL_RELEASE ?= "${KERNEL_VERSION}" -KERNEL_CCSUFFIX ?= "" -KERNEL_LDSUFFIX ?= "" - -# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture -# specific options necessary for building the kernel and modules. -#FIXME: should be this: TARGET_CC_KERNEL_ARCH ?= "${TARGET_CC_ARCH}" -TARGET_CC_KERNEL_ARCH ?= "" -HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}" -TARGET_LD_KERNEL_ARCH ?= "" -HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" - -KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" -KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}${TOOLCHAIN_OPTIONS}" - # Where built kernel lies in the kernel tree KERNEL_OUTPUT ?= "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}" KERNEL_IMAGEDEST = "boot"
meta/classes/module-base.bbclass +0 -16
@@ -7,22 +7,6 @@ export CROSS_COMPILE = "${TARGET_PREFIX}" export KERNEL_VERSION = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-abiversion')}" KERNEL_OBJECT_SUFFIX = ".ko" -KERNEL_CCSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ccsuffix')}" -KERNEL_LDSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-ldsuffix')}" -KERNEL_ARSUFFIX = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-arsuffix')}" - -# Set TARGET_??_KERNEL_ARCH in the machine .conf to set architecture -# specific options necessary for building the kernel and modules. -TARGET_CC_KERNEL_ARCH ?= "" -HOST_CC_KERNEL_ARCH ?= "${TARGET_CC_KERNEL_ARCH}" -TARGET_LD_KERNEL_ARCH ?= "" -HOST_LD_KERNEL_ARCH ?= "${TARGET_LD_KERNEL_ARCH}" -TARGET_AR_KERNEL_ARCH ?= "" -HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}" - -KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc${KERNEL_CCSUFFIX} ${HOST_CC_KERNEL_ARCH}" -KERNEL_LD = "${HOST_PREFIX}ld${KERNEL_LDSUFFIX} ${HOST_LD_KERNEL_ARCH}" -KERNEL_AR = "${HOST_PREFIX}ar${KERNEL_ARSUFFIX} ${HOST_AR_KERNEL_ARCH}" # kernel modules are generally machine specific PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.9.5
PATCH 2/3 util-linux: Update from 2.21 -> 2.22
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking.
2.22 did not solve that problem completely either
---
meta/recipes-core/util-linux/util-linux.inc | 18 +++++++++++-------
.../util-linux/add-aarch64-support.patch | 4 ++--
.../util-linux/uclibc-__progname-conflict.patch | 14 +++++++-------
.../util-linux-ng-replace-siginterrupt.patch | 14 +++++++-------
.../{util-linux_2.21.2.bb => util-linux_2.22.bb} | 8 +++-----
5 files changed, 30 insertions(+), 28 deletions(-)
rename meta/recipes-core/util-linux/{util-linux_2.21.2.bb => util-linux_2.22.bb} (88%)meta/recipes-core/util-linux/util-linux.inc +11 -7
@@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=9c920d811858a74b67a36ba23cbaa95f \ - file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ - file://Documentation/licenses/COPYING.GPLv2;md5=8ca43cbc842c2336e835926c2166c28b \ - file://Documentation/licenses/COPYING.LGPLv2.1;md5=bbb461211a33b134d42ed5ee802b37ff \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c \ file://Documentation/licenses/COPYING.BSD-3;md5=58dcd8452651fc8b07d1f65ce07ca8af \ - file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ - file://getopt/COPYING;md5=c3a41733416fb80af7ba1b7e1f712551" + file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262" inherit autotools gettext pkgconfig DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native" +DEPENDS_append_class-target = " libpam" SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ file://MCONFIG \
@@ -31,7 +31,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd 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-blkid \ - util-linux-mkfs util-linux-mcookie" + util-linux-mkfs util-linux-mcookie util-linux-systemd" EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ --disable-makeinstall-chown --enable-elvtune --enable-init \
@@ -42,6 +42,8 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ usrsbin_execdir='${sbindir}' \ " +EXTRA_OECONF_append_class-native = " --disable-login --disable-su" + FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" FILES_util-linux-agetty = "${base_sbindir}/agetty"
@@ -70,6 +72,8 @@ FILES_util-linux-blkid = "${base_sbindir}/blkid*" RCONFLICTS_util-linux-blkid = "e2fsprogs-blkid" RREPLACES_util-linux-blkid = "e2fsprogs-blkid" +FILES_${PN}-systemd = "${systemd_unitdir}/system/" + RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs "
@@ -80,7 +84,7 @@ do_compile () { set -e install ${WORKDIR}/MCONFIG ${S}/MCONFIG install ${WORKDIR}/make_include ${S}/make_include - install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h + install ${WORKDIR}/swapargs.h ${S}/mount-deprecated/swapargs.h install ${WORKDIR}/defines.h ${S}/defines.h oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}' }
meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch +2 -2
@@ -2,8 +2,8 @@ fdisk/fdiskbsdlabel.h | 1 + 1 file changed, 1 insertion(+) ---- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h -+++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h +--- util-linux-2.21.2.orig/fdisks/fdiskbsdlabel.h ++++ util-linux-2.21.2/fdisks/fdiskbsdlabel.h @@ -46,10 +46,11 @@ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
meta/recipes-core/util-linux/util-linux/uclibc-__progname-conflict.patch +7 -7
@@ -16,16 +16,16 @@ make[3]: *** [cache.lo] Error 1 Signed-off-by: Khem Raj <[email protected]> Upstream-Status: Pending -Index: util-linux-2.19.1/configure.ac +Index: util-linux-2.22/configure.ac =================================================================== ---- util-linux-2.19.1.orig/configure.ac -+++ util-linux-2.19.1/configure.ac -@@ -250,7 +250,7 @@ esac +--- util-linux-2.22.orig/configure.ac 2012-09-04 05:57:00.000000000 -0700 ++++ util-linux-2.22/configure.ac 2012-09-22 22:50:50.816612998 -0700 +@@ -377,7 +377,7 @@ AC_MSG_CHECKING(whether program_invocation_short_name is defined) -AC_TRY_COMPILE([#include <argp.h>], +AC_TRY_COMPILE([#include <errno.h>], - [program_invocation_short_name = "test";], - AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, - [Define if program_invocation_short_name is defined]) + [program_invocation_short_name = "test";], + AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, + [Define if program_invocation_short_name is defined])
meta/recipes-core/util-linux/util-linux/util-linux-ng-replace-siginterrupt.patch +7 -7
@@ -1,10 +1,10 @@ Upstream-Status: Pending -Index: util-linux-2.21/login-utils/login.c +Index: util-linux-2.22/login-utils/login.c =================================================================== ---- util-linux-2.21.orig/login-utils/login.c -+++ util-linux-2.21/login-utils/login.c -@@ -1216,6 +1216,8 @@ int main(int argc, char **argv) +--- util-linux-2.22.orig/login-utils/login.c 2012-07-23 14:21:56.000000000 -0700 ++++ util-linux-2.22/login-utils/login.c 2012-09-22 22:48:24.836621168 -0700 +@@ -1231,6 +1231,8 @@ char *buff; int childArgc = 0; int retcode;
@@ -13,14 +13,14 @@ Index: util-linux-2.21/login-utils/login.c char *pwdbuf = NULL; struct passwd *pwd = NULL, _pwd; -@@ -1229,7 +1231,9 @@ int main(int argc, char **argv) - timeout = getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); +@@ -1244,7 +1246,9 @@ + timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); signal(SIGALRM, timedout); - siginterrupt(SIGALRM, 1); /* we have to interrupt syscalls like ioclt() */ + (void) sigaction(SIGALRM, NULL, &act); + act.sa_flags &= ~SA_RESTART; + sigaction(SIGALRM, &act, NULL); - alarm((unsigned int)timeout); + alarm(timeout); signal(SIGQUIT, SIG_IGN); signal(SIGINT, SIG_IGN);
meta/recipes-core/util-linux/util-linux_2.22.bb renamed from meta/recipes-core/util-linux/util-linux_2.21.2.bb +3 -5
@@ -1,5 +1,4 @@ -MAJOR_VERSION = "2.21" -PR = "r6" +MAJOR_VERSION = "2.22" require util-linux.inc # note that `lscpu' is under GPLv3+
@@ -11,9 +10,8 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ file://configure-sbindir.patch \ file://add-aarch64-support.patch \ " - -SRC_URI[md5sum] = "b75b3cfecb943f74338382fde693c2c3" -SRC_URI[sha256sum] = "066f9d8e51bfabd809d266edcd54eefba1cdca57725b95c074fd47fe6fba3d30" +SRC_URI[md5sum] = "dff0d1a9e54fdfe72ab0b1beb9972a77" +SRC_URI[sha256sum] = "ecfc889dd8cbdb7c82ba56747ae7a394682b4b8623c4e6205a8da2d93fd08aec" # Only lscpu part is gplv3; rest of the code is not, # so take out the lscpu parts while running non-gplv3 build.
Signature · 1 line
1.7.9.5
Re: [PATCH 2/3] util-linux: Update from 2.21 -> 2.22
Quoted 5 lines · Khem Raj
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking.
2.22 did not solve that problem completely either
Khem,
I also had a util-linux update patch pending, in reviewing your, it looks like we solved different issues!
I had some issues with the configure-sbindir test and had to add a patch for libdir prefixes for the -native variant not getting installed correctly.
Also the Aarch64 patch seems like it could go way completely.
I will look at merging our work.
Sau!
Quoted 179 lines
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/util-linux/util-linux.inc | 18 +++++++++++------- .../util-linux/add-aarch64-support.patch | 4 ++-- .../util-linux/uclibc-__progname-conflict.patch | 14 +++++++------- .../util-linux-ng-replace-siginterrupt.patch | 14 +++++++------- .../{util-linux_2.21.2.bb => util-linux_2.22.bb} | 8 +++----- 5 files changed, 30 insertions(+), 28 deletions(-)rename meta/recipes-core/util-linux/{util-linux_2.21.2.bb => util-linux_2.22.bb} (88%)
meta/recipes-core/util-linux/util-linux.inc +11
-7@@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=9c920d811858a74b67a36ba23cbaa95f \ - file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ - file://Documentation/licenses/COPYING.GPLv2;md5=8ca43cbc842c2336e835926c2166c28b \ - file://Documentation/licenses/COPYING.LGPLv2.1;md5=bbb461211a33b134d42ed5ee802b37ff \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c \ file://Documentation/licenses/COPYING.BSD-3;md5=58dcd8452651fc8b07d1f65ce07ca8af \ - file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ - file://getopt/COPYING;md5=c3a41733416fb80af7ba1b7e1f712551" + file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262" inherit autotools gettext pkgconfig DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native" +DEPENDS_append_class-target = " libpam" SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ file://MCONFIG \@@ -31,7 +31,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd 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-blkid \ - util-linux-mkfs util-linux-mcookie"b981a734edad4bb7afb5f88edfd32d504c9264be + util-linux-mkfs util-linux-mcookie util-linux-systemd" EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ --disable-makeinstall-chown --enable-elvtune --enable-init \@@ -42,6 +42,8 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ usrsbin_execdir='${sbindir}' \ " +EXTRA_OECONF_append_class-native = " --disable-login --disable-su" + FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" FILES_util-linux-agetty = "${base_sbindir}/agetty"@@ -70,6 +72,8 @@ FILES_util-linux-blkid = "${base_sbindir}/blkid*" RCONFLICTS_util-linux-blkid = "e2fsprogs-blkid" RREPLACES_util-linux-blkid = "e2fsprogs-blkid" +FILES_${PN}-systemd = "${systemd_unitdir}/system/" + RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs "@@ -80,7 +84,7 @@ do_compile () { set -e install ${WORKDIR}/MCONFIG ${S}/MCONFIG install ${WORKDIR}/make_include ${S}/make_include - install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h + install ${WORKDIR}/swapargs.h ${S}/mount-deprecated/swapargs.h install ${WORKDIR}/defines.h ${S}/defines.h oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}' }meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch +2
-2@@ -2,8 +2,8 @@ fdisk/fdiskbsdlabel.h | 1 + 1 file changed, 1 insertion(+) ---- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h -+++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h +--- util-linux-2.21.2.orig/fdisks/fdiskbsdlabel.h ++++ util-linux-2.21.2/fdisks/fdiskbsdlabel.h @@ -46,10 +46,11 @@ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"meta/recipes-core/util-linux/util-linux/uclibc-__progname-conflict.patch +7
-7@@ -16,16 +16,16 @@ make[3]: *** [cache.lo] Error 1 Signed-off-by: Khem Raj <[email protected]> Upstream-Status: Pending -Index: util-linux-2.19.1/configure.ac +Index: util-linux-2.22/configure.ac =================================================================== ---- util-linux-2.19.1.orig/configure.ac -+++ util-linux-2.19.1/configure.ac -@@ -250,7 +250,7 @@ esac +--- util-linux-2.22.orig/configure.ac 2012-09-04 05:57:00.000000000 -0700 ++++ util-linux-2.22/configure.ac 2012-09-22 22:50:50.816612998 -0700 +@@ -377,7 +377,7 @@ AC_MSG_CHECKING(whether program_invocation_short_name is defined) -AC_TRY_COMPILE([#include <argp.h>], +AC_TRY_COMPILE([#include <errno.h>], - [program_invocation_short_name = "test";], - AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, - [Define if program_invocation_short_name is defined]) + [program_invocation_short_name = "test";], + AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, + [Define if program_invocation_short_name is defined])meta/recipes-core/util-linux/util-linux/util-linux-ng-replace-siginterrupt.patch +7
-7@@ -1,10 +1,10 @@ Upstream-Status: Pending -Index: util-linux-2.21/login-utils/login.c +Index: util-linux-2.22/login-utils/login.c =================================================================== ---- util-linux-2.21.orig/login-utils/login.c -+++ util-linux-2.21/login-utils/login.c -@@ -1216,6 +1216,8 @@ int main(int argc, char **argv) +--- util-linux-2.22.orig/login-utils/login.c 2012-07-23 14:21:56.000000000 -0700 ++++ util-linux-2.22/login-utils/login.c 2012-09-22 22:48:24.836621168 -0700 +@@ -1231,6 +1231,8 @@ char *buff; int childArgc = 0; int retcode;@@ -13,14 +13,14 @@ Index: util-linux-2.21/login-utils/login.c char *pwdbuf = NULL; struct passwd *pwd = NULL, _pwd; -@@ -1229,7 +1231,9 @@ int main(int argc, char **argv) - timeout = getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); +@@ -1244,7 +1246,9 @@ + timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); signal(SIGALRM, timedout); - siginterrupt(SIGALRM, 1); /* we have to interrupt syscalls like ioclt() */ + (void) sigaction(SIGALRM, NULL, &act); + act.sa_flags &= ~SA_RESTART; + sigaction(SIGALRM, &act, NULL); - alarm((unsigned int)timeout); + alarm(timeout); signal(SIGQUIT, SIG_IGN); signal(SIGINT, SIG_IGN);meta/recipes-core/util-linux/util-linux_2.22.bb renamed from meta/recipes-core/util-linux/util-linux_2.21.2.bb +3
-5@@ -1,5 +1,4 @@ -MAJOR_VERSION = "2.21" -PR = "r6" +MAJOR_VERSION = "2.22" require util-linux.inc # note that `lscpu' is under GPLv3+@@ -11,9 +10,8 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ file://configure-sbindir.patch \ file://add-aarch64-support.patch \ " - -SRC_URI[md5sum] = "b75b3cfecb943f74338382fde693c2c3" -SRC_URI[sha256sum] = "066f9d8e51bfabd809d266edcd54eefba1cdca57725b95c074fd47fe6fba3d30" +SRC_URI[md5sum] = "dff0d1a9e54fdfe72ab0b1beb9972a77" +SRC_URI[sha256sum] = "ecfc889dd8cbdb7c82ba56747ae7a394682b4b8623c4e6205a8da2d93fd08aec" # Only lscpu part is gplv3; rest of the code is not, # so take out the lscpu parts while running non-gplv3 build.
Re: [PATCH 2/3] util-linux: Update from 2.21 -> 2.22
In reply to Khem RajQuoted 29 lines · Khem Raj
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking.
2.22 did not solve that problem completely either
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/util-linux/util-linux.inc | 18 +++++++++++------- .../util-linux/add-aarch64-support.patch | 4 ++-- .../util-linux/uclibc-__progname-conflict.patch | 14 +++++++------- .../util-linux-ng-replace-siginterrupt.patch | 14 +++++++------- .../{util-linux_2.21.2.bb => util-linux_2.22.bb} | 8 +++----- 5 files changed, 30 insertions(+), 28 deletions(-)rename meta/recipes-core/util-linux/{util-linux_2.21.2.bb => util-linux_2.22.bb} (88%)
meta/recipes-core/util-linux/util-linux.inc +3
-3@@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=9c920d811858a74b67a36ba23cbaa95f \ - file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ - file://Documentation/licenses/COPYING.GPLv2;md5=8ca43cbc842c2336e835926c2166c28b \ - file://Documentation/licenses/COPYING.LGPLv2.1;md5=bbb461211a33b134d42ed5ee802b37ff \ + file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ + file://Documentation/licenses/COPYING.LGPLv2.1;md5=4fbd65380cdd255951079008b364516c \
meta/recipes-core/util-linux/util-linux.inc SECTION = "base" · line 21
Quoted 10 lines
meta/recipes-core/util-linux/util-linux.inc +2
-2file://Documentation/licenses/COPYING.BSD-3;md5=58dcd8452651fc8b07d1f65ce07ca8af \ - file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262 \ - file://getopt/COPYING;md5=c3a41733416fb80af7ba1b7e1f712551" + file://Documentation/licenses/COPYING.UCB;md5=263860f8968d8bafa5392cab74285262" inherit autotools gettext pkgconfig DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native" +DEPENDS_append_class-target = " libpam"
Forgot to ask in my other email, why the dependency on libpam here? Should this not be under a check for pam in DISTRO_FEATURES?
Sau!
Quoted 145 lines
meta/recipes-core/util-linux/util-linux.inc +6
-2SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-linux-${PV}.tar.bz2 \ file://MCONFIG \@@ -31,7 +31,7 @@ PACKAGES =+ "util-linux-agetty util-linux-fdisk util-linux-cfdisk util-linux-sfd 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-blkid \ - util-linux-mkfs util-linux-mcookie" + util-linux-mkfs util-linux-mcookie util-linux-systemd" EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ --disable-makeinstall-chown --enable-elvtune --enable-init \@@ -42,6 +42,8 @@ EXTRA_OECONF = "--libdir=${base_libdir} --disable-use-tty-group \ usrsbin_execdir='${sbindir}' \ " +EXTRA_OECONF_append_class-native = " --disable-login --disable-su" + FILES_${PN}-doc += "${datadir}/getopt/getopt-*.*" FILES_util-linux-agetty = "${base_sbindir}/agetty"@@ -70,6 +72,8 @@ FILES_util-linux-blkid = "${base_sbindir}/blkid*" RCONFLICTS_util-linux-blkid = "e2fsprogs-blkid" RREPLACES_util-linux-blkid = "e2fsprogs-blkid" +FILES_${PN}-systemd = "${systemd_unitdir}/system/" + RDEPENDS_${PN} = "util-linux-umount util-linux-swaponoff util-linux-losetup" RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-mount util-linux-readprofile util-linux-mkfs "@@ -80,7 +84,7 @@ do_compile () { set -e install ${WORKDIR}/MCONFIG ${S}/MCONFIG install ${WORKDIR}/make_include ${S}/make_include - install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h + install ${WORKDIR}/swapargs.h ${S}/mount-deprecated/swapargs.h install ${WORKDIR}/defines.h ${S}/defines.h oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}' }meta/recipes-core/util-linux/util-linux/add-aarch64-support.patch +2
-2@@ -2,8 +2,8 @@ fdisk/fdiskbsdlabel.h | 1 + 1 file changed, 1 insertion(+) ---- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h -+++ util-linux-2.21.2/fdisk/fdiskbsdlabel.h +--- util-linux-2.21.2.orig/fdisks/fdiskbsdlabel.h ++++ util-linux-2.21.2/fdisks/fdiskbsdlabel.h @@ -46,10 +46,11 @@ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"meta/recipes-core/util-linux/util-linux/uclibc-__progname-conflict.patch +7
-7@@ -16,16 +16,16 @@ make[3]: *** [cache.lo] Error 1 Signed-off-by: Khem Raj <[email protected]> Upstream-Status: Pending -Index: util-linux-2.19.1/configure.ac +Index: util-linux-2.22/configure.ac =================================================================== ---- util-linux-2.19.1.orig/configure.ac -+++ util-linux-2.19.1/configure.ac -@@ -250,7 +250,7 @@ esac +--- util-linux-2.22.orig/configure.ac 2012-09-04 05:57:00.000000000 -0700 ++++ util-linux-2.22/configure.ac 2012-09-22 22:50:50.816612998 -0700 +@@ -377,7 +377,7 @@ AC_MSG_CHECKING(whether program_invocation_short_name is defined) -AC_TRY_COMPILE([#include <argp.h>], +AC_TRY_COMPILE([#include <errno.h>], - [program_invocation_short_name = "test";], - AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, - [Define if program_invocation_short_name is defined]) + [program_invocation_short_name = "test";], + AC_DEFINE(HAVE_PROGRAM_INVOCATION_SHORT_NAME, 1, + [Define if program_invocation_short_name is defined])meta/recipes-core/util-linux/util-linux/util-linux-ng-replace-siginterrupt.patch +7
-7@@ -1,10 +1,10 @@ Upstream-Status: Pending -Index: util-linux-2.21/login-utils/login.c +Index: util-linux-2.22/login-utils/login.c =================================================================== ---- util-linux-2.21.orig/login-utils/login.c -+++ util-linux-2.21/login-utils/login.c -@@ -1216,6 +1216,8 @@ int main(int argc, char **argv) +--- util-linux-2.22.orig/login-utils/login.c 2012-07-23 14:21:56.000000000 -0700 ++++ util-linux-2.22/login-utils/login.c 2012-09-22 22:48:24.836621168 -0700 +@@ -1231,6 +1231,8 @@ char *buff; int childArgc = 0; int retcode;@@ -13,14 +13,14 @@ Index: util-linux-2.21/login-utils/login.c char *pwdbuf = NULL; struct passwd *pwd = NULL, _pwd; -@@ -1229,7 +1231,9 @@ int main(int argc, char **argv) - timeout = getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); +@@ -1244,7 +1246,9 @@ + timeout = (unsigned int)getlogindefs_num("LOGIN_TIMEOUT", LOGIN_TIMEOUT); signal(SIGALRM, timedout); - siginterrupt(SIGALRM, 1); /* we have to interrupt syscalls like ioclt() */ + (void) sigaction(SIGALRM, NULL, &act); + act.sa_flags &= ~SA_RESTART; + sigaction(SIGALRM, &act, NULL); - alarm((unsigned int)timeout); + alarm(timeout); signal(SIGQUIT, SIG_IGN); signal(SIGINT, SIG_IGN);meta/recipes-core/util-linux/util-linux_2.22.bb renamed from meta/recipes-core/util-linux/util-linux_2.21.2.bb +3
-5@@ -1,5 +1,4 @@ -MAJOR_VERSION = "2.21" -PR = "r6" +MAJOR_VERSION = "2.22" require util-linux.inc # note that `lscpu' is under GPLv3+@@ -11,9 +10,8 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \ file://configure-sbindir.patch \ file://add-aarch64-support.patch \ " - -SRC_URI[md5sum] = "b75b3cfecb943f74338382fde693c2c3" -SRC_URI[sha256sum] = "066f9d8e51bfabd809d266edcd54eefba1cdca57725b95c074fd47fe6fba3d30" +SRC_URI[md5sum] = "dff0d1a9e54fdfe72ab0b1beb9972a77" +SRC_URI[sha256sum] = "ecfc889dd8cbdb7c82ba56747ae7a394682b4b8623c4e6205a8da2d93fd08aec" # Only lscpu part is gplv3; rest of the code is not, # so take out the lscpu parts while running non-gplv3 build.
Re: [PATCH 2/3] util-linux: Update from 2.21 -> 2.22
Quoted 50 lines · Saul Wold
2.21 has some linking issues with gold on uclibc where mount
Quoted 49 lines
program does not work. Its some sort of underlinking.
2.22 did not solve that problem completely either
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/util-linux/**util-linux.inc | 18 +++++++++++------- .../util-linux/add-aarch64-**support.patch | 4 ++-- .../util-linux/uclibc-__**progname-conflict.patch | 14 +++++++------- .../util-linux-ng-replace-**siginterrupt.patch | 14 +++++++------- .../{util-linux_2.21.2.bb => util-linux_2.22.bb} | 8 +++----- 5 files changed, 30 insertions(+), 28 deletions(-)rename meta/recipes-core/util-linux/{**util-linux_2.21.2.bb<http://util-linux_2.21.2.bb>=>
util-linux_2.22.bb} (88%)meta/recipes-core/util-**linux/util-linux.inc +3
-4@@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=** 9c920d811858a74b67a36ba23cbaa9**5f \ - file://COPYING;md5=**59530bdf33659b29e73d4adb9f9f65* *52 \ - file://Documentation/licenses/**COPYING.GPLv2;md5=** 8ca43cbc842c2336e835926c2166c2**8b \ - file://Documentation/licenses/** COPYING.LGPLv2.1;md5=**bbb461211a33b134d42ed5ee802b37**ff \ + file://COPYING;md5=**b234ee4d69f5fce4486a80fdaf4a42* *63 \ + file://Documentation/licenses/**COPYING.GPLv2;md5=** b234ee4d69f5fce4486a80fdaf4a42**63 \ + file://Documentation/licenses/** COPYING.LGPLv2.1;md5=**4fbd65380cdd255951079008b36451**6c \ file://Documentation/licenses/**COPYING.BSD-3;md5=* *58dcd8452651fc8b07d1f65ce07ca8**af \ - file://Documentation/licenses/**COPYING.UCB;md5=**263860f8968d8bafa5392cab742852**62 \
- file://getopt/COPYING;md5=**
c3a41733416fb80af7ba1b7e1f7125**51"
+ file://Documentation/licenses/**COPYING.UCB;md5=**
263860f8968d8bafa5392cab742852**62"
Quoted 8 lines
Quoted 6 lines
inherit autotools gettext pkgconfig
DEPENDS = "zlib ncurses"
DEPENDS_append_class-native = " lzo-native"
+DEPENDS_append_class-target = " libpam"Forgot to ask in my other email, why the dependency on libpam here? Should this not be under a check for pam in
DISTRO_FEATURES?
it did not build without pam. Try it out may be I was wrong.
Re: [PATCH 2/3] util-linux: Update from 2.21 -> 2.22
Quoted 69 lines · Khem Raj
On Sun, Dec 2, 2012 at 8:37 PM, Saul Wold <[email protected] <mailto:[email protected]>> wrote:
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking. 2.22 did not solve that problem completely either Signed-off-by: Khem Raj <[email protected] <mailto:[email protected]>> --- meta/recipes-core/util-linux/__util-linux.inc | 18 +++++++++++------- .../util-linux/add-aarch64-__support.patch | 4 ++-- .../util-linux/uclibc-____progname-conflict.patch | 14 +++++++------- .../util-linux-ng-replace-__siginterrupt.patch | 14 +++++++------- .../{util-linux_2.21.2.bb <http://util-linux_2.21.2.bb> => util-linux_2.22.bb <http://util-linux_2.22.bb>} | 8 +++----- 5 files changed, 30 insertions(+), 28 deletions(-) rename meta/recipes-core/util-linux/{__util-linux_2.21.2.bb <http://util-linux_2.21.2.bb> => util-linux_2.22.bb <http://util-linux_2.22.bb>} (88%) diff --git a/meta/recipes-core/util-__linux/util-linux.inc b/meta/recipes-core/util-__linux/util-linux.inc index f2f9a04..00b332a 100644 --- a/meta/recipes-core/util-__linux/util-linux.inc +++ b/meta/recipes-core/util-__linux/util-linux.inc @@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=__9c920d811858a74b67a36ba23cbaa9__5f \ - file://COPYING;md5=__59530bdf33659b29e73d4adb9f9f65__52 \ - file://Documentation/licenses/__COPYING.GPLv2;md5=__8ca43cbc842c2336e835926c2166c2__8b \ - file://Documentation/licenses/__COPYING.LGPLv2.1;md5=__bbb461211a33b134d42ed5ee802b37__ff \ + file://COPYING;md5=__b234ee4d69f5fce4486a80fdaf4a42__63 \ + file://Documentation/licenses/__COPYING.GPLv2;md5=__b234ee4d69f5fce4486a80fdaf4a42__63 \ + file://Documentation/licenses/__COPYING.LGPLv2.1;md5=__4fbd65380cdd255951079008b36451__6c \ file://Documentation/licenses/__COPYING.BSD-3;md5=__58dcd8452651fc8b07d1f65ce07ca8__af \ - file://Documentation/licenses/__COPYING.UCB;md5=__263860f8968d8bafa5392cab742852__62 \ - file://getopt/COPYING;md5=__c3a41733416fb80af7ba1b7e1f7125__51" + file://Documentation/licenses/__COPYING.UCB;md5=__263860f8968d8bafa5392cab742852__62" inherit autotools gettext pkgconfig DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native" +DEPENDS_append_class-target = " libpam" Forgot to ask in my other email, why the dependency on libpam here? Should this not be under a check for pam in DISTRO_FEATURES?
Quoted 1 line
it did not build without pam. Try it out may be I was wrong.
Seemed to work fine for me with Poky, was this a non-distro setting?
Sau!
Re: [PATCH 2/3] util-linux: Update from 2.21 -> 2.22
I always build with OE-core standalone
Quoted 92 lines · Saul Wold
Quoted 78 lines · Khem Raj
On Sun, Dec 2, 2012 at 8:37 PM, Saul Wold <[email protected] <mailto:[email protected]>> wrote:
2.21 has some linking issues with gold on uclibc where mount program does not work. Its some sort of underlinking.
2.22 did not solve that problem completely either
Signed-off-by Khem Raj <[email protected]<mailto:[email protected]>>
---
meta/recipes-core/util-linux/_**_util-linux.inc | 18
+++++++++++-------
.../util-linux/add-aarch64-__**support.patch| 4
++--.../util-linux/uclibc-____**progname-conflict.patch | 14 +++++++------- .../util-linux-ng-replace-__**siginterrupt.patch | 14 +++++++------- .../{util-linux_2.21.2.bb <http://util-linux_2.21.2.bb> => util-linux_2.22.bb <http://util-linux_2.22.bb>} | 8 +++----- 5 files changed, 30 insertions(+), 28 deletions(-) rename meta/recipes-core/util-linux/{**__util-linux_2.21.2.bb <http://util-linux_2.21.2.bb> => util-linux_2.22.bb <http://util-linux_2.22.bb>} (88%) diff --git a/meta/recipes-core/util-__**linux/util-linux.inc b/meta/recipes-core/util-__**linux/util-linux.inc index f2f9a04..00b332a 100644 --- a/meta/recipes-core/util-__**linux/util-linux.inc +++ b/meta/recipes-core/util-__**linux/util-linux.inc @@ -8,16 +8,16 @@ SECTION = "base" LICENSE = "GPLv2+ & LGPLv2.1+ & BSD" LIC_FILES_CHKSUM = "file://README.licensing;md5=_**_**9c920d811858a74b67a36ba23cbaa9 **__5f \ - file://COPYING;md5=__**59530bdf33659b29e73d4adb9f9f65**__52 \ - file://Documentation/licenses/**__COPYING.GPLv2;md5=__** 8ca43cbc842c2336e835926c2166c2**__8b \ - file://Documentation/licenses/**__COPYING.LGPLv2.1;md5=__** bbb461211a33b134d42ed5ee802b37**__ff \ + file://COPYING;md5=__**b234ee4d69f5fce4486a80fdaf4a42**__63 \ + file://Documentation/licenses/**__COPYING.GPLv2;md5=__** b234ee4d69f5fce4486a80fdaf4a42**__63 \ + file://Documentation/licenses/**__COPYING.LGPLv2.1;md5=__**4fbd65380cdd255951079008b36451**__6c \
file://Documentation/licenses/**__COPYING.BSD-3;md5=__** 58dcd8452651fc8b07d1f65ce07ca8**__af \ - file://Documentation/licenses/**__COPYING.UCB;md5=__** 263860f8968d8bafa5392cab742852**__62 \ - file://getopt/COPYING;md5=__**c3a41733416fb80af7ba1b7e1f7125** __51" + file://Documentation/licenses/**__COPYING.UCB;md5=__**263860f8968d8bafa5392cab742852**__62"
inherit autotools gettext pkgconfig DEPENDS = "zlib ncurses" DEPENDS_append_class-native = " lzo-native"
+DEPENDS_append_class-target = " libpam"Quoted 6 lines
Forgot to ask in my other email, why the dependency on libpam here? Should this not be under a check for pam in
DISTRO_FEATURES?it did not build without pam. Try it out may be I was wrong.
Seemed to work fine for me with Poky, was this a non-distro setting?
Sau!
PATCH 3/3 libcgroup: Fix QA error about .so symlink
In reply to Khem RajERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
cgroups-pam-plugin path '/work/x86_64-angstrom-linux/libcgroup/0.37.1-r1/packages-split/cgroups-pam-plugin/lib/security/pam_cgroup.so'
ERROR: QA run found fatal errors. Please consider fixing them.
--- meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb +1 -1
@@ -24,4 +24,4 @@ FILES_${PN}-dbg += "${base_libdir}/security/.debug" FILES_${PN}-dev += "${base_libdir}/security/*.la" # We really need the symlink so :( -INSANE_SKIP_${PN} = "dev-so" +INSANE_SKIP_cgroups-pam-plugin = "dev-so"
Signature · 1 line
1.7.9.5
Re: [PATCH 3/3] libcgroup: Fix QA error about .so symlink
Quoted 17 lines · On Sunday 02 December 2012 12:45:07 Khem Raj wrote:
ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
cgroups-pam-plugin path '/work/x86_64-angstrom-linux/libcgroup/0.37.1-r1/packages-split/cgroups-pam- plugin/lib/security/pam_cgroup.so' ERROR: QA run found fatal errors. Please consider fixing them.Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb index 3ef1dad..7ac782b 100644
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb FILES_${PN}-dbg += "${base_libdir}/security/.debug" · line 27
Quoted 5 lines
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb +1
-1@@ -24,4 +24,4 @@ FILES_${PN}-dbg += "${base_libdir}/security/.debug" FILES_${PN}-dev += "${base_libdir}/security/*.la" # We really need the symlink so :( -INSANE_SKIP_${PN} = "dev-so" +INSANE_SKIP_cgroups-pam-plugin = "dev-so"
FWIW, Martin already sent this patch.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [PATCH 3/3] libcgroup: Fix QA error about .so symlink
Quoted 20 lines · Paul Eggleton
Quoted 19 lines · On Sunday 02 December 2012 12:45:07 Khem Raj wrote:
ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
cgroups-pam-plugin path '/work/x86_64-angstrom-linux/libcgroup/0.37.1-r1/packages-split/cgroups-pam- plugin/lib/security/pam_cgroup.so' ERROR: QA run found fatal errors. Please consider fixing them.Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/libcgroup/libcgroup_0.37.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)(quoted diff) +0
-0b/meta/recipes-core/libcgroup/libcgroup_0.37.1.bb index 3ef1dad..7ac782b 100644
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb +0
-0@@ -24,4 +24,4 @@ FILES_${PN}-dbg += "${base_libdir}/security/.debug" FILES_${PN}-dev += "${base_libdir}/security/*.la"
Quoted 6 lines
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb FILES_${PN}-dbg += "${base_libdir}/security/.debug" · line 27
Quoted 3 lines
meta/recipes-core/libcgroup/libcgroup_0.37.1.bb +1
-1# We really need the symlink so :( -INSANE_SKIP_${PN} = "dev-so" +INSANE_SKIP_cgroups-pam-plugin = "dev-so"FWIW, Martin already sent this patch.
Patch is pending.
Sau!
Quoted 3 lines
Cheers,
Paul
Re: [PATCH 3/3] libcgroup: Fix QA error about .so symlink
In reply to Paul EggletonOn Sun, Dec 2, 2012 at 3:26 PM, Paul Eggleton <[email protected]
Quoted 3 lines
wrote:
FWIW, Martin already sent this patch.
OK as long as it gets fixed.