Increase boot.iso rootfs to 3GiB
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
parent
0620274eca
commit
58cfa8151f
32
0001-Change-rootfs-default-size-to-3GiB.patch
Normal file
32
0001-Change-rootfs-default-size-to-3GiB.patch
Normal file
@ -0,0 +1,32 @@
|
||||
From 787ac30c410e342b496d589bed142e474a467d54 Mon Sep 17 00:00:00 2001
|
||||
From: Stephen Gallagher <sgallagh@redhat.com>
|
||||
Date: Wed, 28 Oct 2020 08:41:04 -0400
|
||||
Subject: [PATCH] Change rootfs default size to 3GiB
|
||||
|
||||
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
|
||||
---
|
||||
src/pylorax/cmdline.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/pylorax/cmdline.py b/src/pylorax/cmdline.py
|
||||
index 59e851d3d46523f6cb82cd2796309f13c38d44c8..4ac7934b74667884f0be41df58f2762cd9a79081 100644
|
||||
--- a/src/pylorax/cmdline.py
|
||||
+++ b/src/pylorax/cmdline.py
|
||||
@@ -101,12 +101,12 @@ def lorax_parser(dracut_default=""):
|
||||
help="Directory containing all the templates. Overrides config file sharedir")
|
||||
optional.add_argument("--enablerepo", action="append", default=[], dest="enablerepos",
|
||||
metavar="[repo]", help="Names of repos to enable")
|
||||
optional.add_argument("--disablerepo", action="append", default=[], dest="disablerepos",
|
||||
metavar="[repo]", help="Names of repos to disable")
|
||||
- optional.add_argument("--rootfs-size", type=int, default=2,
|
||||
- help="Size of root filesystem in GiB. Defaults to 2.")
|
||||
+ optional.add_argument("--rootfs-size", type=int, default=3,
|
||||
+ help="Size of root filesystem in GiB. Defaults to 3.")
|
||||
optional.add_argument("--noverifyssl", action="store_true", default=False,
|
||||
help="Do not verify SSL certificates")
|
||||
optional.add_argument("--dnfplugin", action="append", default=[], dest="dnfplugins",
|
||||
help="Enable a DNF plugin by name/glob, or * to enable all of them.")
|
||||
optional.add_argument("--squashfs-only", action="store_true", default=False,
|
||||
--
|
||||
2.28.0
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
Name: lorax
|
||||
Version: 34.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Tool for creating the anaconda install images
|
||||
|
||||
License: GPLv2+
|
||||
@ -15,6 +15,9 @@ URL: https://github.com/weldr/lorax
|
||||
# tito build --tgz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
# Increase boot.iso rootfs to 3GiB rhbz#1661169
|
||||
Patch0000: 0001-Change-rootfs-default-size-to-3GiB.patch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: systemd-rpm-macros
|
||||
@ -148,6 +151,7 @@ build images, etc. from the command line.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0000 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -196,6 +200,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
||||
%{_mandir}/man1/composer-cli.1*
|
||||
|
||||
%changelog
|
||||
* Wed Oct 28 2020 Stephen Gallagher <sgallagh@redhat.com> - 34.3-3
|
||||
- Increase boot.iso rootfs to 3GiB
|
||||
|
||||
* Tue Oct 27 2020 Brian C. Lane <bcl@redhat.com> - 34.3-2
|
||||
- Require lorax-templates-rhel for RHEL9
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user