From c983ad1e01cb67bdbd3bd3bb8e8fbc277ea98023 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 8 Aug 2019 13:51:34 +0200 Subject: [busybox] only install if binary is there --- builder/modules.d/busybox/install-busybox.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'builder') diff --git a/builder/modules.d/busybox/install-busybox.sh b/builder/modules.d/busybox/install-busybox.sh index 888d8afc..6848a735 100644 --- a/builder/modules.d/busybox/install-busybox.sh +++ b/builder/modules.d/busybox/install-busybox.sh @@ -1,9 +1,9 @@ #!/bin/bash -if ! hash busybox; then +if hash busybox; then + busybox --install -s +else . /lib/dracut-lib.sh emergency_shell "Failed to initialize busybox, things will go wrong..." fi - -busybox --install -s true -- cgit v1.2.3-55-g7522