add a patch to do a ls of /dev/shm for testing of lives
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
630f383df1
commit
9807b8261d
@ -0,0 +1,27 @@
|
|||||||
|
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] 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
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: lorax
|
Name: lorax
|
||||||
Version: 25.13
|
Version: 25.13
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Tool for creating the anaconda install images
|
Summary: Tool for creating the anaconda install images
|
||||||
|
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -15,6 +15,7 @@ URL: https://github.com/rhinstaller/lorax
|
|||||||
# git checkout -b archive-branch lorax-%%{version}-%%{release}
|
# git checkout -b archive-branch lorax-%%{version}-%%{release}
|
||||||
# tito build --tgz
|
# tito build --tgz
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
Patch0: 0001-in-additoon-to-running-fuser-on-dev-shm-also-run-ls-.patch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
|
|
||||||
@ -116,6 +117,7 @@ Lorax templates for creating the boot.iso and live isos are placed in
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -148,6 +150,9 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
* Fri Aug 12 2016 Brian C. Lane <bcl@redhat.com> 25.13-1
|
* Fri Aug 12 2016 Brian C. Lane <bcl@redhat.com> 25.13-1
|
||||||
- as of Fedora 25 s390x now has docker (pbrobinson@fedoraproject.org)
|
- as of Fedora 25 s390x now has docker (pbrobinson@fedoraproject.org)
|
||||||
- ppc64le doesn't have pcmciatools (pbrobinson@fedoraproject.org)
|
- ppc64le doesn't have pcmciatools (pbrobinson@fedoraproject.org)
|
||||||
|
Loading…
Reference in New Issue
Block a user