mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
remove unused kernel image
This commit is contained in:
parent
985a0bed60
commit
d220929d4b
@ -22,8 +22,8 @@ IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
# Use the same restriction as initramfs-module-install
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND += "clobber_unused"
|
||||
IMAGE_PREPROCESS_COMMAND += "clobber_unused;"
|
||||
|
||||
clobber_unused () {
|
||||
rm ${IMAGE_ROOTFS}/boot/*
|
||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||
}
|
Loading…
Reference in New Issue
Block a user