mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-25 18:28:21 +01:00
add initramfs recipe
This commit is contained in:
parent
e15b711ca5
commit
0865a5c13b
@ -72,6 +72,7 @@ dtoverlay=ads1115-i2c-gpio,cha_enable,cha_cfg=4,cha_datarate=7,cha_gain=1 \n\
|
||||
#start_x=1 # essential \n\
|
||||
#gpu_mem=128 # at least, or maybe more if you wish \n\
|
||||
#disable_camera_led=1 # optional \n\
|
||||
include extraconfig.txt \n\
|
||||
'
|
||||
|
||||
# extra kernel CMDLINE_RNDIS option
|
||||
|
@ -1,6 +1,11 @@
|
||||
|
||||
DESCRIPTION = "Recovery initramfs image."
|
||||
|
||||
INITRAMFS_SCRIPTS ?= "\
|
||||
initramfs-framework-base \
|
||||
initramfs-module-udev \
|
||||
"
|
||||
|
||||
|
||||
PACKAGE_INSTALL = "initramfs-boot busybox ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
|
||||
|
||||
@ -20,7 +25,4 @@ 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 += "tinyinitrd;"
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
Loading…
Reference in New Issue
Block a user