mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
use sysvinit
This commit is contained in:
parent
e27a7ba7d7
commit
ac4af715b3
@ -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"
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user