Venom1991 / refind-btrfs

Generate rEFInd manual boot stanzas from Btrfs snapshots
GNU General Public License v3.0
144 stars 8 forks source link

Spaces in volume name create config file with unsupported name #15

Closed chrisvigil closed 2 years ago

chrisvigil commented 2 years ago

My manual boot stanza originally contained a functional manual boot stanza containing the line volume "Arch Linux"

This lead to the creation of the override file named "arch linux_vmlinuz-linux.conf" and the line include btrfs-snapshot-stanzas/arch linux_vmlinuz-linux.conf

The space in the file name caused refind to not include the file and thus the generated manual boot stanza did not show up in the rEFInd menu.

I was able to resolve my issue by changing the volume name to "Arch" but refind-btrfs should probably make sue not to create file names unsupported by rEFInd.

Venom1991 commented 2 years ago

Nice catch!
Yeah, I'll just replace the white-space characters (if any) with underscores. That should do it.

Venom1991 commented 2 years ago

Fixed in release 0.3.11.