From 19f8b6200506039281ecfcb671bb4f4b063a2317 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 17 Sep 2019 19:39:01 -0500 Subject: [PATCH] Move changelog to root folder --- rootfs/standard/usr/share/mynode/changelog => CHANGELOG | 0 make_rootfs.sh | 3 +++ make_rootfs_auto.sh | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) rename rootfs/standard/usr/share/mynode/changelog => CHANGELOG (100%) diff --git a/rootfs/standard/usr/share/mynode/changelog b/CHANGELOG similarity index 100% rename from rootfs/standard/usr/share/mynode/changelog rename to CHANGELOG diff --git a/make_rootfs.sh b/make_rootfs.sh index 0fc6c622..9678b421 100755 --- a/make_rootfs.sh +++ b/make_rootfs.sh @@ -9,17 +9,20 @@ mkdir -p out/rootfs_raspi4/ ### Make rock64 rootfs ### cp -rf rootfs/standard/* out/rootfs_rock64/ +cp -f 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 ### cp -rf rootfs/standard/* out/rootfs_raspi3/ cp -rf rootfs/raspi3/* out/rootfs_raspi3/ +cp -f 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 ### cp -rf rootfs/standard/* out/rootfs_raspi4/ cp -rf rootfs/raspi4/* out/rootfs_raspi4/ +cp -f 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/* diff --git a/make_rootfs_auto.sh b/make_rootfs_auto.sh index 39450bf9..ec6e0991 100755 --- a/make_rootfs_auto.sh +++ b/make_rootfs_auto.sh @@ -1,4 +1,4 @@ #!/bin/bash -fswatch $(dirname $0)/rootfs | (while read; do $(dirname $0)/make_rootfs.sh; echo "Update rootfs!"; done) +fswatch $(dirname $0)/rootfs $(dirname $0)/CHANGELOG | (while read; do $(dirname $0)/make_rootfs.sh; echo "Update rootfs!"; done)