eglibc: Update SRC_URI and fix unpackaged empty dir
PATCH 1/1 eglibc: Update SRC_URI and fix unpackaged empty dir
eglibc 2.18 has now been branched out so point to new tarballs
--- meta/recipes-core/eglibc/cross-localedef-native_2.18.bb | 6 +++--- meta/recipes-core/eglibc/eglibc-package.inc | 4 ++++ meta/recipes-core/eglibc/eglibc_2.18.bb | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-)
meta/recipes-core/eglibc/cross-localedef-native_2.18.bb +3 -3
@@ -16,11 +16,11 @@ inherit autotools # pick up an eglibc patch FILESPATH = "${FILE_DIRNAME}/eglibc-${PV}" -SRC_URI = "http://sakrah.dontexist.org/files/eglibc-${PV}-svnr23532.tar.bz2 \ +SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23787.tar.bz2 \ file://fix_for_centos_5.8.patch;patchdir=.. \ " -SRC_URI[md5sum] = "8c83078851c44089a019c626d51c51bb" -SRC_URI[sha256sum] = "ecd3167d7d417c05b10ea7ab8e3acbc05f4bc2b389b6fae9c186bc0fd34c3ff1" +SRC_URI[md5sum] = "b395b021422a027d89884992e91734fc" +SRC_URI[sha256sum] = "15f564b45dc5dd65faf0875579e3447961ae61e876933384ae05d19328539ad4" S = "${WORKDIR}/eglibc-${PV}/localedef"
meta/recipes-core/eglibc/eglibc-package.inc +4 -0
@@ -76,6 +76,10 @@ do_install_append () { rm -f ${D}${sysconfdir}/localtime rm -rf ${D}${localstatedir} + # remove empty eglibc dir + if [ -d ${D}${libdir}/eglibc ]; then + rmdir ${D}${libdir}/eglibc + fi oe_multilib_header bits/syscall.h if [ -f ${D}${bindir}/mtrace ]; then
meta/recipes-core/eglibc/eglibc_2.18.bb +3 -3
@@ -2,7 +2,7 @@ require eglibc.inc DEPENDS += "gperf-native kconfig-frontends-native" -SRC_URI = "http://sakrah.dontexist.org/files/eglibc-${PV}-svnr23532.tar.bz2 \ +SRC_URI = "http://downloads.yoctoproject.org/releases/eglibc/eglibc-${PV}-svnr23787.tar.bz2 \ file://eglibc-svn-arm-lowlevellock-include-tls.patch \ file://IO-acquire-lock-fix.patch \ file://mips-rld-map-check.patch \
@@ -27,8 +27,8 @@ SRC_URI = "http://sakrah.dontexist.org/files/eglibc-${PV}-svnr23532.tar.bz2 \ file://0001-eglibc-run-libm-err-tab.pl-with-specific-dirs-in-S.patch \ file://fix-tibetian-locales.patch \ " -SRC_URI[md5sum] = "8c83078851c44089a019c626d51c51bb" -SRC_URI[sha256sum] = "ecd3167d7d417c05b10ea7ab8e3acbc05f4bc2b389b6fae9c186bc0fd34c3ff1" +SRC_URI[md5sum] = "b395b021422a027d89884992e91734fc" +SRC_URI[sha256sum] = "15f564b45dc5dd65faf0875579e3447961ae61e876933384ae05d19328539ad4" LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ file://COPYING;md5=393a5ca445f6965873eca0259a17f833 \
Signature · 1 line
1.8.3.4
Hi,
Quoted 5 lines · Khem Raj
meta/recipes-core/eglibc/eglibc-package.inc +0
-0
meta/recipes-core/eglibc/eglibc-package.inc do_install_append () { · line 85
Quoted 10 lines
meta/recipes-core/eglibc/eglibc-package.inc +4
-0@@ -76,6 +76,10 @@ do_install_append () { rm -f ${D}${sysconfdir}/localtime rm -rf ${D}${localstatedir} + # remove empty eglibc dir + if [ -d ${D}${libdir}/eglibc ]; then + rmdir ${D}${libdir}/eglibc + fi oe_multilib_header bits/syscall.h if [ -f ${D}${bindir}/mtrace ]; then
This breaks in the case the directory exists and is not empty - which is the case when you build with eglibc-2.17. In that case there is a pt_chown binary. pt_chown is deprecated since devpts was invented, and now removed in 2.18.
Riku
Quoted 17 lines · Riku Voipio
Hi,
Quoted 14 lines · Khem Raj
meta/recipes-core/eglibc/eglibc-package.inc +4
-0@@ -76,6 +76,10 @@ do_install_append () { rm -f ${D}${sysconfdir}/localtime rm -rf ${D}${localstatedir} + # remove empty eglibc dir + if [ -d ${D}${libdir}/eglibc ]; then + rmdir ${D}${libdir}/eglibc + fi oe_multilib_header bits/syscall.h
Quoted 6 lines
meta/recipes-core/eglibc/eglibc-package.inc do_install_append () { · line 85
Quoted 1 line
meta/recipes-core/eglibc/eglibc-package.inc +0
-0if [ -f ${D}${bindir}/mtrace ]; thenThis breaks in the case the directory exists and is not empty - which is the case when you build with eglibc-2.17. In that case there is a
pt_chownbinary.pt_chownis deprecated since devpts was invented, and now removed in 2.18.
Can we use just
rmdir --ignore-fail-on-non-empty ${D}${libdir}/eglibc ?
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 25 lines · Martin Jansa
Quoted 17 lines · Riku Voipio
Hi,
Quoted 14 lines · Khem Raj
meta/recipes-core/eglibc/eglibc-package.inc +4
-0@@ -76,6 +76,10 @@ do_install_append () { rm -f ${D}${sysconfdir}/localtime rm -rf ${D}${localstatedir} + # remove empty eglibc dir + if [ -d ${D}${libdir}/eglibc ]; then + rmdir ${D}${libdir}/eglibc + fi oe_multilib_header bits/syscall.hQuoted 6 lines
meta/recipes-core/eglibc/eglibc-package.inc do_install_append () { · line 85
Quoted 1 line
meta/recipes-core/eglibc/eglibc-package.inc +0
-0if [ -f ${D}${bindir}/mtrace ]; thenThis breaks in the case the directory exists and is not empty - which is the case when you build with eglibc-2.17. In that case there is a
pt_chownbinary.pt_chownis deprecated since devpts was invented, and now removed in 2.18.
Quoted 3 lines
Can we use just
rmdir --ignore-fail-on-non-empty ${D}${libdir}/eglibc ?
yes however the reason to not use it in first place was to catch these kind of issues.
Quoted 3 lines
Signature · 2 lines
-- Martin 'JaMa' Jansa jabber: [email protected]