mirror of
				https://gitlab.com/alemaire/image-specs.git
				synced 2025-01-17 17:48:20 +00:00 
			
		
		
		
	Merge branch 'patch-1' into 'master'
Update rpi-resizerootfs See merge request raspi-team/image-specs!17
This commit is contained in:
		| @@ -1,9 +1,7 @@ | ||||
| #!/bin/sh | ||||
|  | ||||
| roottmp=$(lsblk -l -o NAME,MOUNTPOINT | grep '/$') | ||||
| rootpart=/dev/${roottmp%% */} | ||||
| rootdev=${rootpart%2} | ||||
| rootdev=${rootdev%p} | ||||
| rootpart="$(findmnt -n -o SOURCE /)" | ||||
| rootdev="/dev/$(lsblk -no pkname "$rootpart")" | ||||
|  | ||||
| flock $rootdev sfdisk -f $rootdev -N 2 <<EOF | ||||
| ,+ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Gunnar Wolf
					Gunnar Wolf