Skip to content

Commit b6ef1c8

Browse files
committed
Revert "chore: remove hwe option (#393)"
This reverts commit 1af16b6.
1 parent 1af16b6 commit b6ef1c8

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

etc/auto/config

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,32 @@ set -e
44

55
. ./terraform.conf
66

7+
if [ "$HWE_KERNEL" = "yes" ]; then
8+
KERNEL_FLAVORS="amd64-hwe-${BASEVERSION}"
9+
else
10+
KERNEL_FLAVORS="amd64"
11+
fi
12+
713
lb config noauto \
814
--architectures "$ARCH" \
915
--mode debian \
1016
--distribution "$BASECODENAME" \
1117
--parent-distribution "$BASECODENAME" \
1218
--linux-packages "linux-image linux-headers" \
19+
--linux-flavours "$KERNEL_FLAVORS" \
1320
--bootappend-live "boot=live config username=vanilla user-fullname=Vanilla quiet splash bgrt_disable" \
1421
\
1522
--parent-archive-areas "main contrib non-free non-free-firmare" \
1623
--parent-mirror-bootstrap "$MIRROR_URL" \
1724
--parent-mirror-chroot-security "http://deb.debian.org/debian-security" \
1825
--parent-mirror-binary-security "http://deb.debian.org/debian-security" \
19-
--parent-mirror-binary "$MIRROR_URL" \
26+
--parent-mirror-binary "https://repo2.vanillaos.org" \
2027
\
2128
--archive-areas "main contrib non-free non-free-firmware" \
2229
--mirror-bootstrap "$MIRROR_URL" \
2330
--mirror-chroot-security "http://deb.debian.org/debian-security" \
2431
--mirror-binary-security "http://deb.debian.org/debian-security" \
25-
--mirror-binary "$MIRROR_URL" \
32+
--mirror-binary "https://repo2.vanillaos.org" \
2633
\
2734
--keyring-packages debian-keyring \
2835
--apt-options "--yes --option Acquire::Retries=5 --option Acquire::http::Timeout=100" \

etc/terraform.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ NAME="Vanilla OS"
2222
# mirror to fetch packages from
2323
MIRROR_URL="https://repo2.vanillaos.org"
2424

25+
# use HWE kernel and packages?
26+
HWE="yes"
27+
2528
# suffix for generated .iso files
2629
OUTPUT_SUFFIX=""
2730

0 commit comments

Comments
 (0)