From 55933e6390bab993a96315b8fa768a8ae3bc99db Mon Sep 17 00:00:00 2001 From: ange Date: Sat, 25 May 2024 17:06:26 +0200 Subject: [PATCH] fix: copy files before partitionning --- modules/base.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/base.sh b/modules/base.sh index 3e77209..7306b15 100644 --- a/modules/base.sh +++ b/modules/base.sh @@ -1,12 +1,11 @@ #!/bin/bash #shellcheck disable=SC2154 -cp -r ./modules/chroot/ /mnt/ - for i in ./modules/prechroot/*.sh; do bash -x "$i" done +cp -r ./modules/chroot/ /mnt/ (cd ./modules/ || exit for i in ./chroot/*.sh; do arch-chroot /mnt/ bash -x "/$i"