summaryrefslogtreecommitdiff
path: root/bin/first_stage.sh
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-11-25 13:45:11 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-11-25 13:45:11 +0100
commitdeec260fdacce82717cee7b48be0db2d027c1568 (patch)
treebed4ff04f54c775ce64bdf577adb752ef998c31b /bin/first_stage.sh
parentd45d41ee0bd52b28226e69317bca1c284009b397 (diff)
downloadarchinstall-deec260fdacce82717cee7b48be0db2d027c1568.tar
archinstall-deec260fdacce82717cee7b48be0db2d027c1568.tar.zst
archinstall-deec260fdacce82717cee7b48be0db2d027c1568.zip
Bugfix according to not installed python package.
Diffstat (limited to 'bin/first_stage.sh')
-rw-r--r--bin/first_stage.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/first_stage.sh b/bin/first_stage.sh
index 5981cd9..629c750 100644
--- a/bin/first_stage.sh
+++ b/bin/first_stage.sh
@@ -37,6 +37,7 @@ python $2/bin/write_config.py $CONFIG_FILE_PATH
disk=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "disk")
disk_path=/dev/$disk
hostname=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "hostname")
+desktop=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "desktop")
echo "All data on disk '$disk' will be finally lost!"
@@ -137,7 +138,7 @@ echo ""
# Launch second stage in chroot
echo "bash $REPOSITORY_PATH/bin/second_stage.sh $hostname \
-${disk_path}1 $REPOSITORY_PATH $CONFIG_FILE_PATH" | arch-chroot /mnt
+${disk_path}1 $REPOSITORY_PATH $CONFIG_FILE_PATH $desktop" | arch-chroot /mnt
# Copy log and config from live image to root partition