From 63d89031176687de9de41c7665d86cea64717c6e Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 25 Nov 2019 13:10:56 +0100 Subject: Implemented copy of archinstall config on created system. --- bin/first_stage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/first_stage.sh b/bin/first_stage.sh index 1928386..a3a3240 100644 --- a/bin/first_stage.sh +++ b/bin/first_stage.sh @@ -140,9 +140,11 @@ echo "bash $REPOSITORY_PATH/bin/second_stage.sh $hostname \ ${disk_path}1 $REPOSITORY_PATH" | arch-chroot /mnt -# Copy log from live image to root partition +# Copy log and config from live image to root partition cp $LOG_FILE_PATH /mnt$LOG_FILE_PATH +mkdir /mnt$(dirname "$CONFIG_FILE_PATH") +cp $CONFIG_FILE_PATH /mnt$CONFIG_FILE_PATH # Unmount root partition -- cgit v1.2.3-70-g09d2