summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2019-11-25 13:10:56 +0100
committerxengineering <mail2xengineering@protonmail.com>2019-11-25 13:10:56 +0100
commit63d89031176687de9de41c7665d86cea64717c6e (patch)
tree9a168bda18a7fe23676a5af29f65b6e0f679e90d /bin
parent3cf6892afabeec8a816c205889e4cff36377dc43 (diff)
downloadarchinstall-63d89031176687de9de41c7665d86cea64717c6e.tar
archinstall-63d89031176687de9de41c7665d86cea64717c6e.tar.zst
archinstall-63d89031176687de9de41c7665d86cea64717c6e.zip
Implemented copy of archinstall config on created system.
Diffstat (limited to 'bin')
-rw-r--r--bin/first_stage.sh4
1 files changed, 3 insertions, 1 deletions
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