image-rauc-slot-rescue: Remove some more files from it
* We never need the BTS firmware. We never want to do GSM from within rescue image * Remove various udev hardware dbs. I think we couldn't care less about identifying peripheral devices by name and such.
This commit is contained in:
parent
455820b8d3
commit
870b73cb12
|
@ -49,3 +49,15 @@ IMAGE_FSTYPES_sysmocom-idu = "cpio.xz"
|
||||||
IMAGE_FSTYPES_sysmobts-v2 = "ubi"
|
IMAGE_FSTYPES_sysmobts-v2 = "ubi"
|
||||||
|
|
||||||
BAD_RECOMMENDATIONS += "busybox-syslog"
|
BAD_RECOMMENDATIONS += "busybox-syslog"
|
||||||
|
|
||||||
|
|
||||||
|
shrink_rescue() {
|
||||||
|
# In case of the sysmoBTS.. remove files
|
||||||
|
rm -rf ${IMAGE_ROOTFS}/lib/firmware/sysmobts*
|
||||||
|
|
||||||
|
# Who cares about udev?
|
||||||
|
rm -rf ${IMAGE_ROOTFS}/lib/udev/hwdb.d/*
|
||||||
|
rm -rf ${IMAGE_ROOTFS}/etc/udev/hwdb.bin
|
||||||
|
}
|
||||||
|
|
||||||
|
IMAGE_PREPROCESS_COMMAND += "shrink_rescue; "
|
||||||
|
|
Loading…
Reference in New Issue