Project

General

Profile

Bug #26949

Invalid variable $release used in @initrd macro for FreeBSD

Added by Tuur Dutoit almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Unattended installations
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

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.

Associated revisions

Revision a96a0366 (diff)
Added by Tuur Dutoit almost 4 years ago

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.

History

#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

Also available in: Atom PDF