-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkimg.pinewall_rpi.sh
executable file
·64 lines (58 loc) · 1.39 KB
/
mkimg.pinewall_rpi.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
profile_pinewall_rpi() {
# Source the env vars from the "rpi" profile below (see mkimg.arm.sh)
profile_rpi
# Force aarch64
arch="aarch64"
# We don't want the kernel addons from the Standard profile, which includes
# xtables-addons. We don't want any *tables stuff since we're fully nftables.
kernel_addons=""
# Override our apks variable that we import from aports' mkimg.base.sh, by
# including just the packages we actually find loaded on a running Pi system
# (it includes a bunch we never end up needing, like e2fsprogs and openntpd)
#
# Doing this slims down our image quite a bit.
#
# See: https://gitlab.com/pinewall/pinewall/-/issues/1
apks="alpine-base
busybox
chrony
openssl
"
# Add common APKs list to current APK list
# This list should be the same for both mkimg.pinewall_rpi.sh and
# mkimg.pinewall_x86.sh:
apks="$apks
avahi
chrony
conntrack-tools
corerad
dbus
dns-root-hints
doas
dropbear
ethtool
htop
ifupdown-ng-ppp
ifupdown-ng-wireguard
iperf3
irqbalance
kea
logrotate
nano
nftables
nload
openssl
ppp-pppoe
rng-tools
tcpdump
ulogd
unbound
wireguard-tools-wg
"
# Add any Pi-specific APKs to the APK list
apks="$apks
raspberrypi
"
# Build our APK overlay into the built image automatically
apkovl="genapkovl-pinewall.sh"
}