home: hub: mkinitfs

Download patch

ref: 9b5ec4899f3190ac2d568a275002b782b0549501
parent: d7ee92e1cb19bc37688bfaea0efb6308febb47b4
author: Natanael Copa <ncopa@alpinelinux.org>
date: Fri Feb 8 11:37:27 CST 2019

init: use openssl instead of libressl

--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -41,7 +41,7 @@
 	fi
 
 	# we need openssl. let apk handle deps
-	apk add --quiet --initdb --repositories-file $repofile libressl || return 1
+	apk add --quiet --initdb --repositories-file $repofile openssl || return 1
 
 	if ! openssl list-cipher-commands | grep "^$suffix$" > /dev/null; then
 		errstr="Cipher $suffix is not supported"
@@ -688,7 +688,7 @@
 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"
+	pkgs="$pkgs openssl"
 fi
 
 apkflags="--initramfs-diskless-boot --progress"