From b7761bc6e523d6dd590e34610d080c00a40fd9ba Mon Sep 17 00:00:00 2001 From: Amiga500 <16525337+Amiga500@users.noreply.github.com> Date: Wed, 6 Nov 2019 04:00:41 +0100 Subject: [PATCH 1/2] Update settings.html (#44) Name command in bolt isn't the same that what wrote on button: --- rootfs/standard/var/www/mynode/templates/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/standard/var/www/mynode/templates/settings.html b/rootfs/standard/var/www/mynode/templates/settings.html index c42d6a9d..0c8f6840 100644 --- a/rootfs/standard/var/www/mynode/templates/settings.html +++ b/rootfs/standard/var/www/mynode/templates/settings.html @@ -488,7 +488,7 @@
-
Re-scan Blockchain
+
Rescan Blockchain
Advanced: If you are having issues parsing the Bitcoin blockchain or blocks cannot be found, please try rescanning.
From d2910825a6c6c464b6d9a946e9a2b164b9d2b6fb Mon Sep 17 00:00:00 2001 From: Abhishek Shandilya Date: Wed, 6 Nov 2019 17:15:33 -0500 Subject: [PATCH 2/2] refactor make_rootfs.sh (#45) use for-loop instead of repeating code for each device --- make_rootfs.sh | 43 ++++++++----------------------------------- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/make_rootfs.sh b/make_rootfs.sh index 52ec9cda..480fdb3b 100755 --- a/make_rootfs.sh +++ b/make_rootfs.sh @@ -1,37 +1,10 @@ #!/bin/bash -### Clear existing rootfs ### -#rm -rf out/rootfs* -mkdir -p out/rootfs_rock64/ -mkdir -p out/rootfs_raspi3/ -mkdir -p out/rootfs_raspi4/ -mkdir -p out/rootfs_debian/ - - -### Make rock64 rootfs ### -rsync -r -u rootfs/standard/* out/rootfs_rock64/ -rsync -r -u rootfs/rock64/* out/rootfs_rock64/ -rsync -r -u CHANGELOG out/rootfs_rock64/usr/share/mynode/changelog -rm -f out/mynode_rootfs_rock64.tar.gz -tar -zcvf out/mynode_rootfs_rock64.tar.gz ./out/rootfs_rock64/* - -### Make raspi3 rootfs ### -rsync -r -u rootfs/standard/* out/rootfs_raspi3/ -rsync -r -u rootfs/raspi3/* out/rootfs_raspi3/ -rsync -r -u CHANGELOG out/rootfs_raspi3/usr/share/mynode/changelog -rm -f out/mynode_rootfs_raspi3.tar.gz -tar -zcvf out/mynode_rootfs_raspi3.tar.gz ./out/rootfs_raspi3/* - -### Make raspi4 rootfs ### -rsync -r -u rootfs/standard/* out/rootfs_raspi4/ -rsync -r -u rootfs/raspi4/* out/rootfs_raspi4/ -rsync -r -u CHANGELOG out/rootfs_raspi4/usr/share/mynode/changelog -rm -f out/mynode_rootfs_raspi4.tar.gz -tar -zcvf out/mynode_rootfs_raspi4.tar.gz ./out/rootfs_raspi4/* - -### Make debian rootfs ### -rsync -r -u rootfs/standard/* out/rootfs_debian/ -rsync -r -u rootfs/debian/* out/rootfs_debian/ -rsync -r -u CHANGELOG out/rootfs_debian/usr/share/mynode/changelog -rm -f out/mynode_rootfs_debian.tar.gz -tar -zcvf out/mynode_rootfs_debian.tar.gz ./out/rootfs_debian/* +for i in 'rock64' 'raspi3' 'raspi4' 'debian'; do + mkdir -p out/rootfs_$i/ + rsync -r -u rootfs/standard/* out/rootfs_$i/ + rsync -r -u rootfs/$i/* out/rootfs_$i/ + rsync -r -u CHANGELOG out/rootfs_$i/usr/share/mynode/changelog + rm -f out/mynode_rootfs_$i.tar.gz + tar -zcvf out/mynode_rootfs_$i.tar.gz ./out/rootfs_$i/* +done