From 0de3ad9f51a21556adebf6cc1f6929091a4d8dae Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 26 May 2014 15:57:13 -0400 Subject: [PATCH 17/20] rpmostreepayload: Don't recreateInitrds for this payload The OSTree replication design has the initramfs generated on a compose server. Avoid regenerating them locally. Resolves: rhbz#1113535 Port of rpmostreepayload patches from master commit 528b6215fff48337b45edfa2dbc548c54437b42b --- pyanaconda/packaging/rpmostreepayload.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyanaconda/packaging/rpmostreepayload.py b/pyanaconda/packaging/rpmostreepayload.py index 0210017..b425ec4 100644 --- a/pyanaconda/packaging/rpmostreepayload.py +++ b/pyanaconda/packaging/rpmostreepayload.py @@ -197,6 +197,12 @@ class RPMOSTreePayload(ArchivePayload): ["--create", "--boot", "--root=" + iutil.getSysroot(), "--prefix=/var/" + varsubdir]) + def recreateInitrds(self, force=False): + # For rpmostree payloads, we're replicating an initramfs from + # a compose server, and should never be regenerating them + # per-machine. + pass + def postInstall(self): super(RPMOSTreePayload, self).postInstall() -- 1.9.3