scripts: add armv7 support to images

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
Olliver Schinagl 2019-02-22 21:08:14 +01:00 committed by Natanael Copa
parent 3b3d1e3949
commit bf993f3f64
4 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ set -e
all_sections=""
all_profiles=""
all_checksums="sha256 sha512"
all_arches="aarch64 armhf x86 x86_64"
all_arches="aarch64 armhf armv7 x86 x86_64"
all_dirs=""
build_date="$(date +%y%m%d)"
default_arch="$(apk --print-arch)"

View File

@ -20,6 +20,12 @@ rpi_gen_config() {
[pi1]
kernel=boot/vmlinuz-rpi
initramfs boot/initramfs-rpi
[all]
include usercfg.txt
EOF
;;
armv7)
cat <<-EOF
[pi2]
kernel=boot/vmlinuz-rpi2
initramfs boot/initramfs-rpi2

View File

@ -20,6 +20,6 @@ profile_minirootfs() {
and minimal chroots."
image_ext=tar.gz
output_format=rootfs
arch="x86 x86_64 armhf aarch64 ppc64le s390x"
arch="x86 x86_64 armhf armv7 aarch64 ppc64le s390x"
rootfs_apks="busybox alpine-baselayout alpine-keys apk-tools libc-utils"
}

View File

@ -10,7 +10,7 @@ profile_netboot() {
desc="Kernel, initramfs and modloop for
netboot.
"
arch="aarch64 armhf ppc64le x86 x86_64 s390x"
arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline="nomodeset"
kernel_flavors="vanilla"
modloop_sign=yes