fix: copy files before partitionning

This commit is contained in:
ange 2024-05-25 17:06:26 +02:00
parent 88f882668f
commit 55933e6390
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -1,12 +1,11 @@
#!/bin/bash #!/bin/bash
#shellcheck disable=SC2154 #shellcheck disable=SC2154
cp -r ./modules/chroot/ /mnt/
for i in ./modules/prechroot/*.sh; do for i in ./modules/prechroot/*.sh; do
bash -x "$i" bash -x "$i"
done done
cp -r ./modules/chroot/ /mnt/
(cd ./modules/ || exit (cd ./modules/ || exit
for i in ./chroot/*.sh; do for i in ./chroot/*.sh; do
arch-chroot /mnt/ bash -x "/$i" arch-chroot /mnt/ bash -x "/$i"