From b474ad7226c211736c8a45bd72a17e08dd051171 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Feb 2016 20:42:18 +0100 Subject: make sure we have shell and commands in initramfs fix #5 --- mkinitcpio/ykfde | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3-70-g09d2