From 4d39182e541d7f850bd09eb91f36e4d1b4ea86d7 Mon Sep 17 00:00:00 2001 From: John Vogel Date: Sun, 9 Apr 2023 09:01:58 -0400 Subject: local: move aports section into root of repo --- mkinitfs/mkinitfs.post-install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 mkinitfs/mkinitfs.post-install (limited to 'mkinitfs/mkinitfs.post-install') diff --git a/mkinitfs/mkinitfs.post-install b/mkinitfs/mkinitfs.post-install new file mode 100644 index 0000000..a2a404b --- /dev/null +++ b/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