Commit Graph

2255 Commits

Author SHA1 Message Date
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
Brian C. Lane
c796b7a858 Automatic commit of package [lorax] release [28.14.56-1].
Created by command:

/usr/bin/tito tag
2020-12-03 11:27:39 -08:00
Brian C. Lane
be3aa59daa Switch to using upstream mk-s390image for s390 cdboot.img creation
mk-s390-cdboot has stopped working because the kernel outgrew the
hard-coded offset it used when creating cdboot.img. IBM now has a script
in s390utils that can do the same thing so use the upstream script
instead.

This drops mk-s390-cdboot script, switches the s390 templates to use
mk-s390image from s390utils.

It adds @ROOT@ to cdboot.prm, and sets inst.stage2 so that the installer
image will be found when booting the iso.

Related: rhbz#1892404
2020-12-03 08:37:23 -08:00
Marek Marczykowski-Górecki
6291373794 Add --squashfs-only option to drop inner rootfs.img layer
Make runtime directly into squashfs image. This reduces largely
unreproducible ext4 layer, but requires anaconda's dracut module
modification to properly mount the image.

(cherry picked from commit 27e611629f)
Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1846282
2020-12-02 16:14:35 -08:00
Brian C. Lane
edee60437d Automatic commit of package [lorax] release [28.14.55-1].
Created by command:

/usr/bin/tito tag
2020-09-10 11:56:31 -07:00
Brian C. Lane
51d3e378ba docs: Remove anaconda from rhel-livemedia.ks example
Anaconda no longer includes the liveinst script in the core package.
This means the live iso will just be a live desktop, not a live
installer.

Resolves: rhbz#1876563
2020-09-09 10:55:20 -07:00
Brian C. Lane
a3ea3ae4d9 Automatic commit of package [lorax] release [28.14.54-1].
Created by command:

/usr/bin/tito tag
2020-08-10 16:02:36 -07:00
Brian C. Lane
f112a0cbc7 tests: Fix diff test BACKEND check
The environmental variable we are using is 'BACKEND' not
'COMPOSER_BACKEND'

Related: rhbz#1825190
2020-08-10 11:15:04 -07:00
Brian C. Lane
693309ec30 Automatic commit of package [lorax] release [28.14.53-1].
Created by command:

/usr/bin/tito tag
2020-08-07 12:07:45 -07:00
Alexander Todorov
3ff8614cc7 tests: Push example blueprints b/c they may not exist
Related: rhbz#1825190
2020-08-07 08:50:40 -07:00