summaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_ipk.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-10 21:39:34 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-10 21:39:34 +0000
commit793dc948e6d564ae65c71ab93999d928187eb2bc (patch)
treef076098c7e28d148cbea9dd658a7a5f73177226c /meta/classes/rootfs_ipk.bbclass
parente4374351581fd54ffd1d0da9b11efe7b7f578ff4 (diff)
downloadpoky-793dc948e6d564ae65c71ab93999d928187eb2bc.tar.gz
image.bbclass: Add function to write out an image manifest
Diffstat (limited to 'meta/classes/rootfs_ipk.bbclass')
-rw-r--r--meta/classes/rootfs_ipk.bbclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass
index 07f418adbd..66d3712b8d 100644
--- a/meta/classes/rootfs_ipk.bbclass
+++ b/meta/classes/rootfs_ipk.bbclass
@@ -98,6 +98,20 @@ rootfs_ipk_log_check() {
98 true 98 true
99} 99}
100 100
101rootfs_ipk_write_manifest() {
102 manifest=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest
103 cp ${IMAGE_ROOTFS}/usr/lib/opkg/status $manifest
104
105 sed '/Depends/d' -i $manifest
106 sed '/Status/d' -i $manifest
107 sed '/Architecture/d' -i $manifest
108 sed '/Installed-Time/d' -i $manifest
109 sed '/Auto-Installed/d' -i $manifest
110 sed '/Recommends/d' -i $manifest
111 sed '/Provides/d' -i $manifest
112 sed '/Conflicts/d' -i $manifest
113}
114
101remove_packaging_data_files() { 115remove_packaging_data_files() {
102 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/ 116 rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
103} 117}