Upgrade opkg
cover Upgrade opkg
These patches help in removing extra size that was being added to slugos-image when using oe-core. With these patches both from OE the root file system is 100k less than the classic OE. Currently the root file size is about 1M bigger due to opkg pulling in curl and then bunch of other libraries
Pull URL: git://git.openembedded.org/openembedded-core-contrib
Branch: kraj/slugos-support
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/slugos-support
Thanks,
Khem Raj <[email protected]>
---
Khem Raj (2):
opkg: Bump SRCREV to 609
e2fsprogs_1.41.14.bb: Package libraries into separate packages
.../e2fsprogs/e2fsprogs_1.41.14.bb | 6 ++++++ meta/recipes-devtools/opkg/opkg.inc | 8 ++++++-- meta/recipes-devtools/opkg/opkg_svn.bb | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.4.1
PATCH 1/2 opkg: Bump SRCREV to 609
Disable curl gpg ssl sha
Backported from OE
--- meta/recipes-devtools/opkg/opkg.inc | 8 ++++++-- meta/recipes-devtools/opkg/opkg_svn.bb | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-)
meta/recipes-devtools/opkg/opkg.inc +6 -2
@@ -7,7 +7,6 @@ BUGTRACKER = "http://code.google.com/p/opkg/issues/list" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba" -DEPENDS = "curl gpgme openssl" DEPENDS_virtclass-native = "curl-native" DEPENDS_virtclass-nativesdk = "curl-nativesdk"
@@ -21,9 +20,14 @@ do_configure_prepend() { } inherit autotools pkgconfig +EXTRA_OECONF += " --disable-gpg \ + --disable-openssl \ + --disable-ssl-curl \ + --disable-curl \ + --disable-sha256" target_localstatedir := "${localstatedir}" -EXTRA_OECONF = "--with-opkglibdir=${localstatedir}/lib" +EXTRA_OECONF += "--with-opkglibdir=${localstatedir}/lib" EXTRA_OECONF_virtclass-native = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl" EXTRA_OECONF_virtclass-nativesdk = "--with-opkglibdir=${target_localstatedir}/lib --disable-gpg --disable-curl --disable-openssl"
meta/recipes-devtools/opkg/opkg_svn.bb +2 -1
@@ -7,6 +7,7 @@ RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base" RDEPENDS_${PN}_virtclass-native = "" RDEPENDS_${PN}_virtclass-nativesdk = "" PACKAGE_ARCH_update-alternatives-cworth = "all" +RREPLACES_${PN} = "opkg-nogpg" SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ file://add_vercmp.patch \
@@ -15,7 +16,7 @@ SRC_URI = "svn://opkg.googlecode.com/svn;module=trunk;proto=http \ S = "${WORKDIR}/trunk" -SRCREV = "596" +SRCREV = "609" PV = "0.1.8+svnr${SRCPV}" PR = "r2"
Signature · 1 line
1.7.4.1
PATCH 2/2 e2fsprogs_1.41.14.bb: Package libraries into separate packages
In reply to Khem Rajadd libcomerr libss libe2p libext2fs packages
helps in reducing the root file system size
--- .../e2fsprogs/e2fsprogs_1.41.14.bb | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb +6 -0
@@ -39,11 +39,17 @@ do_install () { RDEPENDS_e2fsprogs = "e2fsprogs-blkid e2fsprogs-badblocks" PACKAGES =+ "e2fsprogs-blkid e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-fsck e2fsprogs-tune2fs e2fsprogs-badblocks" +PACKAGES =+ "libcomerr libss libe2p libext2fs" + FILES_e2fsprogs-blkid = "${base_sbindir}/blkid" FILES_e2fsprogs-fsck = "${base_sbindir}/fsck" FILES_e2fsprogs-e2fsck = "${base_sbindir}/e2fsck ${base_sbindir}/fsck.ext*" FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" +FILES_libcomerr = "${libdir}/libcom_err.so.*" +FILES_libss = "${libdir}/libss.so.*" +FILES_libe2p = "${libdir}/libe2p.so.*" +FILES_libext2fs = "${libdir}/e2initrd_helper ${libdir}/libext2fs.so.*" BBCLASSEXTEND = "native"
Signature · 1 line
1.7.4.1
Saul Wold
AppliedQuoted 15 lines · Khem Raj
These patches help in removing extra size that was being added to slugos-image when using oe-core. With these patches both from OE the root file system is 100k less than the classic OE. Currently the root file size is about 1M bigger due to opkg pulling in curl and then bunch of other libraries
Pull URL:
git://git.openembedded.org/openembedded-core-contrib
Branch: kraj/slugos-support
Browse: http://git.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/slugos-supportThanks,
Khem Raj<[email protected]>
---
Quoted 9 lines
Khem Raj (2):
opkg: Bump SRCREV to 609
e2fsprogs_1.41.14.bb: Package libraries into separate packages.../e2fsprogs/e2fsprogs_1.41.14.bb | 6 ++++++ meta/recipes-devtools/opkg/opkg.inc | 8 ++++++-- meta/recipes-devtools/opkg/opkg_svn.bb | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-)
Merged into oe-core
Thanks
Sau!