From: Dietmar Maurer Date: Mon, 22 Oct 2012 09:32:08 +0000 (+0200) Subject: spawn getty on /dev/tty1 X-Git-Url: https://git.proxmox.com/?p=dab.git;a=commitdiff_plain;h=756b991ffd50d5eb666eb61544d4a17cf2802922 spawn getty on /dev/tty1 --- diff --git a/DAB.pm b/DAB.pm index 4d76e47..e4997e6 100644 --- a/DAB.pm +++ b/DAB.pm @@ -1306,6 +1306,8 @@ sub bootstrap { $self->ve_dpkg ('install', 'dpkg'); $self->run_command ("ln -sf /usr/share/zoneinfo/UTC '$rootdir/etc/localtime'"); + + $self->run_command ("ln -sf bash '$rootdir/bin/sh'"); $self->ve_dpkg ('install', 'libc6'); $self->ve_dpkg ('install', 'perl-base'); @@ -1382,7 +1384,7 @@ EOD } if (-f "$rootdir/etc/inittab") { - $self->run_command ("sed -i -e '/getty/d' '$rootdir/etc/inittab'"); + $self->run_command ("sed -i -e '/getty\\s38400\\stty[23456]/d' '$rootdir/etc/inittab'"); } # Link /etc/mtab to /proc/mounts, so df and friends will work: diff --git a/Makefile b/Makefile index fe8ce9b..d085ffd 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -RELEASE=2.1 +RELEASE=2.2 VERSION=1.2 PACKAGE=dab -PKGREL=2 +PKGREL=3 SCRIPTS= \ diff --git a/changelog.Debian b/changelog.Debian index b43cfc0..b27238d 100644 --- a/changelog.Debian +++ b/changelog.Debian @@ -1,3 +1,11 @@ +dab (1.2-3) unstable; urgency=low + + * spawn getty on /dev/tty1 (use new openvz console feature) + + * ln /bin/sh to bash (else bash package fails to install) + + -- Proxmox Support Team Mon, 22 Oct 2012 10:00:56 +0200 + dab (1.2-2) unstable; urgency=low * add wheezy support