b95caa9b73
A minimal chroot supporting extension via apt-get; vitals if built on Sisyphus as of Jan 16, 2012: i586: 13M tar.xz, 58M chroot (33M w/o /usr/share/{doc,locale,man}) x86_64: 14M tar.xz, 60M chroot (35M w/o /usr/share/{doc,locale,man}) Trivial fixups (extra checks) added to two script hooks.
5 lines
184 B
Bash
Executable File
5 lines
184 B
Bash
Executable File
#!/bin/sh -e
|
|
# we don't need no gettys in OpenVZ VEs (might need one in LXC though)
|
|
[ -s /etc/inittab ] || exit 0
|
|
sed -i 's,^[0-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab
|