source: trunk/debathena/scripts/installer/pxe/jaunty/debathena-jaunty/postinstall.sh @ 23948

Revision 23948, 721 bytes checked in by geofft, 12 years ago (diff)
Revert "Use d-i-utils' chroot setup script before installing Debathena." This reverts r23944. chroot_setup and chroot_cleanup clobber our packaged policy-rc.d file.
Line 
1#!/bin/sh
2
3# This is only invoked when the relevant preseed entry is passed in
4# during the preinstall questioning.  (Thus, not for vanilla installs.)
5
6cp /debathena-jaunty/preseed /target/root/debathena.preseed
7cp /debathena-jaunty/install-debathena.sh /target/root
8if test -f /debathena-jaunty/pxe-install-flag ; then
9  cp /debathena-jaunty/pxe-install-flag /target/root/pxe-install-flag
10fi
11
12chvt 5
13chroot /target sh /root/install-debathena.sh < /dev/tty5 > /dev/tty5 2>&1
14# This approach fails due to lingering processes keeping the
15# pipeline open and the script hung.
16# chroot /target sh /root/install-debathena.sh < /dev/tty5 2>&1 \
17#     | chroot /target tee /var/log/athena-install.log > /dev/tty5
18sleep 5
19chvt 1
Note: See TracBrowser for help on using the repository browser.