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