sdm
sdm copied to clipboard
Add ability to assign FS label in parted plugin
It would be great if we can set a FS label when creating partitions with parted plugin.
I did some PoC here (checked for ext4 and should work for FAT): https://github.com/ykharuzhy/sdm/commit/611edfc0ea613c3ffbfea925bec9126e52ebb7a0
Example:
sdm" --batch --burnfile "$out_image" --burn-plugin parted:"addpartition=1024,ext4,primary,overlayroot+128,ext4,primary,media" "$out_image.tmp"