summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-12-15 19:27:48 +0100
committerJuan RP <xtraeme@gmail.com>2014-12-15 19:27:48 +0100
commit8e0080b720e92225bc6aa035cb803b75cffedb20 (patch)
treec94eb2d6d17dbf4ffd049de1a73c040b9ea1b5a3 /installer.sh.in
parentf3dea549e8420b9dd583c9148e59587d81fc5038 (diff)
downloadhrmpf-8e0080b720e92225bc6aa035cb803b75cffedb20.tar.gz
hrmpf-8e0080b720e92225bc6aa035cb803b75cffedb20.tar.xz
hrmpf-8e0080b720e92225bc6aa035cb803b75cffedb20.zip
installer: redirect debug msgs to /dev/tty8.
/dev/tty7 might be used by the X server.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/installer.sh.in b/installer.sh.in
index 6f5a00a..4260922 100644
--- a/installer.sh.in
+++ b/installer.sh.in
@@ -39,7 +39,7 @@ FILESYSTEMS_DONE=
 SYSTEMD_INIT=
 
 TARGETDIR=/mnt/target
-LOG=/dev/tty7
+LOG=/dev/tty8
 CONF_FILE=/tmp/.void-installer.conf
 if [ ! -f $CONF_FILE ]; then
     touch -f $CONF_FILE
@@ -767,7 +767,7 @@ umount_filesystems() {
 }
 
 copy_rootfs() {
-    DIALOG --title "Check /dev/tty7 for details" \
+    DIALOG --title "Check $LOG for details" \
         --infobox "Copying live image to target rootfs, please wait ..." 4 60
     LANG=C cp -axvnu / $TARGETDIR >$LOG 2>&1
     if [ $? -ne 0 ]; then
@@ -846,11 +846,11 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
         # Remove live user.
         echo "Removing $USERNAME live user from targetdir ..." >$LOG
         chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1
-        DIALOG --title "Check /dev/tty7 for details" \
+        DIALOG --title "Check $LOG for details" \
             --infobox "Rebuilding initramfs for target ..." 4 60
         echo "Rebuilding initramfs for target ..." >$LOG
         chroot $TARGETDIR dracut --force >>$LOG 2>&1
-        DIALOG --title "Check /dev/tty7 for details" \
+        DIALOG --title "Check $LOG for details" \
             --infobox "Removing temporary packages from target ..." 4 60
         echo "Removing temporary packages from target ..." >$LOG
         xbps-remove -r $TARGETDIR -Ry dialog >>$LOG 2>&1