summaryrefslogtreecommitdiffstats
path: root/mkinitcpio
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-02-25 20:42:18 +0100
committerGravatar Christian Hesse <mail@eworm.de>2016-02-25 20:46:00 +0100
commitb474ad7226c211736c8a45bd72a17e08dd051171 (patch)
tree8c94840852f5dce3c4b8b203607b9759e9a4a3c6 /mkinitcpio
parente6ec09692be2a80747164fbca9036cf699ab2d85 (diff)
downloadmkinitcpio-ykfde-b474ad7226c211736c8a45bd72a17e08dd051171.tar.gz
mkinitcpio-ykfde-b474ad7226c211736c8a45bd72a17e08dd051171.tar.zst
make sure we have shell and commands in initramfs
fix #5
Diffstat (limited to 'mkinitcpio')
-rw-r--r--mkinitcpio/ykfde7
1 files changed, 7 insertions, 0 deletions
diff --git a/mkinitcpio/ykfde b/mkinitcpio/ykfde
index 3545def..c49b35a 100644
--- a/mkinitcpio/ykfde
+++ b/mkinitcpio/ykfde
@@ -1,6 +1,13 @@
#!/bin/sh
build() {
+ # shell and commands
+ local applet
+ add_binary /usr/lib/initcpio/busybox /usr/bin/busybox
+ for applet in cat kill sh sleep; do
+ add_symlink "/usr/bin/${applet}" busybox
+ done
+
# install basic files to initramfs
add_binary /usr/lib/udev/ykfde
add_file /usr/lib/initcpio/udev/20-ykfde.rules /usr/lib/udev/rules.d/20-ykfde.rules