Generating release material from FreeBSD's build system in the https://github.com/FreeBSD/freebsd-src repository uses pkg's -o METALOG=METALOG option to complete file lists, when including packages in the release files generated. The file list is then provided to makefs(8) for the final step.
Unfortunately pkg fails to escape spaces in filenames in its METALOG output, breaking proper parsing for its consumer. From what I learned, this requires escaping as an octal character (e.g., as "\040") to conform with the specification.
See #2754 for a possible resolution.
Generating release material from FreeBSD's build system in the https://github.com/FreeBSD/freebsd-src repository uses pkg's
-o METALOG=METALOGoption to complete file lists, when including packages in the release files generated. The file list is then provided tomakefs(8)for the final step.Unfortunately pkg fails to escape spaces in filenames in its
METALOGoutput, breaking proper parsing for its consumer. From what I learned, this requires escaping as an octal character (e.g., as"\040") to conform with the specification.See #2754 for a possible resolution.