mirror of
				https://github.com/j-a-n/raspberrymatic-addon-rmupdate.git
				synced 2023-10-10 11:37:40 +00:00 
			
		
		
		
	fix boot
This commit is contained in:
		| @@ -6,8 +6,8 @@ This addon can be used to easily up- and downgrade the RaspberryMatic system. | |||||||
|  |  | ||||||
| ## Installation | ## Installation | ||||||
| * Download adjusted RaspberryMatic image: | * 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-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/js9exepqj4mvfok/RaspberryMatic-2.31.25.20180120-rpi3.rmupdate.img.zip) SHA256 sum: 83877c057deb68026283d71512c1da0780f747cc98fa89e898af584d3b079371 |   * [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) | * 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) | * 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 | * 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 | bootconf=cmdline.txt | ||||||
| [ $tinker == 1 ] && bootconf=extlinux/extlinux.conf | [ $tinker == 1 ] && bootconf=extlinux/extlinux.conf | ||||||
| if [ $tinker == 1 ]; then |  | ||||||
| sed -i -r s"/root=\S+/root=PARTUUID=${partuuid}/" /tmp/rmupdate.mnt/${bootconf} | sed -i -r s"/root=\S+/root=PARTUUID=${partuuid}/" /tmp/rmupdate.mnt/${bootconf} | ||||||
| fi |  | ||||||
| umount /tmp/rmupdate.mnt | umount /tmp/rmupdate.mnt | ||||||
|  |  | ||||||
| rm /tmp/rmupdate.boot.tar | rm /tmp/rmupdate.boot.tar | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user