[4.2] Build for Alpine 3.19 #12

Merged
ayakael merged 2 commits from 4.2/alpine319 into r4.2 2023-12-08 01:24:37 +00:00
3 changed files with 12 additions and 5 deletions

View file

@ -33,10 +33,10 @@ variables:
tags:
- qubes-template
verify-alpine318:
verify-alpine319:
extends: .verify
variables:
CI_ALPINE_TARGET_RELEASE: alpine318
CI_ALPINE_TARGET_RELEASE: alpine319
.build:
stage: build
@ -75,10 +75,10 @@ verify-alpine318:
tags:
- qubes-template
build-alpine318:
build-alpine319:
extends: .build
variables:
CI_ALPINE_TARGET_RELEASE: alpine318
CI_ALPINE_TARGET_RELEASE: alpine319
release:
stage: release

View file

@ -23,7 +23,7 @@ GIT_PREFIX := QubesOS/qubes-
# DISTS_VM - Choose the templates to build. Multiple templates can be defined
# to build. Uncomment tempalte dist to build.
DISTS_VM := alpine318
DISTS_VM := alpine319
COMPONENTS += builder-alpine
BUILDER_PLUGINS += builder-alpine

View file

@ -79,6 +79,13 @@ echo "hvc0::respawn:/sbin/getty -L hvc0 115200 vt220" >> "$INSTALLDIR"/etc/initt
# create /lib/modules for qubes-kernel module mount
"${TEMPLATE_CONTENT_DIR}/alpine-chroot" "$INSTALLDIR" mkdir /lib/modules
# lo device
cat > "${INSTALLDIR}/etc/network/interfaces" <<EOF
auto lo
iface lo inet loopback
EOF
# enable services
for i in udev udev-trigger xendriverdomain qubes-qrexec-agent qubes-db qubes-meminfo-writer qubes-sysinit qubes-core-early qubes-core qubes-gui-agent crond acpid; do
"${TEMPLATE_CONTENT_DIR}/alpine-chroot" "$INSTALLDIR" rc-update add $i default