1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-11-08 06:28:23 +01:00

add missing packages

This commit is contained in:
DanyLE 2023-08-01 14:46:39 +02:00
parent f014e70c30
commit 19d0f0e84c
5 changed files with 9 additions and 3 deletions

View File

@ -12,7 +12,7 @@ EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE diya; \
usermod -a -G avahi diya; \
usermod -a -G sudo diya \
"
IMAGE_BOOT_FILES:append = "fs_resize core-image-recovery-${MACHINE}.cpio.gz "
IMAGE_BOOT_FILES:append = "fs_resize extraconfig.txt cmd.recovery recovery-${MACHINE}.cpio.gz "
IMAGE_INSTALL:append = "libcurl \
libdrm \

View File

@ -7,7 +7,7 @@ PACKAGE_INSTALL = "recovery-boot lvm2 busybox ${VIRTUAL-RUNTIME_base-utils} ude
# Do not pollute the initrd image with rootfs features
IMAGE_FEATURES = ""
export IMAGE_BASENAME = "${MLPREFIX}core-image-recovery"
export IMAGE_BASENAME = "${MLPREFIX}recovery"
IMAGE_NAME_SUFFIX ?= ""
IMAGE_LINGUAS = ""

View File

@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI += "file://confd \
file://expandfs.sh \
file://80_diya \
file://fs_resize"
file://fs_resize \
file://cmd.recovery \
file://extraconfig.txt"
inherit update-rc.d useradd
@ -28,6 +30,8 @@ do_install() {
# install -m 0644 ${WORKDIR}/80_diya ${D}${sysconfdir}/default/volatiles
install -m 0755 ${WORKDIR}/expandfs.sh ${D}/usr/bin/expandfs.sh
install -m 0755 ${WORKDIR}/fs_resize ${DEPLOY_DIR_IMAGE}/
install -m 0755 ${WORKDIR}/cmd.recovery ${DEPLOY_DIR_IMAGE}/
install -m 0755 ${WORKDIR}/extraconfig.txt ${DEPLOY_DIR_IMAGE}/
install -d ${D}/var/etc
install -d ${D}/var/etc/upper

View File

@ -0,0 +1 @@
dwc_otg.lpm_enable=0 root=/dev/ram0 console=tty0,115200 bootparam_init_fatal_sh=1 rootwait logo.nologo

View File

@ -0,0 +1 @@
# initramfs recovery.cpio.gz followkernel