Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 899354 Details for
Bug 1100504
rescue boot entry is listed first
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
new-kernel-pkg --rpmpost-trans need to immediately follow install
0004-move-new-kernel-pkg-rpmposttrans-to-end-of-install.patch (text/plain), 2.18 KB, created by
Gene Czarcinski
on 2014-05-26 19:11:14 UTC
(
hide
)
Description:
new-kernel-pkg --rpmpost-trans need to immediately follow install
Filename:
MIME Type:
Creator:
Gene Czarcinski
Created:
2014-05-26 19:11:14 UTC
Size:
2.18 KB
patch
obsolete
>From 84de84ddbe8bd6f13f1dea3d3582c235ddbdd0d2 Mon Sep 17 00:00:00 2001 >From: Gene Czarcinski <gene@czarc.net> >Date: Mon, 26 May 2014 09:52:09 -0400 >Subject: [PATCH 4/4] move new-kernel-pkg rpmposttrans to end of install >Content-Type: text/plain; charset="utf-8" >Content-Transfer-Encoding: 8bit > >This address BZ 1099627 and BZ 1100504. > >A regular DVD or network install creates the rescue kernel >and initramfs as part of the install performed by anaconda-yum >and not postInstall. > >This needs to be done in Live also so that when the bootloader >configuration file is created, it has the correct files to work with. > >Note the comment in the code that says it must be done before >bootloader. >--- > pyanaconda/packaging/livepayload.py | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > >diff --git a/pyanaconda/packaging/livepayload.py b/pyanaconda/packaging/livepayload.py >index 42f9793..be0ea91 100644 >--- a/pyanaconda/packaging/livepayload.py >+++ b/pyanaconda/packaging/livepayload.py >@@ -144,6 +144,12 @@ class LiveImagePayload(ImagePayload): > self.pct = 100 > threadMgr.wait(THREAD_LIVE_PROGRESS) > >+ # Live needs to create the rescue image before bootloader is written >+ for kernel in self.kernelVersionList: >+ log.info("Generating rescue image for %s", kernel) >+ iutil.execInSysroot("new-kernel-pkg", >+ ["--rpmposttrans", kernel]) >+ > def postInstall(self): > """ Perform post-installation tasks. """ > progressQ.send_message(_("Performing post-installation setup tasks")) >@@ -151,12 +157,6 @@ class LiveImagePayload(ImagePayload): > > super(LiveImagePayload, self).postInstall() > >- # Live needs to create the rescue image before bootloader is written >- for kernel in self.kernelVersionList: >- log.info("Generating rescue image for %s", kernel) >- iutil.execInSysroot("new-kernel-pkg", >- ["--rpmposttrans", kernel]) >- > # Make sure the new system has a machine-id, it won't boot without it > if not os.path.exists(iutil.getSysroot()+"/etc/machine-id"): > iutil.execInSysroot("systemd-machine-id-setup", []) >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1100504
:
898512
|
898513
|
898514
| 899354