Commit Graph

2264 Commits

Author SHA1 Message Date
Brian C. Lane
8b7a78591b mkksiso: Fix the order of the ppc mkisofs command
Related: rhbz#2049205
2022-02-03 16:41:48 -08:00
Brian C. Lane
0aa87733f5 mkksiso: mkfsiso argument order matters
Fix the order on ppc64le so that the iso will boot properly.

Resolves: rhbz#2049205
2022-02-03 16:41:25 -08:00
Brian C. Lane
1ffd1efd04 mkksiso: Improve debug message about unsupported arch
Related: rhbz#2049190
2022-02-03 16:41:12 -08:00
Brian C. Lane
9c28a30aa7 mkksiso: Add kickstart to s390x cdboot.prm
And regenerate the cdboot.img

Resolves: rhbz#2049190
2022-02-03 16:40:46 -08:00
Brian C. Lane
2cb5dd1bdd Automatic commit of package [lorax] release [28.14.66-1].
Created by command:

/usr/bin/tito tag
2022-01-31 16:05:52 -08:00
Brian C. Lane
b3b69bc893 livemedia.ks: Add isomd5sum for use with rd.live.check
Resolves: rhbz#2048447
2022-01-31 16:04:22 -08:00
Brian C. Lane
e4855f7f08 Automatic commit of package [lorax] release [28.14.65-1].
Created by command:

/usr/bin/tito tag
2022-01-20 14:16:10 -08:00
Brian C. Lane
72d4bb605f Enable sftp when using inst.sshd
scp in openssh 8.7 will change to use sftp protocol. See
https://github.com/openssh/openssh-portable/pull/194 for details.

This enables the sshd internal-sftp implementation so that newer scp
versions will continue to work as expected. Note that the sshd service
is only running during the installation if inst.sshd is passed on the
kernel cmdline.

Resolves: rhbz#2041770
2022-01-18 11:27:25 -08:00
Brian C. Lane
219d4cc438 Automatic commit of package [lorax] release [28.14.64-1].
Created by command:

/usr/bin/tito tag
2021-12-09 10:09:12 -08:00
Brian C. Lane
a1787458b1 mkksiso: Check the length of the filenames
With -joliet-long it allows longer filenames, but silently drops the
ones longer than 253 characters. Check for this and raise an error.

Related: rhbz#2028048
2021-12-09 09:47:12 -08:00
Brian C. Lane
ddd02891b0 mkksiso: Check the iso's arch against the host's
mkksiso cannot be run on an iso from another arch, some of the files and
tools are arch specific. Catch this problem and tell the user that the
iso doesn't match the host's architecture.

Related: rhbz#2028048
2021-12-09 09:47:12 -08:00
Brian C. Lane
b4a95c3584 mkksiso: Add missing implantisomd5 tool requirements
Related: rhbz#2028048
2021-12-09 09:47:12 -08:00
Brian C. Lane
86e492d680 mkksiso: Raise error if no volume id is found
It is possible the source iso doesn't have an id, or there is an errorr
reading it. Raise an error when this happens to make it more clear what
the problem is.

Related: rhbz#2028048
2021-12-09 09:47:12 -08:00
Brian C. Lane
c7f22717a8 mount: Add aarch64 and s390x support to IsoMountopoint
kernel and initrd are under images/ on these isos.

Resolves: rhbz#2028089
2021-12-09 09:47:12 -08:00
Brian C. Lane
c966f26d6d mkksiso: Skip mkefiboot for non-UEFI isos
Resolves: rhbz#2028097
2021-12-09 09:47:12 -08:00
Brian C. Lane
236e1cab7a mkksiso: Add -joliet-long
DVD's or user content may use filenames > 64 characters. This increases
the limit to 103.

Resolves: rhbz#2028044
2021-12-09 09:47:12 -08:00
Brian C. Lane
5e88b6ede5 mkksiso: Return 1 on errors
Resolves: rhbz#2028048
2021-12-09 09:47:12 -08:00
Brian C. Lane
12815c5679 Increase boot.iso rootfs to 4GiB
Free space was < 500M again, increase the default.

Resolves: rhbz#2028059
2021-12-06 11:50:57 -08:00
Brian C. Lane
c72268406b Fix specfile to match the one from dist-git
Related: rhbz#2001942
2021-10-15 10:56:27 -07:00
Brian C. Lane
67500a4f67 Automatic commit of package [lorax] release [28.14.63-1].
Created by command:

/usr/bin/tito tag
2021-10-15 10:28:10 -07:00
Brian C. Lane
900cd436f7 Handle all possible dnf group_install errors
dnf has changed what it will raise when trying to group_install a
nonexistent group, this adds handling for all of them.

Related: rhbz#1947958
2021-10-11 10:24:50 -07:00
Brian C. Lane
f693eb8652 runtime-install: Install nvme-cli tool
Related: rhbz#1903339
2021-10-05 14:48:05 -07:00
Brian C. Lane
42940fc7ff Automatic commit of package [lorax] release [28.14.62-1].
Created by command:

/usr/bin/tito tag
2021-09-16 10:28:41 -07:00
Brian C. Lane
904bea6274 Increase root partition of rhel-livemedia.ks to 8000MB
Resolves: rhbz#2001942
2021-09-08 10:30:38 -07:00
Brian C. Lane
da06dc4042 Add Conflicts to composer-cli for manpage move
Without this it would fail to install composer-cli with an older lorax
version because the manpage moved to composer-cli. With the conflicts it
will install the newer lorax version without the manpage.

Related: rhbz#1928962
2021-07-08 09:28:13 -07:00
Brian C. Lane
4d7994e9cc Automatic commit of package [lorax] release [28.14.61-1].
Created by command:

