From 077436382e9634edb3c1336ba164c356767ff821 Mon Sep 17 00:00:00 2001 From: davidovski Date: Thu, 31 Mar 2022 00:56:15 +0100 Subject: chroot to make dirs --- scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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 } -- cgit v1.2.1