1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2024-12-27 02:58:21 +01:00

use sysvinit

This commit is contained in:
DanyLE 2023-08-01 22:55:15 +02:00
parent e27a7ba7d7
commit ac4af715b3

View File

@ -14,11 +14,13 @@ IMAGE_LINGUAS = ""
LICENSE = "MIT" LICENSE = "MIT"
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
inherit core-image inherit core-image extrausers
IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTFS_SIZE = "8192"
IMAGE_ROOTFS_EXTRA_SPACE = "0" IMAGE_ROOTFS_EXTRA_SPACE = "0"
EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE root "
# Use the same restriction as initramfs-module-install # Use the same restriction as initramfs-module-install
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)' COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
@ -31,7 +33,4 @@ image_patch () {
cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname" cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname"
diyaid diyaid
EOF EOF
# enable autologin
sed -i 's#~~:S:wait:/sbin/sulogin#~~:S:wait:/bin/sh#' \
"${IMAGE_ROOTFS}/etc/inittab"
} }