[poky] [PATCH 1/1] poky-image-minimal*: Disable packaging tool by default

Mark Hatle mark.hatle at windriver.com
Thu Jan 27 21:52:09 PST 2011


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 at 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




More information about the poky mailing list