Invalid variable $release used in @initrd macro for FreeBSD
The @initrd macro defined for FreeBSD here) uses the variable '$release', which only exists for Debian and Solaris systems, according to the documentation. For me, this results in the following path: boot/FreeBSD-x86_64--mfs.img
This should probably be boot/FreeBSD-x86_64-12.0-mfs.img
I suppose the fix should be as simple as substituting the $release variable for the $version variable.
#1 Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6824 added
#2 Updated by Tomer Brisker almost 4 years ago
- Assignee set to Tuur Dutoit
- Category set to Unattended installations
- Fixed in Releases 1.23.0 added
#3 Updated by Tomer Brisker almost 4 years ago
- Fixed in Releases 1.22.1 added
#4 Updated by Tuur Dutoit almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset a96a03664cc009c53d45bd73062ae8b5122fc95c.
Fixes #26949 - Use $version instead of $release for FreeBSD
The `$release` variable only exists for Debian and Solaris. On FreeBSD, the @initrd macro should use `$version`.
Some other small fixes for the FreeBSD OS were added, as well as some tests.