mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-24 03:15:36 +00:00
merge inittab.x86_64 and inittab.armhf
with the login tty generated from boot cmdline the inittab will be equal on all archs and platforms so we can merge and move to etc/ Signed-off-by: Natanael Copa <natanael.copa@docker.com>
This commit is contained in:
parent
34bd1e9322
commit
9bbf27cb66
@ -1,13 +1,12 @@
|
||||
all: initrd.img.gz mobylinux-efi.iso
|
||||
|
||||
ETCFILES=etc/issue etc/motd etc/network/interfaces
|
||||
ETCFILES+=etc/securetty
|
||||
ETCFILES+=etc/securetty etc/inittab
|
||||
|
||||
initrd.img: Dockerfile mkinitrd.sh inittab.x86_64 init $(ETCFILES)
|
||||
initrd.img: Dockerfile mkinitrd.sh init $(ETCFILES)
|
||||
rm -f initrd.img
|
||||
$(MAKE) -C packages
|
||||
$(MAKE) -C kernel
|
||||
cp inittab.x86_64 etc/inittab
|
||||
docker-compose build moby
|
||||
docker-compose run --rm -T moby /bin/mkinitrd.sh
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
# /etc/inittab
|
||||
|
||||
::sysinit:/sbin/openrc sysinit
|
||||
::sysinit:/sbin/openrc boot
|
||||
::wait:/sbin/openrc default
|
||||
|
||||
# Stuff to do for the 3-finger salute
|
||||
::ctrlaltdel:/sbin/reboot
|
||||
|
||||
# Stuff to do before rebooting
|
||||
::shutdown:/sbin/rc shutdown
|
||||
|
Loading…
Reference in New Issue
Block a user