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." |
Ed Tanous | 9936f86 | 2022-09-19 09:13:20 -0700 | [diff] [blame] | 4 | LICENSE = "MIT" |
| 5 | # Needed for the set_user_group functions to succeed |
| 6 | DEPENDS += "shadow-native" |
| 7 | |
| 8 | inherit core-image |
| 9 | |
| 10 | export IMAGE_BASENAME = "obmc-phosphor-initramfs" |
| 11 | |
| 12 | BAD_RECOMMENDATIONS += "busybox-syslog" |
| 13 | |
| 14 | PACKAGE_INSTALL = "${VIRTUAL-RUNTIME_base-utils} base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} ${INIT_PACKAGE}" |
| 15 | PACKAGE_INSTALL:remove = "shadow" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 16 | |
Adriana Kobylak | 0998d1e | 2020-06-03 16:22:42 -0500 | [diff] [blame] | 17 | # Init scripts |
| 18 | INIT_PACKAGE = "obmc-phosphor-initfs" |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 19 | INIT_PACKAGE:df-phosphor-mmc = "phosphor-mmc-init" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 20 | # Do not pollute the initrd image with rootfs features |
William A. Kennington III | 6030125 | 2019-09-23 12:27:48 -0700 | [diff] [blame] | 21 | IMAGE_FEATURES = "read-only-rootfs" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 22 | IMAGE_LINGUAS = "" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 23 | IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" |
Rick Altherr | 4d9fd23 | 2016-12-08 12:21:49 -0800 | [diff] [blame] | 24 | IMAGE_ROOTFS_SIZE = "8192" |
| 25 | IMAGE_ROOTFS_EXTRA_SPACE = "0" |
Richard Marian Thomaiyar | 4842384 | 2018-10-03 10:47:25 +0530 | [diff] [blame] | 26 | PACKAGE_EXCLUDE = "shadow" |