Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Upgrade opkg
@ 2011-05-15  6:57 Khem Raj
  2011-05-15  6:57 ` [PATCH 1/2] opkg: Bump SRCREV to 609 Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-15  6:57 UTC (permalink / raw)
  To: OE core

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 <raj.khem@gmail.com>
---


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(-)

-- 
1.7.4.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] opkg: Bump SRCREV to 609
  2011-05-15  6:57 [PATCH 0/2] Upgrade opkg Khem Raj
@ 2011-05-15  6:57 ` Khem Raj
  2011-05-15  6:57 ` [PATCH 2/2] e2fsprogs_1.41.14.bb: Package libraries into separate packages Khem Raj
  2011-05-17 18:29 ` [PATCH 0/2] Upgrade opkg Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-15  6:57 UTC (permalink / raw)
  To: OE core

Disable curl gpg ssl sha
Backported from OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/opkg/opkg.inc    |    8 ++++++--
 meta/recipes-devtools/opkg/opkg_svn.bb |    3 ++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-devtools/opkg/opkg.inc b/meta/recipes-devtools/opkg/opkg.inc
index 50f1afc..a649213 100644
--- a/meta/recipes-devtools/opkg/opkg.inc
+++ b/meta/recipes-devtools/opkg/opkg.inc
@@ -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"
 
diff --git a/meta/recipes-devtools/opkg/opkg_svn.bb b/meta/recipes-devtools/opkg/opkg_svn.bb
index 5664a09..5964a47 100644
--- a/meta/recipes-devtools/opkg/opkg_svn.bb
+++ b/meta/recipes-devtools/opkg/opkg_svn.bb
@@ -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"
 
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] e2fsprogs_1.41.14.bb: Package libraries into separate packages
  2011-05-15  6:57 [PATCH 0/2] Upgrade opkg Khem Raj
  2011-05-15  6:57 ` [PATCH 1/2] opkg: Bump SRCREV to 609 Khem Raj
@ 2011-05-15  6:57 ` Khem Raj
  2011-05-17 18:29 ` [PATCH 0/2] Upgrade opkg Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2011-05-15  6:57 UTC (permalink / raw)
  To: OE core

add libcomerr libss libe2p libext2fs packages
helps in reducing the root file system size

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../e2fsprogs/e2fsprogs_1.41.14.bb                 |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
index d493f6f..91a783d 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.41.14.bb
@@ -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"
-- 
1.7.4.1




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Upgrade opkg
  2011-05-15  6:57 [PATCH 0/2] Upgrade opkg Khem Raj
  2011-05-15  6:57 ` [PATCH 1/2] opkg: Bump SRCREV to 609 Khem Raj
  2011-05-15  6:57 ` [PATCH 2/2] e2fsprogs_1.41.14.bb: Package libraries into separate packages Khem Raj
@ 2011-05-17 18:29 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2011-05-17 18:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 05/14/2011 11:57 PM, Khem Raj wrote:
> 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<raj.khem@gmail.com>
> ---
>
>
> 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!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-17 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15  6:57 [PATCH 0/2] Upgrade opkg Khem Raj
2011-05-15  6:57 ` [PATCH 1/2] opkg: Bump SRCREV to 609 Khem Raj
2011-05-15  6:57 ` [PATCH 2/2] e2fsprogs_1.41.14.bb: Package libraries into separate packages Khem Raj
2011-05-17 18:29 ` [PATCH 0/2] Upgrade opkg Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox