All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] poky-image-minimal -- disable package tool
@ 2011-01-28  5:52 Mark Hatle
  2011-01-28  5:52 ` [PATCH 1/1] poky-image-minimal*: Disable packaging tool by default Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Hatle @ 2011-01-28  5:52 UTC (permalink / raw)
  To: poky

When selecting poky-image-minimal, the package database is removed by
default.  However the packaging software is still installed, but it won't
function without the database.  So in order to save space remove the
package tool from the filesystem image.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: mhatle/image
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=mhatle/image

Thanks,
    Mark Hatle <mark.hatle@windriver.com>
---


Mark Hatle (1):
  poky-image-minimal*: Disable packaging tool by default

 meta/recipes-core/images/poky-image-minimal-dev.bb |    7 ++++++-
 meta/recipes-core/images/poky-image-minimal.bb     |    6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

-- 
1.7.3.4



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

* [PATCH 1/1] poky-image-minimal*: Disable packaging tool by default
  2011-01-28  5:52 [PATCH 0/1] poky-image-minimal -- disable package tool Mark Hatle
@ 2011-01-28  5:52 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2011-01-28  5:52 UTC (permalink / raw)
  To: poky

If the packaging database is removed by default, then there is no reason to
install the packaging tool, it just wastes space.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/recipes-core/images/poky-image-minimal-dev.bb |    7 ++++++-
 meta/recipes-core/images/poky-image-minimal.bb     |    6 +++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/images/poky-image-minimal-dev.bb b/meta/recipes-core/images/poky-image-minimal-dev.bb
index c64b657..1aa4874 100644
--- a/meta/recipes-core/images/poky-image-minimal-dev.bb
+++ b/meta/recipes-core/images/poky-image-minimal-dev.bb
@@ -1,7 +1,7 @@
 #
 # Copyright (C) 2007 OpenedHand Ltd.
 #
-IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}"
+IMAGE_INSTALL = "task-poky-boot"
 
 IMAGE_FEATURES += "dev-pkgs"
 
@@ -13,3 +13,8 @@ inherit poky-image
 
 # remove not needed ipkg informations
 ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
+
+# If we've removed the packaging data files, it doesn't make sense to install
+# the packaging tools, since they won't work anyway...
+#IMAGE_INSTALL += "${ROOTFS_PKGMANAGE}"
+
diff --git a/meta/recipes-core/images/poky-image-minimal.bb b/meta/recipes-core/images/poky-image-minimal.bb
index 48136ed..93e0055 100644
--- a/meta/recipes-core/images/poky-image-minimal.bb
+++ b/meta/recipes-core/images/poky-image-minimal.bb
@@ -1,7 +1,7 @@
 #
 # Copyright (C) 2007 OpenedHand Ltd.
 #
-IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}"
+IMAGE_INSTALL = "task-poky-boot"
 
 IMAGE_LINGUAS = " "
 
@@ -11,3 +11,7 @@ inherit poky-image
 
 # remove not needed ipkg informations
 ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
+
+# If we've removed the packaging data files, it doesn't make sense to install
+# the packaging tools, since they won't work anyway...
+#IMAGE_INSTALL += "${ROOTFS_PKGMANAGE}"
-- 
1.7.3.4



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

end of thread, other threads:[~2011-01-28  5:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28  5:52 [PATCH 0/1] poky-image-minimal -- disable package tool Mark Hatle
2011-01-28  5:52 ` [PATCH 1/1] poky-image-minimal*: Disable packaging tool by default Mark Hatle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.