diff options
author | davidovski <david@davidovski.xyz> | 2022-03-31 00:56:15 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-31 00:56:15 +0100 |
commit | 077436382e9634edb3c1336ba164c356767ff821 (patch) | |
tree | 56e3f4706a04e5b9f1c67d4b298cc7121cbcf3c5 /scripts | |
parent | a971ca81d42f55ed3f564105ec12042cbbdf57fb (diff) |
chroot to make dirs
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 704eabc..c367eb4 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -70,7 +70,7 @@ generating_fstab () { building_initramfs () { echo "Building initramfs..." kernel_version=$(ls $SYSROOT/usr/lib/modules | tail -1) - mkdir -p $SYSROOT/var/tmp + xichroot $SYSROOT mkdir /var/tmp xichroot $SYSROOT dracut --kver $kernel_version 2>$TMPDIR/dracut.log > $TMPDIR/dracut.log } |