From 6f3a6da561a3e1a6cdb1aa4765610773e13c2dca Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 7 Jun 2018 22:29:03 -0500 Subject: system/mkinitfs: new package --- system/mkinitfs/mkinitfs.post-install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 system/mkinitfs/mkinitfs.post-install (limited to 'system/mkinitfs/mkinitfs.post-install') diff --git a/system/mkinitfs/mkinitfs.post-install b/system/mkinitfs/mkinitfs.post-install new file mode 100644 index 000000000..a2a404b09 --- /dev/null +++ b/system/mkinitfs/mkinitfs.post-install @@ -0,0 +1,8 @@ +#!/bin/sh + +# safety. if nlplug-findfs is missing in the initramfs image we may end up +# with an unbootable system. + +if ! grep -q -w /sbin/nlplug-findfs /etc/mkinitfs/features.d/base.files; then + echo "/sbin/nlplug-findfs" >> /etc/mkinitfs/features.d/base.files +fi -- cgit v1.2.3-70-g09d2