blob: 7c664aa9c581af1c6f1cf364b38c2e28c9bf29da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
SUMMARY = "Initramfs to boot a fully-featured rootfs"
DESCRIPTION = "Small initramfs that contains udev and init to find the real rootfs"
LICENSE = "MIT"
inherit image
INITRAMFS_SCRIPTS ?= "\
initramfs-module-debug \
initramfs-module-udev \
initramfs-module-kmod \
"
PACKAGE_INSTALL = "\
${INITRAMFS_SCRIPTS} \
${VIRTUAL-RUNTIME_base-utils} \
base-passwd \
"
# Ensure the initramfs only contains the bare minimum
IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
# Don't allow the initramfs to contain a kernel, as kernel modules will depend
# on the kernel image.
PACKAGE_EXCLUDE = "kernel-image-*"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
IMAGE_FSTYPES:remove:rpi = "wic.zst"
IMAGE_NAME_SUFFIX ?= ""
IMAGE_ROOTFS_SIZE = "24576"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|