瀏覽代碼

Merge branch 'stretch' of https://github.com/bashrc/freedombone

Bob Mottram 6 年之前
父節點
當前提交
80a98b7cd5

+ 1
- 0
doc/EN/boards.org 查看文件

@@ -20,6 +20,7 @@ The following ARM boards are supported by the build system. If your board isn't
20 20
  - a20-olinuxino-lime
21 21
  - a20-olinuxino-lime2
22 22
  - a20-olinuxino-micro
23
+ - [[http://www.lemaker.org/product-bananapro-index.html][Lemaker Banana Pro]]
23 24
 
24 25
 The latest image builds can be [[./downloads/current][found here]].
25 26
 

二進制
man/freedombone-image.1.gz 查看文件


+ 10
- 9
src/freedombone-image 查看文件

@@ -697,7 +697,7 @@ Image was created.
697 697
 "
698 698
 fi
699 699
 
700
-ls -lh ${PROJECT_NAME}*.img ${PROJECT_NAME}*.sig ${PROJECT_NAME}*.xz ${PROJECT_NAME}*.vdi ${PROJECT_NAME}*.qcow2
700
+#ls -lh ${PROJECT_NAME}*.img ${PROJECT_NAME}*.sig ${PROJECT_NAME}*.xz ${PROJECT_NAME}*.vdi ${PROJECT_NAME}*.qcow2
701 701
 
702 702
 # Remove the mesh script after use
703 703
 if [[ $VARIANT == "mesh"* ]]; then
@@ -710,16 +710,17 @@ Password: $PASSWORD" > "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
710 710
 chmod 600 "${CURR_DIR}/${PROJECT_NAME}_login_credentials.txt"
711 711
 
712 712
 if [[ $IMAGE_TYPE != "qemu"* ]]; then
713
+    IMAGE_FILENAME=$(find "${CURR_DIR}" -name "*.img" | head -n 1 | awk -F '/' '{print $2}')
714
+
713 715
     echo ''
714
-    if [[ $VARIANT != 'meshclient' && $VARIANT != 'meshusb' ]]; then
715
-        echo $'You can copy the image to a microSD card with:'
716
-    else
717
-        echo $'You can copy the image to a USB drive with:'
718
-    fi
716
+    echo $'To compress:'
717
+    echo ''
718
+    echo "  xz --no-warn --verbose --keep --threads=0 -3 ${IMAGE_FILENAME}"
719
+    echo ''
720
+    echo 'To copy to microSD, USB drive or SSD'
719 721
     echo ''
720
-    echo "    unxz -k ${PROJECT_NAME}*.img.xz"
721
-    echo '    sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8'
722
-    echo "    sudo dd bs=32M if=${PROJECT_NAME}*.img of=/dev/sdX conv=fdatasync,sync,noerror"
722
+    echo '  sudo dd if=/dev/zero of=/dev/sdX bs=32M count=8'
723
+    echo "  sudo dd bs=32M if=${IMAGE_FILENAME} of=/dev/sdX conv=fdatasync,sync,noerror"
723 724
     echo ''
724 725
 fi
725 726
 

+ 7
- 1
src/freedombone-image-customise 查看文件

@@ -1049,11 +1049,13 @@ mesh_client_startup_applications() {
1049 1049
       echo 'dconf write /org/mate/power-manager/lock-hibernate false';
1050 1050
       echo 'dconf write /org/mate/power-manager/lock-keyring-hibernate false';
1051 1051
       echo 'dconf write /org/mate/desktop/peripherals/touchpad/scroll-method 2';
1052
+      echo '#dconf write /org/mate/desktop.a11y.applications/screen-reader-enabled true';
1053
+      echo '#dconf write /org/mate/interface/accessibility true';
1054
+      echo '#dconf write /org/mate/applications-at-visual/startup true';
1052 1055
       echo "touch /home/$MY_USERNAME/.dbus/Xdbus";
1053 1056
       echo "chmod 600 /home/$MY_USERNAME/.dbus/Xdbus";
1054 1057
       echo "env | grep DBUS_SESSION_BUS_ADDRESS > /home/$MY_USERNAME/.dbus/Xdbus";
1055 1058
       echo "echo 'export DBUS_SESSION_BUS_ADDRESS' >> /home/$MY_USERNAME/.dbus/Xdbus";
1056
-
1057 1059
       echo '';
1058 1060
       echo "amixer set 'Master' unmute";
1059 1061
       echo "amixer set 'Master' 50%";
@@ -1167,6 +1169,10 @@ configure_user_interface() {
1167 1169
     # for gtk dialog entry
1168 1170
     chroot "$rootdir" apt-get -yq install zenity
1169 1171
 
1172
+    # accessibility
1173
+    #chroot "$rootdir" apt-get -yq -t stretch-backports install gnome-orca
1174
+    #chroot "$rootdir" apt-get -yq install festival
1175
+
1170 1176
     # Produce a text file on the desktop listing users on the mesh
1171 1177
     cat <<EOF > "$rootdir/usr/bin/list-tox-users"
1172 1178
 #!/bin/bash

+ 4
- 0
src/freedombone-image-hardware-setup 查看文件

@@ -258,6 +258,10 @@ case "$MACHINE" in
258 258
         a20_setup_boot sun7i-a20-olinuxino-micro.dtb "$EXTERNAL_DRIVE"
259 259
         enable_serial_console ttyS0
260 260
         ;;
261
+    banana-pro)
262
+        a20_setup_boot sun7i-a20-bananapro.dtb "$EXTERNAL_DRIVE"
263
+        enable_serial_console ttyS0
264
+        ;;
261 265
     cubieboard2)
262 266
         a20_setup_boot sun7i-a20-cubieboard2.dtb "$EXTERNAL_DRIVE"
263 267
         enable_serial_console ttyS0

+ 1
- 1
src/freedombone-image-make 查看文件

@@ -119,7 +119,7 @@ case "$MACHINE" in
119 119
  --roottype btrfs \
120 120
 "
121 121
         ;;
122
-    cubietruck | a20-olinuxino-lime | a20-olinuxino-lime2 | a20-olinuxino-micro | cubieboard2 | pcduino3)
122
+    cubietruck | a20-olinuxino-lime | a20-olinuxino-lime2 | a20-olinuxino-micro | cubieboard2 | pcduino3 | banana-pro)
123 123
         extra_pkgs="$a20_pkgs"
