From 98cfc9467ce88e5d91630665d04641b8ce8415f8 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Wed, 2 Aug 2023 00:13:06 +0200 Subject: [PATCH] use sysvinit --- recipes-diya/initramfs/files/confd | 2 ++ recipes-diya/initramfs/recovery-boot_0.1.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-diya/initramfs/files/confd b/recipes-diya/initramfs/files/confd index 8083861..2d31980 100644 --- a/recipes-diya/initramfs/files/confd +++ b/recipes-diya/initramfs/files/confd @@ -9,6 +9,8 @@ case "$1" in # for some reason the LCD backlight is turned off # need to turn it on manually echo 0 > /sys/class/backlight/backlight/bl_power + # hostname + echo "diya-recovery" > /proc/sys/kernel/hostname ;; *) N=/etc/init.d/$NAME diff --git a/recipes-diya/initramfs/recovery-boot_0.1.bb b/recipes-diya/initramfs/recovery-boot_0.1.bb index 314505a..cbcd315 100644 --- a/recipes-diya/initramfs/recovery-boot_0.1.bb +++ b/recipes-diya/initramfs/recovery-boot_0.1.bb @@ -42,4 +42,4 @@ do_install() { } -FILES:${PN} = "/init /init.d /dev" \ No newline at end of file +FILES:${PN} = "/etc /dev" \ No newline at end of file