From 606252e15b268f4e59089a2f9768005a2eb7eb5a Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 6 Oct 2013 20:38:39 +0200 Subject: readd support for plain old script based initramfs --- install/uname | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'install/uname') diff --git a/install/uname b/install/uname index 546c3e2..b30eeb3 100644 --- a/install/uname +++ b/install/uname @@ -1,8 +1,11 @@ #!/bin/sh build() { - add_systemd_unit uname.service - add_symlink "/usr/lib/systemd/system/sysinit.target.wants/uname.service" "../uname.service" + if add_systemd_unit uname.service 2>/dev/null; then + 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 } -- cgit v1.2.3-54-g00ecf