-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbeowulf.config
111 lines (97 loc) · 2.24 KB
/
beowulf.config
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#!/usr/bin/env zsh
# See LICENSE file for copyright and license details.
blend_name="maemo-${codename}"
blend_vers="1.0"
release="beowulf"
version="3.0.0"
# Comment out to disable image compression
COMPRESS_IMAGE=1
# Comment out to disable caching of stage4 cpio used for faster rebuilds
CPIO_STAGE4=1
if [[ -n "$armsdk_version" ]]; then
image_name="${blend_name}-${blend_vers}-${arch}-${device_name}-$(date '+%Y%m%d')"
elif [[ -n "$vmsdk_version" ]]; then
image_name="${blend_name}-${blend_vers}-${arch}-$(date '+%Y%m%d')"
vm_name="${blend_name}-${blend_vers}-${arch}-virtual-$(date '+%Y%m%d')"
fi
# Uncomment to enable -devel repositories
#devel_image=true
if [[ "$devel_image" = true ]]; then
blend_name="${blend_name}-devel"
fi
maemo_keyring_url="https://maedevu.maemo.org/leste/pool/main/m/maemo-keyring/maemo-keyring_2022.1+2m7_all.deb"
core_packages+=(
gnupg
wget
openrc
)
extra_packages+=(
strace
haveged
busybox-static
x11-xserver-utils
apt-transport-https
net-tools
console-setup
hildon-meta
hildon-connectivity-base
hildon-connectivity-wlan
hildon-connectivity-location
hildon-input-meta
fake-hwclock
ntpsec-ntpdate
leste-config-common
zram-tools
macchanger
)
finalize_purge_packages=(
elogind
ntp
)
if [[ -n "$armsdk_version" ]]; then
rootopts=(-O ^64bit,^metadata_csum)
case "$device_name" in
n900)
extra_packages+=(hildon-meta-n900 leste-config-n900)
;;
n950)
extra_packages+=(hildon-meta-n950)
;;
n9)
extra_packages+=(hildon-meta-n9)
;;
droid3)
extra_packages+=(hildon-meta-droid3 leste-config-mapphone)
;;
droid4)
extra_packages+=(hildon-meta-droid4 leste-config-mapphone)
;;
bionic)
extra_packages+=(hildon-meta-bionic leste-config-mapphone)
;;
sunxi|turbox-twister)
#extra_packages+=(hildon-meta-sunxi)
vars+=(lima)
lima=lima
;;
pinephone*)
extra_packages+=(hildon-meta-pinephone leste-config-pinephone pinephone-modem-config)
vars+=(lima)
lima=lima
;;
pinetab)
extra_packages+=(hildon-meta-pinetab leste-config-pinetab pine64-uboot)
vars+=(lima)
lima=lima
;;
pocophone-f1)
extra_packages+=(hildon-meta-pocophone-f1 leste-config-pocophone-f1)
;;
raspi*)
extra_packages+=(hildon-meta-raspberrypi)
;;
*)
die "Unsupported device."; zerr; exit 1
;;
esac
fi