diff options
| author | John Vogel <jvogel4@stny.rr.com> | 2023-04-09 09:01:58 -0400 |
|---|---|---|
| committer | John Vogel <jvogel4@stny.rr.com> | 2023-04-09 09:01:58 -0400 |
| commit | 4d39182e541d7f850bd09eb91f36e4d1b4ea86d7 (patch) | |
| tree | 559875633a4ac23bf500e01bc956ee117420425b /mkinitfs/mkinitfs.post-install | |
| download | my-aports-4d39182e541d7f850bd09eb91f36e4d1b4ea86d7.tar.gz | |
local: move aports section into root of repo
Diffstat (limited to 'mkinitfs/mkinitfs.post-install')
| -rw-r--r-- | mkinitfs/mkinitfs.post-install | 8 |
1 files changed, 8 insertions, 0 deletions
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 |
