Skip to content
Snippets Groups Projects
Commit 227c9653 authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

Added more disablesripts features

parent f047a079
No related branches found
No related tags found
No related merge requests found
...@@ -129,8 +129,9 @@ EOF ...@@ -129,8 +129,9 @@ EOF
[ $UPSTREAM != hardy -a $UPSTREAM != lucid -a $UPSTREAM != maverick ] && echo "force-unsafe-io" > $CHROOT/etc/dpkg/dpkg.cfg.d/02apt-speedup [ $UPSTREAM != hardy -a $UPSTREAM != lucid -a $UPSTREAM != maverick ] && echo "force-unsafe-io" > $CHROOT/etc/dpkg/dpkg.cfg.d/02apt-speedup
$C apt-get update $C apt-get update
[ $UPSTREAM != hardy ] && $C apt-get --force-yes -y install eatmydata [ $UPSTREAM != hardy ] && $C apt-get --force-yes -y install eatmydata
$C apt-get --force-yes -y dist-upgrade $C apt-get --force-yes -y install sysv-rc dpkg sysvinit-utils upstart
disablescripts disablescripts
$C apt-get --force-yes -y dist-upgrade
$C apt-get --force-yes -y install devscripts build-essential liburi-perl python-setuptools pkgbinarymangler wget rpl aptitude quilt fakeroot ccache $C apt-get --force-yes -y install devscripts build-essential liburi-perl python-setuptools pkgbinarymangler wget rpl aptitude quilt fakeroot ccache
$C apt-get clean $C apt-get clean
...@@ -166,6 +167,12 @@ mount -t proc none /proc ...@@ -166,6 +167,12 @@ mount -t proc none /proc
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
export LANG=C export LANG=C
apt-get update apt-get update
apt-get --force-yes -y install sysv-rc dpkg sysvinit-utils upstart
for i in /usr/sbin/invoke-rc.d /sbin/start /sbin/start-stop-daemon
do
mv \$i \$i.real
cp /bin/true \$i
done
apt-get --force-yes -y dist-upgrade apt-get --force-yes -y dist-upgrade
umount /proc umount /proc
EOF EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment