Revision 23948,
721 bytes
checked in by geofft, 15 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 | |
---|
6 | cp /debathena-jaunty/preseed /target/root/debathena.preseed |
---|
7 | cp /debathena-jaunty/install-debathena.sh /target/root |
---|
8 | if test -f /debathena-jaunty/pxe-install-flag ; then |
---|
9 | cp /debathena-jaunty/pxe-install-flag /target/root/pxe-install-flag |
---|
10 | fi |
---|
11 | |
---|
12 | chvt 5 |
---|
13 | chroot /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 |
---|
18 | sleep 5 |
---|
19 | chvt 1 |
---|
Note: See
TracBrowser
for help on using the repository browser.