|
@@ -94,6 +94,9 @@ WIFI_NETWORKS_FILE=~/${PROJECT_NAME}-wifi.cfg
|
94
|
94
|
# Whether to install non-free wifi drivers for the mesh client
|
95
|
95
|
INSECURE='no'
|
96
|
96
|
|
|
97
|
+# optional desktop background image for mesh
|
|
98
|
+MESH_DESKTOP_BACKGROUND_IMAGE=/usr/local/share/${PROJECT_NAME}_mesh_background.png
|
|
99
|
+
|
97
|
100
|
enable_eatmydata_override() {
|
98
|
101
|
chroot $rootdir apt-get install --no-install-recommends -y eatmydata
|
99
|
102
|
if [ -x $rootdir/usr/bin/eatmydata ] && \
|
|
@@ -1071,6 +1074,22 @@ function configure_user_interface {
|
1071
|
1074
|
# desktop
|
1072
|
1075
|
chroot "$rootdir" apt-get -y install mate-desktop-environment lightdm
|
1073
|
1076
|
|
|
1077
|
+ if [[ $VARIANT != "usb" ]]; then
|
|
1078
|
+ if [ $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
|
1079
|
+ if [ -f $MESH_DESKTOP_BACKGROUND_IMAGE ]; then
|
|
1080
|
+ if [ -d $rootdir/usr/share/plymouth/themes/joy ]; then
|
|
1081
|
+ cp $MESH_DESKTOP_BACKGROUND_IMAGE $rootdir/usr/share/plymouth/themes/joy/background.png
|
|
1082
|
+ fi
|
|
1083
|
+ if [ -d $rootdir/usr/share/plymouth/themes/lines ]; then
|
|
1084
|
+ cp $MESH_DESKTOP_BACKGROUND_IMAGE $rootdir/usr/share/plymouth/themes/lines/background.png
|
|
1085
|
+ fi
|
|
1086
|
+ if [ -d $rootdir/usr/share/plymouth/themes/spacefun ]; then
|
|
1087
|
+ cp $MESH_DESKTOP_BACKGROUND_IMAGE $rootdir/usr/share/plymouth/themes/spacefun/background.png
|
|
1088
|
+ fi
|
|
1089
|
+ fi
|
|
1090
|
+ fi
|
|
1091
|
+ fi
|
|
1092
|
+
|
1074
|
1093
|
# browser
|
1075
|
1094
|
chroot "$rootdir" apt-get -y install iceweasel
|
1076
|
1095
|
|