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:
Holger Hans Peter Freyther 2015-07-12 09:22:58 +02:00
parent 455820b8d3
commit 870b73cb12
1 changed files with 12 additions and 0 deletions

View File

@ -49,3 +49,15 @@ IMAGE_FSTYPES_sysmocom-idu = "cpio.xz"
IMAGE_FSTYPES_sysmobts-v2 = "ubi"
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; "