Skip to content
Commit ddc63be5 authored by Thomas Petazzoni's avatar Thomas Petazzoni
Browse files

system: fix BR2_INIT_NONE / BR2_INIT_SYSTEMD build



Following the introduction of the initscripts package in commit
89d39fc7 ("initscripts: new package"),
the /etc/inittab file is no longer part of the skeleton, and therefore
is not always installed.

However, system/system.mk tweaks the inittab for getty and filesystem
remount as rw, without taking the precautions of whether the init
system is Busybox or SysV. This commit fixes that by adding the
necessary conditions around the code adjusting the inittab file.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 34f95bf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment