@@ -308,6 +308,19 if [ -n "$SET_ARCH" ] ; then | |||||
308 | RELEASE_ARCH=${RELEASE_ARCH:=armel} |
|
308 | RELEASE_ARCH=${RELEASE_ARCH:=armel} | |
309 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel.img} |
|
309 | KERNEL_IMAGE=${KERNEL_IMAGE:=kernel.img} | |
310 | CROSS_COMPILE=${CROSS_COMPILE:=arm-linux-gnueabi-} |
|
310 | CROSS_COMPILE=${CROSS_COMPILE:=arm-linux-gnueabi-} | |
|
311 | ||||
|
312 | if [ $ENABLE_XORG = true ] ; then | |||
|
313 | if [$RELEASE = "stretch" ] || [$RELEASE = "oldstable" ] ; then | |||
|
314 | printf "\nBest support for armel architecture is provided under Debian stretch/oldstable. Choose yes to change release to Debian stretch[y/n] " | |||
|
315 | read -r confirm | |||
|
316 | if [ "$confirm" = "y" ] ; then | |||
|
317 | $RELEASE = "stretch" | |||
|
318 | fi | |||
|
319 | fi | |||
|
320 | fi | |||
|
321 | ||||
|
322 | # Make sure all missing required packages are installed | |||
|
323 | apt-get update && apt-get -qq -y install `echo "${MISSING_PACKAGES}" | sed "s/ //"` | |||
311 | fi |
|
324 | fi | |
312 |
|
325 | |||
313 | # Raspberry Pi model specific settings |
|
326 | # Raspberry Pi model specific settings |
@@ -56,14 +56,15 ENABLE_XORG=false | |||||
56 | ENABLE_RSYSLOG=true |
|
56 | ENABLE_RSYSLOG=true | |
57 | ENABLE_HWRANDOM=true |
|
57 | ENABLE_HWRANDOM=true | |
58 | ENABLE_IPV6=true |
|
58 | ENABLE_IPV6=true | |
59 | ENABLE_DHCP=false |
|
59 | ENABLE_WIFI_DHCP=false | |
|
60 | ENABLE_WIFI_DHCP | |||
60 | ENABLE_KEYGEN=true |
|
61 | ENABLE_KEYGEN=true | |
61 |
|
62 | |||
62 | NET_ADDRESS=192.168.1.101/24 |
|
63 | NET_ETH_ADDRESS=192.168.1.101/24 | |
63 | NET_GATEWAY=192.168.1.1 |
|
64 | NET_ETH_GATEWAY=192.168.1.1 | |
64 | NET_DNS_1=192.168.1.3 |
|
65 | NET_ETH_DNS_1=192.168.1.3 | |
65 | #NET_DNS_2=192.168.1.1 |
|
66 | #NET_ETH_DNS_2=192.168.1.1 | |
66 | NET_DNS_DOMAINS= |
|
67 | NET_ETH_DNS_DOMAINS= | |
67 | NTP=192.168.1.2 |
|
68 | NTP=192.168.1.2 | |
68 |
|
69 | |||
69 | ENABLE_REDUCE=true |
|
70 | ENABLE_REDUCE=true |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant