/
firmware.yml
148 lines (148 loc) · 4.65 KB
/
firmware.yml
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
- hosts: builder
roles:
- openwisp.openwisp2-imagegenerator
vars:
basedir: /home/jenkins/workspace/nnxx-firmware
openwisp2fw_ssl_lib: openssl
openwisp2fw_source_dir: "{{ basedir }}/source"
openwisp2fw_generator_dir: "{{ basedir }}/generator"
openwisp2fw_bin_dir: /var/www/downloads.openwisp.org/nnxx-firmware/
# Designated Driver (unreleased) - 27 December 2016
openwisp2fw_source_version: 187ad058ee1f21b1d78ff86fe2fc42459f10457b
openwisp2fw_source_archs:
- ar71xx
openwisp2fw_source_feeds:
- method: src-git
name: packages
location: https://github.com/openwrt/packages.git
branch: master
- method: src-git
name: luci
location: https://github.com/openwrt/luci.git
branch: for-15.05
- method: src-git
name: targets
location: https://github.com/openwrt/targets.git
branch: master
- method: src-git
name: routing
location: https://github.com/openwrt-routing/packages.git
branch: master
- method: src-git
name: openwisp
location: https://github.com/openwisp/openwisp-config.git
branch: master
- method: src-git
name: luciopenwisp
location: https://github.com/openwisp/luci-openwisp.git
branch: master
# packages compiled during compilation step
openwisp2fw_source_additional_packages:
- wpad
- iputils-ping
- ip-full
- wget
- partx-utils
- oonf-olsrd2
- luci-ssl
- iputils-ping
- ip-full
- iwinfo
- iperf3
- ipip
- kmod-fs-ext4
- kmod-fs-vfat
- kmod-usb-storage
- kmod-usb-storage-extras
- kmod-ipip
# olsrd1 specifc, used by Palermo
- olsrd
- olsrd-mod-nameservice
- olsrd-mod-arprefresh
- olsrd-mod-dyn-gw
- olsrd-mod-txtinfo
- olsrd-mod-jsoninfo
- luci-lib-json
- luci-app-olsr
# other OpenWRT/LEDE configurations
openwisp2fw_source_other_configs:
# busybox
- CONFIG_BUSYBOX_CUSTOM=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_SAVE_ON_EXIT=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_REVERSE_SEARCH=y
- CONFIG_BUSYBOX_CONFIG_FEATURE_VI_UNDO=y
- CONFIG_BUSYBOX_CONFIG_WATCH=y
# olsrd2
- CONFIG_OONF_NHDP_AUTOLL4=y
- CONFIG_OONF_OLSRV2_LAN_IMPORT=y
# workaround to avoid conflicts between wpad and wpad-mini
- "# CONFIG_PACKAGE_wpad-mini is not set"
# packages passed to "PACKAGES" flag of image builder (in the image building step)
openwisp2fw_default_packages:
- -ppp
- -ppp-mod-pppoe
- -wpad-mini
- wpad
- uhttpd
- uhttpd-mod-ubus
- px5g
- libustream-{{ openwisp2fw_ssl_lib }}
- openvpn-{{ openwisp2fw_ssl_lib }}
- openwisp-config-{{ openwisp2fw_ssl_lib }}
# packages used in the full flavour
nnxx_full_packages:
- iputils-ping
- ip-full
- wget
- partx-utils
- iputils-ping
- ip-full
- iwinfo
- iperf3
- ipip
- kmod-fs-ext4
- kmod-fs-vfat
- kmod-usb-storage
- kmod-usb-storage-extras
- kmod-ipip
- luci-ssl
olsrd2_packages:
- oonf-olsrd2
olsrd1_packages:
- olsrd
- olsrd-mod-nameservice
- olsrd-mod-arprefresh
- olsrd-mod-dyn-gw
- olsrd-mod-txtinfo
- olsrd-mod-jsoninfo
- luci-lib-json
- luci-app-olsr
# definition of available flavours
openwisp2fw_image_flavours:
full_olsrd2:
ar71xx:
profile: Default
packages: "{{ openwisp2fw_default_packages + nnxx_full_packages + olsrd2_packages }}"
full_olsrd1:
ar71xx:
profile: Default
packages: "{{ openwisp2fw_default_packages + nnxx_full_packages + olsrd1_packages }}"
# definition of organizations
openwisp2fw_organizations:
- name: basilicata
flavours:
- full_olsrd2
openwisp:
url: https://controller.basilicata.ninux.org
shared_secret: Secretn1nuxB4s
unmanaged: "{{ openwisp2fw_default_unmanaged }}"
verify_ssl: 0
- name: palermo
flavours:
- full_olsrd1
openwisp:
url: https://controller.basilicata.ninux.org
shared_secret: Secretn1nuxB4s
unmanaged: "{{ openwisp2fw_default_unmanaged }}"
verify_ssl: 0