diff options
Diffstat (limited to 'lilo.py')
-rw-r--r-- | lilo.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -307,7 +307,8 @@ class LiloConfiguration: kernelList.append((label, hdList['kernel'], "")) for (label, kernel, tag) in kernelList: - kernelTag = "-%s-%s%s" % (kernel['version'], kernel['release'], tag) + kernelTag = "-%s-%s%s" % (kernel[rpm.RPMTAG_VERSION], + kernel[rpm.RPMTAG_RELEASE], tag) kernelFile = "/boot/vmlinuz" + kernelTag try: |