1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-28 03:18:21 +01:00

remove unused kernel image

This commit is contained in:
DanyLE 2023-08-01 15:33:24 +02:00
parent 985a0bed60
commit d220929d4b

View File

@ -22,8 +22,8 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0"
# Use the same restriction as initramfs-module-install # Use the same restriction as initramfs-module-install
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
ROOTFS_POSTPROCESS_COMMAND += "clobber_unused" IMAGE_PREPROCESS_COMMAND += "clobber_unused;"
clobber_unused () { clobber_unused () {
rm ${IMAGE_ROOTFS}/boot/* rm -rf ${IMAGE_ROOTFS}/boot/*
} }