mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
image.bbclass: Add function to write out an image manifest
This commit is contained in:
@@ -98,6 +98,20 @@ rootfs_ipk_log_check() {
|
||||
true
|
||||
}
|
||||
|
||||
rootfs_ipk_write_manifest() {
|
||||
manifest=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.manifest
|
||||
cp ${IMAGE_ROOTFS}/usr/lib/opkg/status $manifest
|
||||
|
||||
sed '/Depends/d' -i $manifest
|
||||
sed '/Status/d' -i $manifest
|
||||
sed '/Architecture/d' -i $manifest
|
||||
sed '/Installed-Time/d' -i $manifest
|
||||
sed '/Auto-Installed/d' -i $manifest
|
||||
sed '/Recommends/d' -i $manifest
|
||||
sed '/Provides/d' -i $manifest
|
||||
sed '/Conflicts/d' -i $manifest
|
||||
}
|
||||
|
||||
remove_packaging_data_files() {
|
||||
rm -rf ${IMAGE_ROOTFS}/usr/lib/opkg/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user