diff options
author | xengineering <mail2xengineering@protonmail.com> | 2019-11-25 13:39:43 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2019-11-25 13:39:43 +0100 |
commit | d45d41ee0bd52b28226e69317bca1c284009b397 (patch) | |
tree | 8ccfb55c07adb593e42ad7e76e673480094f1e3a /bin/second_stage.sh | |
parent | 63d89031176687de9de41c7665d86cea64717c6e (diff) | |
download | archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.tar archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.tar.zst archinstall-d45d41ee0bd52b28226e69317bca1c284009b397.zip |
First version with desktop installation support.
Diffstat (limited to 'bin/second_stage.sh')
-rw-r--r-- | bin/second_stage.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/second_stage.sh b/bin/second_stage.sh index f2fe43a..cd9abf9 100644 --- a/bin/second_stage.sh +++ b/bin/second_stage.sh @@ -28,6 +28,7 @@ hostname=$1 boot_partition_path=$2 REPOSITORY_PATH=$3 +CONFIG_FILE_PATH=$4 # Localization @@ -58,6 +59,14 @@ sleep 1 bash $REPOSITORY_PATH/bin/install_bootloader.sh $boot_partition_path +# Desktop Installation + +desktop=$(python $REPOSITORY_PATH/bin/get_config_string.py $CONFIG_FILE_PATH "desktop") +if [ "$desktop" = "yes" ]; then + bash $REPOSITORY_PATH/bin/install_desktop.sh +fi + + # Good bye chroot echo "Leaving chroot environment - OK" |