Compare commits

...

10 Commits
rawhide ... f25

Author SHA1 Message Date
Brian C. Lane a80378285d - Remove filegraft from arm.tmpl (#1457906) (bcl@redhat.com)
- Use anaconda-core to detect buildarch (sgallagh@redhat.com)
2017-06-01 08:19:49 -07:00
Brian C. Lane c845e2e013 - arm.tmpl import basename (#1457055) (bcl@redhat.com) 2017-05-31 08:43:32 -07:00
Brian C. Lane 3a8f4b7cc2 - Try all packages when installpkg --optional is used. (bcl@redhat.com)
- livemedia-creator: Add release license files to / of the iso (bcl@redhat.com)
- lorax: Add release license files to / of the iso (bcl@redhat.com)
- INSTALL_ROOT and LIVE_ROOT are not available during %post (bcl@redhat.com)
- Add --noverifyssl to lorax (#1430483) (bcl@redhat.com)
2017-05-30 11:51:22 -07:00
Brian C. Lane 693f6ccad3 - Create /dev/random and /dev/urandom before running rpm -qa (#1420523) (bcl@redhat.com) 2017-02-22 10:26:16 -08:00
Brian C. Lane 95f01c8351 - Print the full NEVRA when installing packages. (bcl@redhat.com)
- Only cleanup libhistory from readline (dennis@ausil.us)
2017-02-06 10:32:40 -08:00
Brian C. Lane f9f4ba9843 - Add missing fonts (#1370118) (vponcova@redhat.com)
- drop ssh server key generation for s390(x) (#1383641) (dan@danny.cz)
2016-10-17 17:42:59 -07:00
Brian C. Lane e557602cd9 - Fix broken sshd.inst boot option (#1378378) (jjelen@redhat.com)
- Don't log dracut initrd regeneration messages into /tmp/syslog (#1369439) (rvykydal@redhat.com)
- Use imjournal for rsyslogd instead of sharing /dev/log with journal (#1369439) (rvykydal@redhat.com)
- livemedia-creator: Check for packaging failures in the logs (#1374809) (bcl@redhat.com)
- templates: Enusre basic.target.wants dir exists for rngd (walters@verbum.org)
2016-09-26 12:10:57 -07:00
Brian C. Lane 06e8fda387 - Keep fsfreeze in install environment (#1315468) (rmarshall@redhat.com)
- Add ppc64le kernel path (mkumatag@in.ibm.com)
- Install storaged-iscsi to the runtime (#1347415) (vpodzime@redhat.com)
2016-09-08 12:31:37 -07:00
Brian C. Lane a1359c0dff - lorax: Add --rootfs-size (#1368743) (bcl@redhat.com)
- Revert "Use size=10 by default" (bcl@redhat.com)
2016-08-23 12:07:39 -07:00
Kevin Fenzi 3d98642b56 Actually apply last patch 2016-08-21 13:45:39 -06:00
6 changed files with 50 additions and 97 deletions

9
.gitignore vendored
View File

@ -92,3 +92,12 @@
/lorax-25.11.tar.gz
/lorax-25.12.tar.gz
/lorax-25.13.tar.gz
/lorax-25.14.tar.gz
/lorax-25.15.tar.gz
/lorax-25.16.tar.gz
/lorax-25.17.tar.gz
/lorax-25.18.tar.gz
/lorax-25.19.tar.gz
/lorax-25.20.tar.gz
/lorax-25.21.tar.gz
/lorax-25.22.tar.gz

View File

@ -1,27 +0,0 @@
From 893c2b59b01bac9ab8ef6764ed4b33f353a4d745 Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis@ausil.us>
Date: Thu, 18 Aug 2016 16:31:34 -0500
Subject: [PATCH 1/3] in additoon to running fuser on /dev/shm also run ls to
see whats in it
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
---
src/pylorax/imgutils.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py
index ca27e2c..68ec70a 100644
--- a/src/pylorax/imgutils.py
+++ b/src/pylorax/imgutils.py
@@ -218,6 +218,8 @@ def umount(mnt, lazy=False, maxretry=3, retrysleep=1.0, delete=True):
if logger.getEffectiveLevel() <= logging.DEBUG:
fuser = execWithCapture("fuser", ["-vm", mnt])
logger.debug("fuser -vm:\n%s\n", fuser)
+ ls = execWithCapture("ls", ["-lah", mnt])
+ logger.debug("ls -lah:\n%s\n", ls)
sleep(retrysleep)
else:
break
--
2.7.4

View File

@ -1,26 +0,0 @@
From 4428f16c9501c32d8ad159492bf728791d8d364a Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis@ausil.us>
Date: Fri, 19 Aug 2016 09:13:57 -0500
Subject: [PATCH 2/3] run lsof on the mountpoints that fail to unmount
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
---
src/pylorax/imgutils.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py
index 68ec70a..77f4eba 100644
--- a/src/pylorax/imgutils.py
+++ b/src/pylorax/imgutils.py
@@ -220,6 +220,8 @@ def umount(mnt, lazy=False, maxretry=3, retrysleep=1.0, delete=True):
logger.debug("fuser -vm:\n%s\n", fuser)
ls = execWithCapture("ls", ["-lah", mnt])
logger.debug("ls -lah:\n%s\n", ls)
+ lsof = execWithCapture("lsof", [mnt])
+ logger.debug("lsof\n%s\n", lsof)
sleep(retrysleep)
else:
break
--
2.7.4

View File

@ -1,28 +0,0 @@
From 9b6a262b7cbe6f7a54ed80ea43266e7d10a6be0c Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis@ausil.us>
Date: Fri, 19 Aug 2016 17:24:16 -0500
Subject: [PATCH 3/3] Revert "Use size=10 by default"
since this landed in rawhide composing has been broken on arm
This reverts commit e61223d486738c97369a98f81da7abd528c1cabf.
---
src/pylorax/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py
index f6955c4..aafd0c9 100644
--- a/src/pylorax/__init__.py
+++ b/src/pylorax/__init__.py
@@ -166,7 +166,7 @@ class Lorax(BaseLoraxClass):
isfinal=False, workdir=None, outputdir=None, buildarch=None, volid=None,
domacboot=True, doupgrade=True, remove_temp=False,
installpkgs=None,
- size=10,
+ size=2,
add_templates=None,
add_template_vars=None,
add_arch_templates=None,
--
2.7.4

View File

@ -3,8 +3,8 @@
%define debug_package %{nil}
Name: lorax
Version: 25.13
Release: 5%{?dist}
Version: 25.22
Release: 1%{?dist}
Summary: Tool for creating the anaconda install images
Group: Applications/System
@ -15,9 +15,6 @@ URL: https://github.com/rhinstaller/lorax
# git checkout -b archive-branch lorax-%%{version}-%%{release}
# tito build --tgz
Source0: %{name}-%{version}.tar.gz
Patch0: 0001-in-additoon-to-running-fuser-on-dev-shm-also-run-ls-.patch
Patch1: 0002-run-lsof-on-the-mountpoints-that-fail-to-unmount.patch
Patch2: 0003-Revert-Use-size-10-by-default.patch
BuildRequires: python3-devel
@ -119,8 +116,6 @@ Lorax templates for creating the boot.iso and live isos are placed in
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
@ -153,17 +148,47 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%changelog
* Fri Aug 19 2016 Dennis Gilmore <dennis@ausil.us> - 25.13-5
- revert Use size=10 by default (walters@verbum.org)
* Thu Jun 01 2017 Brian C. Lane <bcl@redhat.com> 25.22-1
- Remove filegraft from arm.tmpl (#1457906) (bcl@redhat.com)
- Use anaconda-core to detect buildarch (sgallagh@redhat.com)
* Fri Aug 19 2016 Dennis Gilmore <dennis@ausil.us> - 25.13-4
- acctually apply the lsof patch
* Wed May 31 2017 Brian C. Lane <bcl@redhat.com> 25.21-1
- arm.tmpl import basename (#1457055) (bcl@redhat.com)
* Fri Aug 19 2016 Dennis Gilmore <dennis@ausil.us> - 25.13-3
- add patch to run lsof as well as fuser and ls on mount points
* Tue May 30 2017 Brian C. Lane <bcl@redhat.com> 25.20-1
- Try all packages when installpkg --optional is used. (bcl@redhat.com)
- livemedia-creator: Add release license files to / of the iso (bcl@redhat.com)
- lorax: Add release license files to / of the iso (bcl@redhat.com)
- INSTALL_ROOT and LIVE_ROOT are not available during %%post (bcl@redhat.com)
- Add --noverifyssl to lorax (#1430483) (bcl@redhat.com)
* Thu Aug 18 2016 Dennis Gilmore <dennis@ausil.us> - 25.13-2
- add a patch to do a ls of /dev/shm for testing of lives
* Wed Feb 22 2017 Brian C. Lane <bcl@redhat.com> 25.19-1
- Create /dev/random and /dev/urandom before running rpm -qa (#1420523)
(bcl@redhat.com)
* Mon Feb 06 2017 Brian C. Lane <bcl@redhat.com> 25.18-1
- Print the full NEVRA when installing packages. (bcl@redhat.com)
- Only cleanup libhistory from readline (dennis@ausil.us)
* Mon Oct 17 2016 Brian C. Lane <bcl@redhat.com> 25.17-1
- Add missing fonts (#1370118) (vponcova@redhat.com)
- drop ssh server key generation for s390(x) (#1383641) (dan@danny.cz)
* Mon Sep 26 2016 Brian C. Lane <bcl@redhat.com> 25.16-1
- Fix broken sshd.inst boot option (#1378378) (jjelen@redhat.com)
- Don't log dracut initrd regeneration messages into /tmp/syslog (#1369439) (rvykydal@redhat.com)
- Use imjournal for rsyslogd instead of sharing /dev/log with journal (#1369439) (rvykydal@redhat.com)
- livemedia-creator: Check for packaging failures in the logs (#1374809) (bcl@redhat.com)
- templates: Enusre basic.target.wants dir exists for rngd (walters@verbum.org)
* Thu Sep 08 2016 Brian C. Lane <bcl@redhat.com> 25.15-1
- Keep fsfreeze in install environment (#1315468) (rmarshall@redhat.com)
- Add ppc64le kernel path (mkumatag@in.ibm.com)
- Install storaged-iscsi to the runtime (#1347415) (vpodzime@redhat.com)
* Tue Aug 23 2016 Brian C. Lane <bcl@redhat.com> 25.14-1
- lorax: Add --rootfs-size (#1368743) (bcl@redhat.com)
- Revert "Use size=10 by default" (bcl@redhat.com)
* Fri Aug 12 2016 Brian C. Lane <bcl@redhat.com> 25.13-1
- as of Fedora 25 s390x now has docker (pbrobinson@fedoraproject.org)

View File

@ -1 +1 @@
d51b8df4272fefdbdd3d55cfc01195cb lorax-25.13.tar.gz
SHA512 (lorax-25.22.tar.gz) = c5beac13aa3b48a87ee31f35c51022f3e5d17e27afef67f0fadd62b75155872bfe770360d0a33ba9274ef8a8aaaa6656e2ce5a84fa8ff34aa7164ccdf804ba6b