Patchwork [4/7] core-image-minimal: do not remove packaging files in the rootfs postprocess

login
register
mail settings
Submitter Laurentiu Palcu
Date May 23, 2013, 1:15 p.m.
Message ID <a06016c6ef9e33fded9b99e0744bf7016804937e.1369313581.git.laurentiu.palcu@intel.com>
Download mbox | patch
Permalink /patch/50395/
State Accepted
Commit 98ce0b727baa359a1e6388dd570186099df3983a
Headers show

Comments

Laurentiu Palcu - May 23, 2013, 1:15 p.m.
Since the removal of PM's meta-data was moved in image.bbclass, after
rootfs_*_do_rootfs() runs, there's no need to remove the files in rootfs
postprocess stage. Also, if the meta-data is removed then there's no way
we can save the postinstalls to /etc/(deb|ipk)-postinsts later.

For RPM, it doesn't really matter since the postinstalls are saved to
/etc/rpm-postinsts as soon as the postinstall fails.

[YOCTO #4484]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
---
 meta/recipes-core/images/core-image-minimal.bb |    2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/meta/recipes-core/images/core-image-minimal.bb b/meta/recipes-core/images/core-image-minimal.bb
index 0d2613e..0b56cc8 100644
--- a/meta/recipes-core/images/core-image-minimal.bb
+++ b/meta/recipes-core/images/core-image-minimal.bb
@@ -10,5 +10,3 @@  inherit core-image
 
 IMAGE_ROOTFS_SIZE = "8192"
 
-# remove not needed ipkg informations
-ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "