[anaconda][rhel6-branch][PATCH] Add major release number to the boot menu entries

Martin Kolman mkolman at redhat.com
Thu Jun 12 12:59:43 UTC 2014


While the relevant bugreport (#1001960) seems to expect a full major.minor release
number in the boot entry, after discussing this a bit with Vratislav I don't think
it would be a good idea, as minor version upgrades currently don't change existing
boot entries. This would mean that if you installed 6.6, then upgraded it to 6.7, 6.8,
etc. the boot menu entry would still report "Red Hat Enterprise Linux 6.6",
which would be rather confusing.

Also it looks like there is some code for working with the boot entries that
works with the boot entries and tries to match them to the current product name.
This code could be confused by entries containing major version but at the same
time still needs to handle the "old" entries that don't contain the version number.

The productName variable is used in many places so I hope I haven't missed to
fix any important piece of code using it.


Martin Kolman (1):
  The boot menu entry should contain the RHEL major release number
    (#1001960)

 booty/bootloaderInfo.py | 18 +++++++++++++-----
 booty/x86.py            |  5 ++---
 product.py              |  4 ++++
 3 files changed, 19 insertions(+), 8 deletions(-)

-- 
1.9.3



More information about the anaconda-patches mailing list