Rick Altherr | 9222093 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 1 | DESCRIPTION = "Small image capable of booting a device. The kernel includes \ |
| 2 | the Minimal RAM-based Initial Root Filesystem (initramfs), which finds the \ |
| 3 | first 'init' program more efficiently." |
| 4 | |
Adriana Kobylak | 86164b2 | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 5 | # Init scripts |
| 6 | INIT_PACKAGE = "obmc-phosphor-initfs" |
| 7 | INIT_PACKAGE_df-phosphor-mmc = "phosphor-mmc-init" |
| 8 | |
| 9 | PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} ${INIT_PACKAGE}" |
Rick Altherr | 9222093 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 10 | |
| 11 | # Do not pollute the initrd image with rootfs features |
William A. Kennington III | a04a0a5 | 2019-09-23 12:27:48 -0700 | [diff] [blame] | 12 | IMAGE_FEATURES = "read-only-rootfs" |
Rick Altherr | 9222093 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 13 | |
| 14 | export IMAGE_BASENAME = "obmc-phosphor-initramfs" |
| 15 | IMAGE_LINGUAS = "" |
| 16 | |
| 17 | LICENSE = "MIT" |
| 18 | |
| 19 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
| 20 | inherit core-image |
| 21 | |
| 22 | IMAGE_ROOTFS_SIZE = "8192" |
| 23 | IMAGE_ROOTFS_EXTRA_SPACE = "0" |
| 24 | |
William A. Kennington III | 848bfdb | 2019-09-23 12:26:55 -0700 | [diff] [blame] | 25 | # Needed for the set_user_group functions to succeed |
| 26 | DEPENDS += "shadow-native" |
| 27 | |
Richard Marian Thomaiyar | 17d1d72 | 2018-10-03 10:47:25 +0530 | [diff] [blame] | 28 | PACKAGE_INSTALL_remove = "shadow" |
| 29 | PACKAGE_EXCLUDE = "shadow" |
Rick Altherr | 9222093 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 30 | BAD_RECOMMENDATIONS += "busybox-syslog" |