Commit 0ac4b4a8 authored by Olliver Schinagl's avatar Olliver Schinagl Committed by Natanael Copa

scripts: add armv7 support to images

Signed-off-by: Olliver Schinagl's avatarOlliver Schinagl <oliver@schinagl.nl>
(cherry picked from commit bf993f3f)
parent 7a2566ec
......@@ -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)"
......
......@@ -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
......
......@@ -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"
}
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment