mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 02:38:22 +01:00
use sysvinit
This commit is contained in:
parent
e27a7ba7d7
commit
ac4af715b3
@ -14,11 +14,13 @@ IMAGE_LINGUAS = ""
|
||||
LICENSE = "MIT"
|
||||
|
||||
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
|
||||
inherit core-image
|
||||
inherit core-image extrausers
|
||||
|
||||
IMAGE_ROOTFS_SIZE = "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "0"
|
||||
|
||||
EXTRA_USERS_PARAMS = "usermod -p 2Pe/4xyFxsokE root "
|
||||
|
||||
# Use the same restriction as initramfs-module-install
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
|
||||
|
||||
@ -31,7 +33,4 @@ image_patch () {
|
||||
cat << 'EOF' >> "${IMAGE_ROOTFS}/etc/hostname"
|
||||
diyaid
|
||||
EOF
|
||||
# enable autologin
|
||||
sed -i 's#~~:S:wait:/sbin/sulogin#~~:S:wait:/bin/sh#' \
|
||||
"${IMAGE_ROOTFS}/etc/inittab"
|
||||
}
|
Loading…
Reference in New Issue
Block a user