From deec260fdacce82717cee7b48be0db2d027c1568 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 25 Nov 2019 13:45:11 +0100 Subject: Bugfix according to not installed python package. --- bin/first_stage.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/first_stage.sh') 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 -- cgit v1.2.3-70-g09d2