Compare commits
5 Commits
master
...
f26-branch
Author | SHA1 | Date | |
---|---|---|---|
|
b762a8ce1d | ||
|
564acd117f | ||
|
54fe93b426 | ||
|
f634ed6d12 | ||
|
bf5afd483d |
12
lorax.spec
12
lorax.spec
@ -3,15 +3,15 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
Name: lorax
|
||||
Version: 26.7
|
||||
Version: 26.9
|
||||
Release: 1%{?dist}
|
||||
Summary: Tool for creating the anaconda install images
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rhinstaller/lorax
|
||||
URL: https://github.com/weldr/lorax
|
||||
# To generate Source0 do:
|
||||
# git clone https://github.com/rhinstaller/lorax
|
||||
# git clone https://github.com/weldr/lorax
|
||||
# git checkout -b archive-branch lorax-%%{version}-%%{release}
|
||||
# tito build --tgz
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
@ -152,6 +152,12 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 10 2017 Brian C. Lane <bcl@redhat.com> 26.9-1
|
||||
- runtime-cleanup.tmpl: don't delete localedef (jlebon@redhat.com)
|
||||
|
||||
* Tue May 30 2017 Brian C. Lane <bcl@redhat.com> 26.8-1
|
||||
- Try all packages when installpkg --optional is used. (#1440417)
|
||||
|
||||
* Mon Mar 06 2017 Brian C. Lane <bcl@redhat.com> 26.7-1
|
||||
- add ostree to get installed in anaconda environment (dusty@dustymabe.com)
|
||||
- Add dependency for lvmdump -l command (#1255659) (jkonecny@redhat.com)
|
||||
|
@ -1 +1 @@
|
||||
26.7-1 ./
|
||||
26.9-1 ./
|
||||
|
@ -199,7 +199,8 @@ removefrom glibc /usr/libexec/* /usr/sbin/*
|
||||
removefrom glibc-common /etc/* /usr/bin/catchsegv /usr/bin/gencat
|
||||
removefrom glibc-common /usr/bin/getent
|
||||
removefrom glibc-common /usr/bin/locale /usr/bin/rpcgen /usr/bin/sprof
|
||||
removefrom glibc-common /usr/bin/tzselect /usr/bin/localedef
|
||||
# NB: we keep /usr/bin/localedef so anaconda can inspect payload locale info
|
||||
removefrom glibc-common /usr/bin/tzselect
|
||||
removefrom glibc-common /usr/libexec/* /usr/sbin/*
|
||||
removefrom gmp /usr/${libdir}/libgmpxx.* /usr/${libdir}/libmp.*
|
||||
removefrom gnome-bluetooth-libs /usr/${libdir}/libgnome-bluetooth*
|
||||
|
@ -570,8 +570,21 @@ class LoraxTemplateRunner(object):
|
||||
for exclude in excludes:
|
||||
pkgnames = {pkgname for pkgname in pkgnames if not fnmatch.fnmatch(pkgname, exclude)}
|
||||
|
||||
# Sort the results so that we have consistent results
|
||||
pkgnames = sorted(pkgnames)
|
||||
|
||||
# If the request is a glob, expand it in the log
|
||||
if any(g for g in ['*','?','.'] if g in p):
|
||||
logger.info("installpkg: %s expands to %s", p, ",".join(pkgnames))
|
||||
|
||||
for pkgname in pkgnames:
|
||||
self.dbo.install(pkgname)
|
||||
try:
|
||||
self.dbo.install(pkgname)
|
||||
except Exception as e: # pylint: disable=broad-except
|
||||
if required:
|
||||
raise
|
||||
# Not required, log it and continue processing pkgs
|
||||
logger.error("installpkg %s failed: %s", pkgname, str(e))
|
||||
except Exception as e: # pylint: disable=broad-except
|
||||
logger.error("installpkg %s failed: %s", p, str(e))
|
||||
errors = True
|
||||
|
Loading…
Reference in New Issue
Block a user