recovery: add recipe to generate the recovery ramdisk image
- This recipe generates the recovery ramdisk image with the contents of the recovery ramdisk tree (recovery-initramfs) and other packages. Signed-off-by: David Escalona <david.escalona@digi.com>
This commit is contained in:
parent
f13767ecd3
commit
c68a9d255a
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright (C) 2016 Digi International.
|
||||
|
||||
DESCRIPTION = "Recovery initramfs image"
|
||||
LICENSE = "MIT"
|
||||
|
||||
PACKAGE_INSTALL = " \
|
||||
busybox \
|
||||
recovery-initramfs \
|
||||
swupdate \
|
||||
trustfence-tool \
|
||||
u-boot-fw-utils \
|
||||
wipe \
|
||||
"
|
||||
|
||||
PACKAGE_INSTALL_append_ccimx6 = " e2fsprogs-mke2fs parted"
|
||||
PACKAGE_INSTALL_append_ccimx6ul = " mtd-utils-ubifs"
|
||||
|
||||
# Do not pollute the initrd image with rootfs features
|
||||
IMAGE_FEATURES = ""
|
||||
IMAGE_LINGUAS = ""
|
||||
|
||||
IMAGE_FSTYPES = "cpio.gz.u-boot.tf"
|
||||
inherit core-image image_types_uboot
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
|
||||
# Remove some packages added via recommendations
|
||||
BAD_RECOMMENDATIONS += " \
|
||||
busybox-syslog \
|
||||
openssl-conf \
|
||||
"
|
||||
|
||||
export IMAGE_BASENAME = "dey-image-recovery-initramfs"
|
||||
Loading…
Reference in New Issue