Rick Altherr | 4d9fd23 | 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 | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 5 | # Init scripts |
| 6 | INIT_PACKAGE = "obmc-phosphor-initfs" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 7 | INIT_PACKAGE:df-phosphor-mmc = "phosphor-mmc-init" |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 8 | |
| 9 | PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} ${INIT_PACKAGE}" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 10 | |
| 11 | # Do not pollute the initrd image with rootfs features |
William A. Kennington III | 6030125 | 2019-09-23 12:27:48 -0700 | [diff] [blame] | 12 | IMAGE_FEATURES = "read-only-rootfs" |
Rick Altherr | 4d9fd23 | 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 | 12c132f | 2019-09-23 12:26:55 -0700 | [diff] [blame] | 25 | # Needed for the set_user_group functions to succeed |
| 26 | DEPENDS += "shadow-native" |
| 27 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 28 | PACKAGE_INSTALL:remove = "shadow" |
Richard Marian Thomaiyar | 4842384 | 2018-10-03 10:47:25 +0530 | [diff] [blame] | 29 | PACKAGE_EXCLUDE = "shadow" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 30 | BAD_RECOMMENDATIONS += "busybox-syslog" |