124 124
         extra_opts="\
125 125
  --variant minbase \

+ 11
- 0
src/freedombone-image-makefile 查看文件

@@ -111,6 +111,17 @@ cubieboard2: prep
111 111
 	$(SIGN)
112 112
 	@echo "Build complete."
113 113
 
114
+# build Banana Pro SD card image
115
+banana-pro: prep
116
+	$(eval ARCHITECTURE = armhf)
117
+	$(eval MACHINE = banana-pro)
118
+	$(MAKE_IMAGE)
119
+	@rm -f $(ARCHIVE)
120
+	$(XZ)
121
+	@echo ""
122
+	$(SIGN)
123
+	@echo "Build complete."
124
+
114 125
 # build PCDuino3 SD card image
115 126
 pcduino3: prep
116 127
 	$(eval ARCHITECTURE = armhf)

+ 1
- 1
src/freedombone-utils-nodejs 查看文件

@@ -33,7 +33,7 @@ VARIANTS='mesh'
33 33
 
34 34
 # change these versions at your peril. Things will often crash if you don't
35 35
 # have specifically the correct versions
36
-NODEJS_VERSION='8.11.1'
36
+NODEJS_VERSION='8.11.2'
37 37
 NODEJS_N_VERSION='2.1.7'
38 38
 NPM_VERSION='5.8.0'
39 39
 

+ 5
- 4
website/EN/boards.html 查看文件

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2018-04-15 Sun 18:22 -->
6
+<!-- 2018-05-17 Thu 18:48 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title>&lrm;</title>
@@ -242,9 +242,9 @@ for the JavaScript code in this tag.
242 242
 </p>
243 243
 </div>
244 244
 
245
-<div id="outline-container-org8a04b66" class="outline-2">
246
-<h2 id="org8a04b66">Supported ARM boards</h2>
247
-<div class="outline-text-2" id="text-org8a04b66">
245
+<div id="outline-container-org4cb621d" class="outline-2">
246
+<h2 id="org4cb621d">Supported ARM boards</h2>
247
+<div class="outline-text-2" id="text-org4cb621d">
248 248
 <p>
249 249
 The following ARM boards are supported by the build system. If your board isn't listed here then you may still be able to install Freedombone using <a href="./armbian.html">Armbian</a>.
250 250
 </p>
@@ -257,6 +257,7 @@ The following ARM boards are supported by the build system. If your board isn't
257 257
 <li>a20-olinuxino-lime</li>
258 258
 <li>a20-olinuxino-lime2</li>
259 259
 <li>a20-olinuxino-micro</li>
260
+<li><a href="http://www.lemaker.org/product-bananapro-index.html">Lemaker Banana Pro</a></li>
260 261
 </ul>
261 262
 
262 263
 <p>