Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | # Simple initramfs image. Mostly used for live images. |
| 2 | DESCRIPTION = "Small image capable of booting a device. The kernel includes \ |
| 3 | the Minimal RAM-based Initial Root Filesystem (initramfs), which one can use \ |
| 4 | to check the hardware efficiently." |
| 5 | |
| 6 | PACKAGE_INSTALL = "initramfs-debug busybox base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}" |
| 7 | |
| 8 | # Do not pollute the initrd image with rootfs features |
| 9 | IMAGE_FEATURES = "" |
| 10 | |
| 11 | export IMAGE_BASENAME = "initramfs-debug-image" |
| 12 | IMAGE_LINGUAS = "" |
| 13 | |
Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 14 | # Some BSPs use IMAGE_FSTYPES:<machine override> which would override |
Andrew Geissler | 6972109 | 2021-07-23 12:57:00 -0400 | [diff] [blame] | 15 | # an assignment to IMAGE_FSTYPES so we need anon python |
| 16 | python () { |
| 17 | d.setVar("IMAGE_FSTYPES", d.getVar("INITRAMFS_FSTYPES")) |
| 18 | } |
| 19 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 20 | inherit core-image |
| 21 | |
| 22 | IMAGE_ROOTFS_SIZE = "8192" |
| 23 | IMAGE_ROOTFS_EXTRA_SPACE = "0" |
| 24 | |
| 25 | BAD_RECOMMENDATIONS += "busybox-syslog" |