Skip to contentSkip to conversation

Upgrade coreutils and pciutils

PATCH Superseded Chen Qi 2 participants 6 messages Dec 4, 2017 – Dec 6, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

cover Upgrade coreutils and pciutils

The following changes since commit 4469acdf1d0338220f3fe2ecb5e079eea6fda375:

lib/oe/utils: remove param_bool() (2017-12-02 11:25:34 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib ChenQi/PU-coreutils-pciutils
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=ChenQi/PU-coreutils-pciutils

Chen Qi (3):
pciutils: upgrade to 3.5.6
coreutils: upgrade to 8.28
coreutils: add PACKAGECONFIG for single-binary

 .../pciutils/{pciutils_3.5.5.bb => pciutils_3.5.6.bb}            | 4 ++--
 .../coreutils/{coreutils_8.27.bb => coreutils_8.28.bb}           | 9 +++++----
 2 files changed, 7 insertions(+), 6 deletions(-)
 rename meta/recipes-bsp/pciutils/{pciutils_3.5.5.bb => pciutils_3.5.6.bb} (92%)
 rename meta/recipes-core/coreutils/{coreutils_8.27.bb => coreutils_8.28.bb} (94%)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/3 pciutils: upgrade to 3.5.6

---
 meta/recipes-bsp/pciutils/{pciutils_3.5.5.bb => pciutils_3.5.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/pciutils/{pciutils_3.5.5.bb => pciutils_3.5.6.bb} (92%)
meta/recipes-bsp/pciutils/pciutils_3.5.6.bb renamed from meta/recipes-bsp/pciutils/pciutils_3.5.5.bb +2 -2
similarity index 92%
rename from meta/recipes-bsp/pciutils/pciutils_3.5.5.bb
rename to meta/recipes-bsp/pciutils/pciutils_3.5.6.bb
index 0051fd8..b18b7da 100644
@@ -11,8 +11,8 @@ DEPENDS = "zlib kmod"
 SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.xz \
            file://configure.patch"
 
-SRC_URI[md5sum] = "238d9969cc0de8b9105d972007d9d546"
-SRC_URI[sha256sum] = "1d62f8fa192f90e61c35a6fc15ff3cb9a7a792f782407acc42ef67817c5939f5"
+SRC_URI[md5sum] = "8e52278399b7b35fcfc031bc05da80a8"
+SRC_URI[sha256sum] = "f346eeb90cce0910c05b877fe49eadc760fa084c0455fd313e39d4b2c2d4bb21"
 
 inherit multilib_header pkgconfig
 
Signature · 1 line
1.9.1
author
#2 lore raw

PATCH 2/3 coreutils: upgrade to 8.28

In reply to Chen Qi
---
 .../coreutils/{coreutils_8.27.bb => coreutils_8.28.bb}            | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-core/coreutils/{coreutils_8.27.bb => coreutils_8.28.bb} (95%)
meta/recipes-core/coreutils/coreutils_8.28.bb renamed from meta/recipes-core/coreutils/coreutils_8.27.bb +4 -4
similarity index 95%
rename from meta/recipes-core/coreutils/coreutils_8.27.bb
rename to meta/recipes-core/coreutils/coreutils_8.28.bb
index ea8740a..0543ceb 100644
@@ -23,10 +23,10 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz;name=tarball \
            file://0001-local.mk-fix-cross-compiling-problem.patch \
           "
 
-SRC_URI[tarball.md5sum] = "502795792c212932365e077946d353ae"
-SRC_URI[tarball.sha256sum] = "8891d349ee87b9ff7870f52b6d9312a9db672d2439d289bc57084771ca21656b"
-SRC_URI[manpages.md5sum] = "1b31a688d06764e0e94aa20b7ea08222"
-SRC_URI[manpages.sha256sum] = "1f615819e9167646c731636b6c5ecbe79837e82a18666bacc82c3fb1dfcfaea3"
+SRC_URI[tarball.md5sum] = "e7cb20d0572cc40d9f47ede6454406d1"
+SRC_URI[tarball.sha256sum] = "1117b1a16039ddd84d51a9923948307cfa28c2cea03d1a2438742253df0a0c65"
+SRC_URI[manpages.md5sum] = "3a7c626aad1c9077f254e5c2553a2f60"
+SRC_URI[manpages.sha256sum] = "d72c3fa79ae328a4fd1107102e8946755aa2e908044e1efcf1e71ef206dca042"
 
 EXTRA_OECONF_class-native = "--without-gmp"
 EXTRA_OECONF_class-target = "--enable-install-program=arch --libexecdir=${libdir}"
Signature · 1 line
1.9.1
#3 lore raw

Re: [PATCH 2/3] coreutils: upgrade to 8.28

Looks like this fails on hosts with older makeinfo:

http://errors.yoctoproject.org/Errors/Details/160224/

Ross

Quoted 46 lines · Chen Qi
---
 .../coreutils/{coreutils_8.27.bb => coreutils_8.28.bb}            | 8
++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-core/coreutils/{coreutils_8.27.bb =>

coreutils_8.28.bb} (95%)

meta/recipes-core/coreutils/coreutils_8.28.bb renamed from meta/recipes-core/coreutils/coreutils_8.27.bb +0 -2
similarity index 95%
rename from meta/recipes-core/coreutils/coreutils_8.27.bb
rename to meta/recipes-core/coreutils/coreutils_8.28.bb
index ea8740a..0543ceb 100644
@@ -23,10 +23,10 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.xz;name=tarball
 \
            file://0001-local.mk-fix-cross-compiling-problem.patch \
           "
 
-SRC_URI[tarball.md5sum] = "502795792c212932365e077946d353ae"
-SRC_URI[tarball.sha256sum] = "8891d349ee87b9ff7870f52b6d9312

a9db672d2439d289bc57084771ca21656b"

meta/recipes-core/coreutils/coreutils_8.28.bb renamed from meta/recipes-core/coreutils/coreutils_8.27.bb +0 -2
-SRC_URI[manpages.md5sum] = "1b31a688d06764e0e94aa20b7ea08222"
-SRC_URI[manpages.sha256sum] = "1f615819e9167646c731636b6c5ecb

e79837e82a18666bacc82c3fb1dfcfaea3"

meta/recipes-core/coreutils/coreutils_8.28.bb renamed from meta/recipes-core/coreutils/coreutils_8.27.bb +2 -0
+SRC_URI[tarball.md5sum] = "e7cb20d0572cc40d9f47ede6454406d1"
+SRC_URI[tarball.sha256sum] = "1117b1a16039ddd84d51a992394830

7cfa28c2cea03d1a2438742253df0a0c65"

meta/recipes-core/coreutils/coreutils_8.28.bb renamed from meta/recipes-core/coreutils/coreutils_8.27.bb +2 -0
+SRC_URI[manpages.md5sum] = "3a7c626aad1c9077f254e5c2553a2f60"
+SRC_URI[manpages.sha256sum] = "d72c3fa79ae328a4fd1107102e8946

755aa2e908044e1efcf1e71ef206dca042"

EXTRA_OECONF_class-native = "--without-gmp" EXTRA_OECONF_class-target = "--enable-install-program=arch
--libexecdir=${libdir}"
--
1.9.1

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#4 lore raw

Re: [PATCH 2/3] coreutils: upgrade to 8.28

Quoted 6 lines · Ross

Looks like this fails on hosts with older makeinfo:

http://errors.yoctoproject.org/Errors/Details/160224/

Ross

I'll find a CentOS7 host and try to reproduce and fix this problem.

Best Regards,
Chen Qi

Quoted 59 lines · On 4 December 2017 at 10:25, Chen Qi <[email protected]…
    Signed-off-by: Chen Qi <[email protected]
    <mailto:[email protected]>>
    ---
     .../coreutils/{coreutils_8.27.bb <http://coreutils_8.27.bb> =>
    coreutils_8.28.bb <http://coreutils_8.28.bb>}         | 8 ++++----
     1 file changed, 4 insertions(+), 4 deletions(-)
     rename meta/recipes-core/coreutils/{coreutils_8.27.bb
    <http://coreutils_8.27.bb> => coreutils_8.28.bb
    <http://coreutils_8.28.bb>} (95%)

    diff --git a/meta/recipes-core/coreutils/coreutils_8.27.bb
    <http://coreutils_8.27.bb>
    b/meta/recipes-core/coreutils/coreutils_8.28.bb
    <http://coreutils_8.28.bb>
    similarity index 95%
    rename from meta/recipes-core/coreutils/coreutils_8.27.bb
    <http://coreutils_8.27.bb>
    rename to meta/recipes-core/coreutils/coreutils_8.28.bb
    <http://coreutils_8.28.bb>
    index ea8740a..0543ceb 100644
    --- a/meta/recipes-core/coreutils/coreutils_8.27.bb
    <http://coreutils_8.27.bb>
    +++ b/meta/recipes-core/coreutils/coreutils_8.28.bb
    <http://coreutils_8.28.bb>
    @@ -23,10 +23,10 @@ SRC_URI =
    "${GNU_MIRROR}/coreutils/${BP}.tar.xz;name=tarball \
                file://0001-local.mk-fix-cross-compiling-problem.patch \
               "

    -SRC_URI[tarball.md5sum] = "502795792c212932365e077946d353ae"
    -SRC_URI[tarball.sha256sum] =
    "8891d349ee87b9ff7870f52b6d9312a9db672d2439d289bc57084771ca21656b"
    -SRC_URI[manpages.md5sum] = "1b31a688d06764e0e94aa20b7ea08222"
    -SRC_URI[manpages.sha256sum] =
    "1f615819e9167646c731636b6c5ecbe79837e82a18666bacc82c3fb1dfcfaea3"
    +SRC_URI[tarball.md5sum] = "e7cb20d0572cc40d9f47ede6454406d1"
    +SRC_URI[tarball.sha256sum] =
    "1117b1a16039ddd84d51a9923948307cfa28c2cea03d1a2438742253df0a0c65"
    +SRC_URI[manpages.md5sum] = "3a7c626aad1c9077f254e5c2553a2f60"
    +SRC_URI[manpages.sha256sum] =
    "d72c3fa79ae328a4fd1107102e8946755aa2e908044e1efcf1e71ef206dca042"

     EXTRA_OECONF_class-native = "--without-gmp"
     EXTRA_OECONF_class-target = "--enable-install-program=arch
    --libexecdir=${libdir}"
    --
    1.9.1

    --
    _______________________________________________
    Openembedded-core mailing list
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-core
    <http://lists.openembedded.org/mailman/listinfo/openembedded-core>
author
#5 lore raw

PATCH 3/3 coreutils: add PACKAGECONFIG for single-binary

In reply to Chen Qi

Add PACKAGECONFIG for single-binray. Disable it by default.

When enabled, there would only be one binary file /usr/bin/coreutils, other files like 'ls' are text files containing contents like:

  #!/usr/bin/coreutils --coreutils-prog-shebang=ls

And the size of the rpm package reduces from 849K to 519K.

Default to disable this option to keep the traditional behaviour.

---
 meta/recipes-core/coreutils/coreutils_8.28.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/coreutils/coreutils_8.28.bb +1 -0
index 0543ceb..d55dbe1 100644
@@ -45,6 +45,7 @@ PACKAGECONFIG_class-native ??= "xattr"
 #
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
 PACKAGECONFIG[xattr] = "--enable-xattr,--disable-xattr,attr,"
+PACKAGECONFIG[single-binary] = "--enable-single-binary,--disable-single-binary,,"
 
 # [ df mktemp base64 gets a special treatment and is not included in this
 bindir_progs = "arch basename chcon cksum comm csplit cut dir dircolors dirname du \
Signature · 1 line
1.9.1