summaryrefslogtreecommitdiff
path: root/mkinitrd
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-14 00:14:26 +0000
committerdavidovski <david@davidovski.xyz>2022-03-14 00:14:26 +0000
commitdffbbe56d3f9f17da0244f75b352b87bc0e244df (patch)
treef9472179419c592a4fd42048270da0913f5e6024 /mkinitrd
parentbfdef0f304e13766423aaabd1022c888e3193ff6 (diff)
added udev
Diffstat (limited to 'mkinitrd')
-rw-r--r--mkinitrd/init.in1
-rwxr-xr-xmkinitrd/mkinitramfs.sh6
2 files changed, 4 insertions, 3 deletions
diff --git a/mkinitrd/init.in b/mkinitrd/init.in
index 9353e0f..35a0b2a 100644
--- a/mkinitrd/init.in
+++ b/mkinitrd/init.in
@@ -82,6 +82,7 @@ for param in $cmdline ; do
esac
done
+
# udevd location depends on version
if [ -x /sbin/udevd ]; then
UDEVD=/sbin/udevd
diff --git a/mkinitrd/mkinitramfs.sh b/mkinitrd/mkinitramfs.sh
index 9acff17..3b0fcaf 100755
--- a/mkinitrd/mkinitramfs.sh
+++ b/mkinitrd/mkinitramfs.sh
@@ -15,8 +15,8 @@ copy() {
cp $file $WDIR/$2
else
echo "Missing required file: $1 for directory $2"
- rm -rf $WDIR
- exit 1
+ #rm -rf $WDIR
+ #exit 1
fi
}
@@ -185,6 +185,6 @@ fi
( cd $WDIR ; find . | cpio -o -H newc --quiet | gzip -9 ) > $INITRAMFS_FILE
# Remove the temporary directory and file
-rm -rf $WDIR $unsorted
+#rm -rf $WDIR $unsorted
printf "done.\n"