- # Open up two fifo's fd's for debconf-communicate to use. Speeds up
- # the live-initramfs process considerably.
- log_begin_msg "Creating debconf-communicate fifo mechanism"
- mkfifo /tmp/debconf-in.fifo
- mkfifo /tmp/debconf-out.fifo
-
- chroot /root debconf-communicate -fnoninteractive live-initramfs > /tmp/debconf-out.fifo < /tmp/debconf-in.fifo &
-
- # Save the PID so it can be killed later.
- DEBCONF_COMMUNICATE_PID="$!"
-
- if [ ! -p /tmp/debconf-in.fifo ] || [ ! -p /tmp/debconf-out.fifo ]
+ # Move to the new root filesystem so that programs there can get at it.
+ if [ ! -d /root/live/image ]