We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fad71e1 commit b50ac8dCopy full SHA for b50ac8d
packages/bsp/common/usr/bin/armbian-install
@@ -20,7 +20,7 @@
20
# $4 = :space: separated list of all MTD device names
21
# Note: MTD char device names are passed in format device_name:partition_label - e.g.: mtd0:SPL
22
23
-trap "exit" INT TERM
+trap "systemctl start docker >/dev/null 2>&1; exit" INT TERM
24
[[ $EUID != 0 ]] && exec sudo "$0" "$@"
25
26
[[ -f /usr/lib/u-boot/platform_install.sh ]] && source /usr/lib/u-boot/platform_install.sh
@@ -126,6 +126,9 @@ create_armbian()
126
# UUID=xxx...
127
satauuid=$(blkid -o export "$2" | grep -w UUID)
128
129
+ # disable docker before start
130
+ systemctl is-active --quiet docker && systemctl stop docker
131
+
132
# write information to log
133
echo -e "\nOld UUID: ${root_uuid}" >> $logfile
134
echo "SD UUID: $sduuid" >> $logfile
0 commit comments