build-vm: spare all gettys on e2k
It has no VM hypervisor so far, the images are intended for bare metal execution.
This commit is contained in:
parent
6aa4af20c4
commit
d813c43112
@ -1,4 +1,6 @@
|
||||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user