fix: copy files before partitionning
This commit is contained in:
parent
88f882668f
commit
55933e6390
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user