summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-31 00:52:50 +0100
committerdavidovski <david@davidovski.xyz>2022-03-31 00:52:50 +0100
commita971ca81d42f55ed3f564105ec12042cbbdf57fb (patch)
treee9b2a875877f02e0933294a69f31f658c09c610f /scripts/install.sh
parent5aab6c42d875945f18d9a1c4a7ba38016907479e (diff)
fixed var tmp for dracut
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 49f65b2..704eabc 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -70,8 +70,8 @@ generating_fstab () {
building_initramfs () {
echo "Building initramfs..."
kernel_version=$(ls $SYSROOT/usr/lib/modules | tail -1)
- mkdir $SYSROOT/var/tmp
- xichroot $SYSROOT dracut --kver $kernel_version 2>/dev/null > $TMPDIR/dracut.log
+ mkdir -p $SYSROOT/var/tmp
+ xichroot $SYSROOT dracut --kver $kernel_version 2>$TMPDIR/dracut.log > $TMPDIR/dracut.log
}
installing_bootloader () {