From 8d4c0940932789e407ffabf9cb7d6bb31a94df04 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Thu, 30 May 2019 15:37:18 +0700 Subject: [PATCH] build-vm: drop 04-inittab Not used by systemd and looks obsolete generally as sysvinit-based disk images aren't really targeting low-resource systems these days _by default_ but rather _can_ target those as well; feel free to reconstruct these "RAM saving" bits as a part of e.g. lowmem patch. --- features.in/build-vm/image-scripts.d/04-inittab | 6 ------ 1 file changed, 6 deletions(-) delete mode 100755 features.in/build-vm/image-scripts.d/04-inittab diff --git a/features.in/build-vm/image-scripts.d/04-inittab b/features.in/build-vm/image-scripts.d/04-inittab deleted file mode 100755 index ae93e61b..00000000 --- a/features.in/build-vm/image-scripts.d/04-inittab +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -e -# we don't need no extra gettys in VMs -[ -s /etc/inittab ] || exit 0 -# ...except when it's a real disk image, not a VM for sure -[ `arch` = e2k ] && exit 0 -sed -i 's,^[3-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab