pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
298 stars 107 forks source link

image-ext2: use single quotes around label for mke2fs #250

Closed ian-abbott closed 1 month ago

ian-abbott commented 1 month ago

When the volume label is set using tune2fs, the parameter is wrapped in single quotes, so do the same when the label is set using mke2fs. This allows the label to contain spaces and other special characters (except for single quotes!).

ian-abbott commented 1 month ago

Want to change the PR to pull from a topic branch instead of master.