mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-02-21 16:32:48 +01:00
add base initscripts to initramfs image
This commit is contained in:
parent
2b6763d6f3
commit
715588e723
@ -2,7 +2,19 @@
|
|||||||
DESCRIPTION = "Recovery initramfs image."
|
DESCRIPTION = "Recovery initramfs image."
|
||||||
|
|
||||||
|
|
||||||
PACKAGE_INSTALL = "recovery-boot dosfstools e2fsprogs util-linux-fsck kernel-modules busybox sysvinit sysvinit-inittab ${VIRTUAL-RUNTIME_base-utils} udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
|
PACKAGE_INSTALL = "recovery-boot \
|
||||||
|
dosfstools \
|
||||||
|
e2fsprogs \
|
||||||
|
util-linux-fsck \
|
||||||
|
kernel-modules \
|
||||||
|
busybox \
|
||||||
|
sysvinit \
|
||||||
|
sysvinit-inittab \
|
||||||
|
${VIRTUAL-RUNTIME_base-utils} \
|
||||||
|
udev \
|
||||||
|
initscripts \
|
||||||
|
base-passwd \
|
||||||
|
${ROOTFS_BOOTSTRAP_INSTALL}"
|
||||||
|
|
||||||
# Do not pollute the initrd image with rootfs features
|
# Do not pollute the initrd image with rootfs features
|
||||||
IMAGE_FEATURES = ""
|
IMAGE_FEATURES = ""
|
||||||
@ -29,4 +41,6 @@ IMAGE_PREPROCESS_COMMAND += "image_patch;"
|
|||||||
image_patch () {
|
image_patch () {
|
||||||
# delete unused image
|
# delete unused image
|
||||||
rm -rf ${IMAGE_ROOTFS}/boot/*
|
rm -rf ${IMAGE_ROOTFS}/boot/*
|
||||||
|
# patch inittab runlevel 6
|
||||||
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user