summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh2
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
}