poky-image-minimal -- disable package tool
cover poky-image-minimal -- disable package tool
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 <[email protected]>
---
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(-)
Signature · 1 line
1.7.3.4
PATCH 1/1 poky-image-minimal*: Disable packaging tool by default
If the packaging database is removed by default, then there is no reason to install the packaging tool, it just wastes space.
--- 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(-)
meta/recipes-core/images/poky-image-minimal-dev.bb +6 -1
@@ -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}" +
meta/recipes-core/images/poky-image-minimal.bb +5 -1
@@ -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}"
Signature · 1 line
1.7.3.4