/usr/bin/tito tag
2021-07-07 09:24:38 -07:00
Brian C. Lane
ea77b0da20 Increase example kickstart root partitions to at least 4000MB
Anaconda needs enough space to download the rpms and install the packages
when running livemedia-creator with virt mode so the / partition needs
to be larger.

Resolves: rhbz#1973407
2021-07-06 16:34:22 -07:00
Brian C. Lane
48c7c43e38 Automatic commit of package [lorax] release [28.14.60-1].
Created by command:

/usr/bin/tito tag
2021-06-29 12:16:12 -07:00
Brian C. Lane
6e0c52ce78 New lorax documentation - 28.14.59
Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane
354ee6d301 docs: Add missing mkksiso.1 manpage
Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane
6197d9c4b2 docs: Fix reference in composer-cli.rst
Sphinx wants a space between the words and the URL.

Related: rhbz#1915361
2021-06-29 12:07:03 -07:00
Brian C. Lane
8930cad4fc Makefile: Use user-mode podman and fix docs-in-docker target
The docs target was broken, which made it difficult to easily update the
documentation and notice missing documentation.

podman is now widespread, and user-mode doesn't need root so switch to
using that. Leave the Makefile target names in place so that CI isn't
confused.

Related: rhbz#1955355
2021-06-29 12:07:03 -07:00
Brian C. Lane
d8ea37f267 spec: Drop older release bz numbers
The spec file got out of sync with dist-git and having these referenced
here causes the bug checker to block the new commits.
2021-06-29 09:59:50 -07:00
Brian C. Lane
c589921f0a Automatic commit of package [lorax] release [28.14.59-1].
Created by command:

/usr/bin/tito tag
2021-06-29 09:32:03 -07:00
Brian C. Lane
6c07a08be0 Backport mkksiso to RHEL 8.5.0
This allows you to modify the boot.iso to run a kickstart and add
additional files to the iso.

Resolves: rhbz#1955355
2021-06-29 09:21:03 -07:00
Brian C. Lane
a64b6e9677 Move manpages into the correct subpackages
Resolves: rhbz#1928962
2021-06-29 09:18:00 -07:00
Brian C. Lane
aa5e627c0a composer-cli: Update documentation URLs
Resolves: rhbz#1915361
2021-06-24 12:00:06 -07:00
Brian C. Lane
677c08f743 Use wildcard for grub2 modules in livemedia.ks example
This will make it easier to use the kickstart on different arches.

Related: rhbz#1973530
2021-06-23 11:22:18 -07:00
Brian C. Lane
ca233194bb runtime-install: Install ipcalc
Related: rhbz#1958314
2021-05-10 16:04:02 -07:00
Martin Pitt
98555e9d16 test: Add new osbuild-composer expected types 2021-03-29 10:58:20 +03:00
Martin Pitt
cd8b28b8cf test: Fix URL to bots testmap
It was moved in https://github.com/cockpit-project/bots/commit/7a3c71968d568
2021-03-29 10:58:20 +03:00
Brian C. Lane
b7965ea762 Automatic commit of package [lorax] release [28.14.58-1].
Created by command:

/usr/bin/tito tag
2021-03-04 13:40:56 -08:00
Brian C. Lane
206d9a34a6 composer-cli: Add support for start-ostree --url URL
Some ostree builds, like edge, require passing a url to it along with
the ref and parent arguments. This adds an optional --url argument to
the 'composer-cli compose start-ostree' command.

Resolves: rhbz#1929381
2021-02-16 13:37:23 -08:00
Aleksandar Todorov
198e21e5e0 tests: Override rhel-8-beta.json repositories for osbuild-composer
rhbz#1916684
2021-01-28 12:25:14 +01:00
Aleksandar Todorov
633ab6ed2e tests: Remove systemctl for osbuild-composer
leave osbuild-composer.socket instead otherwise API socket isn't
automatically started

Related: rhbz#1916684
2021-01-28 12:25:14 +01:00
Brian C. Lane
b20a2dc36b tests: Start osbuild-composer.socket
Starting osbuild-composer.service doesn't start the sockets in
osbuild-composer v26

(This change is in dist-git, the commit is to keep lorax.spec in sync)

Resolves: rhbz#1916684
2021-01-15 13:53:05 -08:00
Martin Pitt
4149d8d810 test: Fix vm.install for non-LVM cloud images
Some of our images, like centos-8-stream, are already built from the
official cloud images instead of virt-install with LVM. More images are
going to do that soon [1][2], so fix vm.install to only do the LVM grow
steps if the image actually uses LVM.

Also adjust the comment, as commit 6ddaa5e0dd fixed this for
RHEL images.

[1] https://github.com/cockpit-project/bots/pull/1518
[2] https://github.com/cockpit-project/bots/pull/1527

(cherry-picked from commit 04ce221a65)
2021-01-08 20:03:29 +01:00
Brian C. Lane
e5b517add6 Automatic commit of package [lorax] release [28.14.57-1].
Created by command:

/usr/bin/tito tag
2020-12-09 16:41:33 -08:00
Anthony F McInerney
4d7dc6f1de fixes #543 qemu -nodefconfig deprecated
Use -no-user-config instead.

Resolves: rhbz#1904168

(cherry picked from commit f66bff5aa7)
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2020-12-09 16:40:53 -08:00
Brian C. Lane
74567d1ae7 sshd_config: Apply suggested changes
Some of the options have been removed, others are now the default.
MOTD still needs to be printed, the boot environment doesn't include the
pam motd module.

Resolves: rhbz#1872892
(cherry picked from commit 51a4a93f90)
2020-12-09 15:20:48 -08:00