From 4d6d9a4a1ade551d11d58716f816f5a16512d276 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 25 Jan 2018 20:10:43 +0100 Subject: [PATCH] fix boot --- README.md | 4 ++-- adjust_image.sh | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cb3f2ad..1459b43 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ This addon can be used to easily up- and downgrade the RaspberryMatic system. ## Installation * Download adjusted RaspberryMatic image: - * [RaspberryMatic-2.31.25.20180120-rpi0.rmupdate.img.zip](https://www.dropbox.com/s/zvtdsky7975b77c/RaspberryMatic-2.31.25.20180120-rpi0.rmupdate.img.zip) SHA256 sum: 8861c94201080438aa12a1a175976037eec10754d15fb40604dc2ff7de351094 - * [RaspberryMatic-2.31.25.20180120-rpi3.rmupdate.img.zip](https://www.dropbox.com/s/js9exepqj4mvfok/RaspberryMatic-2.31.25.20180120-rpi3.rmupdate.img.zip) SHA256 sum: 83877c057deb68026283d71512c1da0780f747cc98fa89e898af584d3b079371 + * [RaspberryMatic-2.31.25.20180120-rpi0.rmupdate.img.zip](https://www.dropbox.com/s/rf3rz20d6dw47lb/RaspberryMatic-2.31.25.20180120-rpi0.rmupdate.img.zip) SHA256 sum: 6521d371aa06bf40c0d32bf0d44108d97ca469c1ea96b028a687aab3cf3e76c7 + * [RaspberryMatic-2.31.25.20180120-rpi3.rmupdate.img.zip](https://www.dropbox.com/s/doeqrlz7q91k8ik/RaspberryMatic-2.31.25.20180120-rpi3.rmupdate.img.zip) SHA256 sum: f8698789497c38800ce4ee66ea7e38a62299d301c8590fe066ae5b7fd1d75065 * Install adjusted RaspberryMatic image like described at [RaspberryMatic project](https://github.com/jens-maus/RaspberryMatic) * Download [addon package](https://github.com/j-a-n/raspberrymatic-addon-rmupdate/raw/master/rmupdate.tar.gz) * Install addon package on RaspberryMatic via system control diff --git a/adjust_image.sh b/adjust_image.sh index 3abe6bc..cd886b2 100755 --- a/adjust_image.sh +++ b/adjust_image.sh @@ -96,9 +96,7 @@ mount /dev/mapper/loop${LOOP_DEV}p1 /tmp/rmupdate.mnt bootconf=cmdline.txt [ $tinker == 1 ] && bootconf=extlinux/extlinux.conf -if [ $tinker == 1 ]; then - sed -i -r s"/root=\S+/root=PARTUUID=${partuuid}/" /tmp/rmupdate.mnt/${bootconf} -fi +sed -i -r s"/root=\S+/root=PARTUUID=${partuuid}/" /tmp/rmupdate.mnt/${bootconf} umount /tmp/rmupdate.mnt rm /tmp/rmupdate.boot.tar