[4.1] Build for Alpine v3.19 #11

Merged
ayakael merged 2 commits from 4.1/319 into r4.1 2023-12-08 01:24:53 +00:00
3 changed files with 12 additions and 5 deletions

View file

@ -33,10 +33,10 @@ variables:
tags: tags:
- qubes-template - qubes-template
verify-alpine318: verify-alpine319:
extends: .verify extends: .verify
variables: variables:
CI_ALPINE_TARGET_RELEASE: alpine318 CI_ALPINE_TARGET_RELEASE: alpine319
.build: .build:
stage: build stage: build
@ -75,10 +75,10 @@ verify-alpine318:
tags: tags:
- qubes-template - qubes-template
build-alpine318: build-alpine319:
extends: .build extends: .build
variables: variables:
CI_ALPINE_TARGET_RELEASE: alpine318 CI_ALPINE_TARGET_RELEASE: alpine319
release: release:
stage: 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 # DISTS_VM - Choose the templates to build. Multiple templates can be defined
# to build. Uncomment tempalte dist to build. # to build. Uncomment tempalte dist to build.
DISTS_VM := alpine318 DISTS_VM := alpine319
COMPONENTS += builder-alpine COMPONENTS += builder-alpine
BUILDER_PLUGINS += 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 # create /lib/modules for qubes-kernel module mount
"${TEMPLATE_CONTENT_DIR}/alpine-chroot" "$INSTALLDIR" mkdir /lib/modules "${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 # 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 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 "${TEMPLATE_CONTENT_DIR}/alpine-chroot" "$INSTALLDIR" rc-update add $i default