mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-09-07 04:04:41 +02:00
29 lines
738 B
BlitzBasic
29 lines
738 B
BlitzBasic
|
|
DESCRIPTION = "Recovery initramfs image."
|
|
|
|
|
|
PACKAGE_INSTALL = "recovery-boot e2fsprogs kernel-modules busybox busybox-inittab ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
|
|
|
|
# Do not pollute the initrd image with rootfs features
|
|
IMAGE_FEATURES = ""
|
|
|
|
export IMAGE_BASENAME = "${MLPREFIX}recovery"
|
|
IMAGE_NAME_SUFFIX ?= ""
|
|
IMAGE_LINGUAS = ""
|
|
|
|
LICENSE = "MIT"
|
|
|
|
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
|
inherit core-image
|
|
|
|
IMAGE_ROOTFS_SIZE = "8192"
|
|
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
|
|
|
# Use the same restriction as initramfs-module-install
|
|
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
|
|
|
IMAGE_PREPROCESS_COMMAND += "clobber_unused;"
|
|
|
|
clobber_unused () {
|
|
rm -rf ${IMAGE_ROOTFS}/boot/*
|
|
} |