Commit Graph

1589 Commits

Author SHA1 Message Date
Brian C. Lane
17262c9c55 Automatic commit of package [lorax] release [25.22-1].
Created by command:

/usr/bin/tito tag
2017-06-01 08:17:23 -07:00
Brian C. Lane
b8550cbfd6 Remove filegraft from arm.tmpl (#1457906)
It isn't used at all, so remove it instead of crashing.

(cherry picked from commit cd4d866e9f)
2017-06-01 08:16:56 -07:00
Stephen Gallagher
efb671e94f Use anaconda-core to detect buildarch
For historical reasons, lorax used the 'anaconda' package as a
touchstone to determine the architecture for the build. At some
point, this package became a metapackage that pulls in both the
GUI and headless installers.

In the modular world, it's possible that only the core and TUI bits
may be available for use. The only subpackage of anaconda that is
guaranteed to be on any viable system is anaconda-core, so let's
switch to using that for the touchstone instead of the metapackage.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
(cherry picked from commit 2c3007beb8)
2017-06-01 08:16:49 -07:00
Brian C. Lane
5a7f9dd91b Automatic commit of package [lorax] release [25.21-1].
Created by command:

/usr/bin/tito tag
2017-05-31 08:39:33 -07:00
Brian C. Lane
b1fa2de9fd arm.tmpl import basename (#1457055)
(cherry picked from commit f3d262c8f7)
2017-05-31 08:34:48 -07:00
Brian C. Lane
6459a9b96f Automatic commit of package [lorax] release [25.20-1].
Created by command:

/usr/bin/tito tag
2017-05-30 11:49:24 -07:00
Brian C. Lane
540b97e780 Try all packages when installpkg --optional is used.
Also sort the expanded list of packages so that any failures will
be consistent instead of depending on the randomness of a set().
And add better logging when things fail.

The core issue is that repodata may have packages that match globs, but
they cannot actually be installed (eg. sigrok-firmware). This can cause
*some* of the globbed packages to be installed before hitting the
failure package.

With this change it will log the expanded list of packages if a glob is
used. It will skip any packages that fail to install when using
--optional with the glob, and continue to install the rest.

Related: rhbz#1440417
(cherry picked from commit 1c6b083260)
2017-05-30 11:29:29 -07:00
Brian C. Lane
5b47874e58 livemedia-creator: Add release license files to / of the iso
This used to be handled by a %post section of the kickstart, but that
won't work with lmc, so do it in the template instead.

(cherry picked from commit c91278a17d)
2017-05-30 11:29:07 -07:00
Brian C. Lane
10e3ec0bac lorax: Add release license files to / of the iso
(cherry picked from commit 9fe59eed0b)
2017-05-30 11:29:00 -07:00
Brian C. Lane
e39c62584b INSTALL_ROOT and LIVE_ROOT are not available during %post
These were set by livecd-creator, and the %post section was used to
setup the license files on the / of the iso which will not work from
inside anaconda so drop it completely.

(cherry picked from commit 092c593d6b)
2017-05-30 11:28:54 -07:00
Brian C. Lane
228ae840fd Add --noverifyssl to lorax (#1430483)
Previously lorax had no way to use repos with self-signed certificates.
This adds the --noverifyssl cmdline option which will ignore certificate
errors.

Resolves: rhbz#1430483
(cherry picked from commit cc56a5b5c9)
2017-05-30 11:28:46 -07:00
Brian C. Lane
a27ec289ca Automatic commit of package [lorax] release [25.19-1].
Created by command:

/usr/bin/tito tag
2017-02-22 10:24:47 -08:00
Brian C. Lane
bd385419ad Create /dev/random and /dev/urandom before running rpm -qa (#1420523)
In order to run rpm inside the newly created image it now needs to
create a couple device nodes to satisfy nss, which is used by rpm.

(cherry picked from commit d95e69aa34)
2017-02-22 10:21:27 -08:00
Brian C. Lane
5c5fefaded Automatic commit of package [lorax] release [25.18-1].
Created by command:

/usr/bin/tito tag
2017-02-06 10:27:46 -08:00
Brian C. Lane
92e60d7dd1 Print the full NEVRA when installing packages. 2017-01-30 09:20:20 -08:00
Dennis Gilmore
c43c5f1a7f Only cleanup libhistory from readline
with readline 7 libreadline.so moved to libdir as a result it is
currently removed in the cleanup phase, however it is needed

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
(cherry picked from commit f1378dd443)
2017-01-30 09:04:17 -08:00
Brian C. Lane
8efc4aeb81 Automatic commit of package [lorax] release [25.17-1]. 2016-10-17 17:41:14 -07:00
Vendula Poncova
2cc4daa127 Add missing fonts (#1370118)
Added fonts to support Tibetan, Khmer and Burmese.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
(cherry picked from commit 5dbc56bae9)
2016-10-17 09:16:59 -07:00
Dan Horák
ca53d65313 drop ssh server key generation for s390(x) (#1383641)
Let the keys to be created during runtime as on other arches.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
(cherry picked from commit 362e116cb5)
2016-10-12 09:09:11 -07:00
Brian C. Lane
1cde1b46a4 Automatic commit of package [lorax] release [25.16-1]. 2016-09-26 12:07:48 -07:00
Jakub Jelen
2477d53098 Fix broken sshd.inst boot option (#1378378)
Follow-up of moving to sshd-keygen.target in anaconda-sshd.service
(#1331753)

 * Do not remove  /etc/ssh/moduli
 * slogin  symlink is already removed
 * Do not remove  sshd-keygen
2016-09-23 09:33:00 +02:00
Radek Vykydal
34940e7a49 Don't log dracut initrd regeneration messages into /tmp/syslog (#1369439)
Related: rhbz#1369439

Keep it same as in RHEL 7.2. They increase the size of the /tmp/syslog file
from ~280K to ~1M, and can be obtained from journal if needed.
2016-09-22 14:50:07 +02:00
Radek Vykydal
3eca8a0425 Use imjournal for rsyslogd instead of sharing /dev/log with journal (#1369439)
Resolves: rhbz#1369439

Rsyslogd used to read messages from /dev/log together with systemd-journald
which resulted in NetworkManager messages not being passed to syslog due to a
race condition during starting NetworkManager and rsyslogd service. So use
imjournal rsyslog plugin that picks messages from journald instead of using the
/dev/log socket. Same as regular RHEL 7 system.
2016-09-22 14:49:24 +02:00
Brian C. Lane
492ab9e4a5 livemedia-creator: Check for packaging failures in the logs (#1374809)
anaconda-26.1 changed how package scriptlet failures are handled. They
are now fatal, and anaconda hangs after logging an Installation failure.

ERR packaging: Installation failed: PayloadInstallError('DNF error:
Non-fatal POSTIN scriptlet failure in rpm package mlocate',)

Catch this (the 'packaging: Installation failed' part) and terminate the
image creation.
2016-09-21 09:00:49 -07:00
Colin Walters
4f1f118cee templates: Enusre basic.target.wants dir exists for rngd
There's something racy here; in my Atomic Workstation CI/CD I'm seeing:

```
01:12:43   symlink /lib/systemd/system/rngd.service etc/systemd/system/basic.target.wants/rngd.service
01:12:43   FileNotFoundError: [Errno 2] No such file or directory: '/lib/systemd/system/rngd.service' -> '/var/tmp/lorax.7cgdtz1_/installtree/etc/systemd/system/basic.target.wants/rngd.service'
```

Rather than debug this right now, let's just make sure it exists,
like we do right above for `tmp.mount`.
2016-09-12 21:37:31 -04:00
Brian C. Lane
2948925c28 Automatic commit of package [lorax] release [25.15-1]. 2016-09-08 12:15:36 -07:00
Robert Marshall
9543a46dac Keep fsfreeze in install environment (#1315468)
The latest POWER platform allows a host machine to configure guests
running in a different endian mode. Guests configured in this way may
have their bootloader configuration file corrupted after installation if
the file was not fully written to disk. The host machine would read the
journal and try to finish writing the file in the wrong endian mode.

Issuing an fsfreeze and unfreeze gives more assurance that the
configuration file is properly written before a reboot; this patch adds
fsfreeze to the installer runtime environment.

Related: rhbz#1315468
2016-09-08 12:13:30 -07:00
Manjunath A Kumatagi
f4a1302358 Add ppc64le kernel path
(cherry picked from commit b76fba85ea)
2016-09-08 12:12:07 -07:00
Vratislav Podzimek
dafb3a95c6 Install storaged-iscsi to the runtime (#1347415)
Blivet now needs it to work with iSCSI (with the iSCSI support being optional in
Blivet).
2016-09-08 12:10:26 -07:00
Brian C. Lane
81e394dc9a Automatic commit of package [lorax] release [25.14-1]. 2016-08-23 11:54:58 -07:00
Brian C. Lane
37d36daa9c lorax: Add --rootfs-size (#1368743)
This controls how big the root filesystem is for the squashfs used in
the boot.iso, the default is 2GiB.

Note that larger rootfs sizes will require more memory and may cause the
build to fail.
2016-08-22 17:20:48 -07:00
Brian C. Lane
442d0a0140 Revert "Use size=10 by default"
This reverts commit e61223d486.

On systems with less RAM (eg. ARM with 4G) this size change causes the
build to get stuck.
2016-08-22 16:17:35 -07:00
Brian C. Lane
aa12874daf Automatic commit of package [lorax] release [25.13-1]. 2016-08-12 17:42:52 -07:00
pbrobinson@fedoraproject.org
477a8b292e as of Fedora 25 s390x now has docker
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-08-12 13:14:46 -07:00
pbrobinson@fedoraproject.org
d387d3cb8d ppc64le doesn't have pcmciatools
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-08-12 13:14:46 -07:00
pbrobinson@fedoraproject.org
41db63c1be add grub2-tools to aarch64, drop duplicate grubby
Signed-off-by: Peter Robinson <Peter Robinson pbrobinson@fedoraproject.org>
2016-08-12 13:14:46 -07:00
Friedrich Schöller
c60338464b Allow supplying a disk image for PXE live systems
Fixes that the combination of command line arguments
"--make-ostree-live" and "--disk-image" lead to a program error.
2016-08-12 13:12:54 -07:00
Colin Walters
e61223d486 Use size=10 by default
I'm working on
https://fedoraproject.org/wiki/Changes/WorkstationOstree and when
using lorax to make an installer ISO with content embedded, I run out
of disk space since the desktop+various apps is large.

Since this ends up being compressed anyways, let's just bump the
currently arbitrary `2` to `10` - the only real cost I can think of is
going to be a few more superblock entries.
2016-08-12 13:05:40 -07:00
Brian C. Lane
544751dd41 Automatic commit of package [lorax] release [25.12-1]. 2016-07-28 07:58:02 -07:00
Brian C. Lane
5c15371874 New lorax documentation - 25.12 2016-07-28 07:57:51 -07:00
Vratislav Podzimek
f1df7685bd Don't install python3-dnf-langpacks
The package has been retired [1] and anaconda no longer needs it.

[1]
http://pkgs.fedoraproject.org/cgit/rpms/dnf-langpacks.git/commit/?id=51922797be2e6157582b86580b9898e146291245
2016-07-27 10:13:24 +02:00
Brian C. Lane
05fe12ed9a Automatic commit of package [lorax] release [25.11-1]. 2016-07-20 17:52:18 -07:00
Peter Robinson
15d13fdfd7 Fix aarch64 installs due to missing/unsupported packages
With commit fe17f97 changing the default from optional to required there's
a few packages that aren't currently supported on aarch64 that break the
compose. In particular aarch64 currently still doesn't have kexec, with luck
that might change in the F-25 cycle but until it does we need to have an
exception.

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-07-19 18:49:18 -07:00
Brian C. Lane
d7381949b8 Keep fb_sys_fops module needed for ast support (#1272658)
Ends up the drm_kms_helper module depends on fb_sys_fops so keep that as well.

Resolves: rhbz#1272658
2016-07-18 14:57:07 -07:00
Brian C. Lane
64b5fed1a9 Automatic commit of package [lorax] release [25.10-1]. 2016-07-13 07:23:25 -07:00
Brian C. Lane
c4f65bda5d Installing *-firmware should be optional 2016-07-10 19:17:24 -07:00
Brian C. Lane
b8a6814024 Automatic commit of package [lorax] release [25.9-1]. 2016-07-08 17:16:35 -07:00
Brian C. Lane
658df4f3f9 Fix installpkg error handling
If the query filter doesn't return anything it would just ignore the
install request instead of logging and raising an error when
required=True.

This checks for no packages matching, and if required is True raises an
error after all of the requested packages have been processed, instead
of after the first one to fail.
2016-06-24 13:40:58 -07:00
Brian C. Lane
fe17f970c9 Switch installpkg default to --required
Previous versions of lorax assumed that installpkg was optional, and
would continue on if the PKGGLOB didn't match anything. But the majority
of the packages are required so this allows the boot.iso to be built
with missing packages that are hard to track down.

It makes more sense to make the PKGGLOB required and to flag the
few exceptions to this with --optional.
2016-06-24 13:40:58 -07:00
Brian C. Lane
8bf144843a Keep all of the kernel drivers/target/ modules (#1348381)
The ib_srpt, and ib_isert modules depend on these.

Resolves: rhbz#1348381
2016-06-22 15:31:36 -07:00