Commit bf993f3f 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>
parent 3b3d1e39
...@@ -22,7 +22,7 @@ set -e ...@@ -22,7 +22,7 @@ set -e
all_sections="" all_sections=""
all_profiles="" all_profiles=""
all_checksums="sha256 sha512" all_checksums="sha256 sha512"
all_arches="aarch64 armhf x86 x86_64" all_arches="aarch64 armhf armv7 x86 x86_64"
all_dirs="" all_dirs=""
build_date="$(date +%y%m%d)" build_date="$(date +%y%m%d)"
default_arch="$(apk --print-arch)" default_arch="$(apk --print-arch)"
......
...@@ -20,6 +20,12 @@ rpi_gen_config() { ...@@ -20,6 +20,12 @@ rpi_gen_config() {
[pi1] [pi1]
kernel=boot/vmlinuz-rpi kernel=boot/vmlinuz-rpi
initramfs boot/initramfs-rpi initramfs boot/initramfs-rpi
[all]
include usercfg.txt
EOF
;;
armv7)
cat <<-EOF
[pi2] [pi2]
kernel=boot/vmlinuz-rpi2 kernel=boot/vmlinuz-rpi2
initramfs boot/initramfs-rpi2 initramfs boot/initramfs-rpi2
......
...@@ -20,6 +20,6 @@ profile_minirootfs() { ...@@ -20,6 +20,6 @@ profile_minirootfs() {
and minimal chroots." and minimal chroots."
image_ext=tar.gz image_ext=tar.gz
output_format=rootfs 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" rootfs_apks="busybox alpine-baselayout alpine-keys apk-tools libc-utils"
} }
...@@ -10,7 +10,7 @@ profile_netboot() { ...@@ -10,7 +10,7 @@ profile_netboot() {
desc="Kernel, initramfs and modloop for desc="Kernel, initramfs and modloop for
netboot. netboot.
" "
arch="aarch64 armhf ppc64le x86 x86_64 s390x" arch="aarch64 armhf armv7 ppc64le x86 x86_64 s390x"
kernel_cmdline="nomodeset" kernel_cmdline="nomodeset"
kernel_flavors="vanilla" kernel_flavors="vanilla"
modloop_sign=yes 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