mirror of
https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
synced 2023-10-10 13:37:40 +02:00
fix boot
This commit is contained in:
parent
16583a16cf
commit
4d6d9a4a1a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user