diff options
Diffstat (limited to 'initramfs-init.in')
-rwxr-xr-x | initramfs-init.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/initramfs-init.in b/initramfs-init.in index 8233af4..fd78fcf 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -656,6 +656,13 @@ else rc_add swclock boot fi +# enable support for modloop verification +if [ -f /var/cache/misc/*modloop*.SIGN.RSA.*.pub ]; then + mkdir -p "$sysroot"/var/cache/misc + cp /var/cache/misc/*modloop*.SIGN.RSA.*.pub "$sysroot"/var/cache/misc + pkgs="$pkgs libressl" +fi + apkflags="--initramfs-diskless-boot --progress" if [ -z "$ALPINE_REPO" ]; then apkflags="$apkflags --no-network" |