From 8cd8f56b204bbabb1a0ba131d2178fb44eed826a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Feb 2016 21:17:12 +0100 Subject: make sure uname binary is around --- install/uname | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'install') diff --git a/install/uname b/install/uname index b30eeb3..153a646 100644 --- a/install/uname +++ b/install/uname @@ -2,11 +2,14 @@ build() { if add_systemd_unit uname.service 2>/dev/null; then + # busybox provides uname, but the base hook is not prerequisite + # for a systemd-enable initramfs - so add uname + add_binary uname + add_symlink "/usr/lib/systemd/system/sysinit.target.wants/uname.service" "../uname.service" else add_runscript fi - # busybox provides uname, so we do not add it } help() { -- cgit v1.2.3-70-g09d2