mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
scripts: add armv7 support to images
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
This commit is contained in:
parent
3b3d1e3949
commit
bf993f3f64
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user