forked from maemo-leste/image-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
leste.config
44 lines (37 loc) · 904 Bytes
/
leste.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
#!/usr/bin/env zsh
# See LICENSE file for copyright and license details.
blend_name="maemo-${codename}"
blend_vers="1.0"
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
repo_key="http://maedevu.maemo.org/testing-key.asc"
extra_packages=(
openrc
busybox-static
apt-transport-https
net-tools
)
finalize_purge_packages=(
elogind
)
[ -n "$armsdk_version" ] && \
case "$device_name" in
n900)
extra_packages+=(hildon-meta-n900)
;;
droid4)
extra_packages+=(hildon-meta-droid4)
;;
sunxi)
extra_packages+=(hildon-meta)
;;
*)
die "Unsupported device."; zerr; exit 1
;;
esac
[ -n "$vmsdk_version" ] && \
extra_packages+=(hildon-meta)