pungi: do not generate upgrade.img
We do not support in-place upgrades this way.
This commit is contained in:
parent
c254186978
commit
a0060ff53f
11
pungi/disable-upgrade.patch
Normal file
11
pungi/disable-upgrade.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- pungi-3.12/src/pypungi/__init__.py.orig 2015-03-23 13:24:45.173223580 +0100
|
||||
+++ pungi-3.12/src/pypungi/__init__.py 2015-03-23 13:24:59.222835656 +0100
|
||||
@@ -1411,7 +1411,7 @@
|
||||
|
||||
lorax.run(self.ayum, product=product, version=version, release=release,
|
||||
variant=variant, bugurl=bugurl, isfinal=isfinal, domacboot=domacboot,
|
||||
- workdir=workdir, outputdir=outputdir)
|
||||
+ workdir=workdir, outputdir=outputdir, doupgrade=False)
|
||||
|
||||
# write out the tree data for snake
|
||||
self.writeinfo('tree: %s' % self.mkrelative(self.topdir))
|
@ -17,6 +17,7 @@ Patch0: support-verify-downloaded-packages.patch
|
||||
Patch1: disable-efi.patch
|
||||
Patch2: effective-nosource-option.patch
|
||||
Patch3: fix-recursive-partition-table-on-iso-image.patch
|
||||
Patch4: disable-upgrade.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: yum => 3.4.3-28, repoview, createrepo >= 0.4.11
|
||||
Requires: lorax
|
||||
@ -35,6 +36,7 @@ A tool to create anaconda based installation trees/isos of a set of rpms.
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
Loading…
Reference in New Issue
Block a user