Commit Graph

168 Commits

Author SHA1 Message Date
Brian C. Lane
b6671d6867 rsyslog.conf: Update to use current config syntax
This commit switches to using the rewritten config file from the
upstream templates. This fixes the problem with writing the state file
to the workDirectory and uses modern syntax.

Resolves: RHEL-28654
2024-07-09 16:58:57 -07:00
Brian C. Lane
7d2788a480 - templates: Remove libreport bugzilla plugins (bcl)
Resolves: RHEL-24421
2024-02-06 10:07:13 -08:00
Brian C. Lane
afd197f746 templates: Remove libreport bugzilla plugins
Bug reporting via bugzilla no longer works, the new reporting tool is:
https://issues.redhat.com/

Resolves: RHEL-24421
2024-02-06 10:04:21 -08:00
Brian C. Lane
918689d7ad - tools: Add support for Jira RHEL-XXX issues (bcl)
Related: RHEL-15122
- Add setpriv as ostree containers dependency (bcl)
  Resolves: RHEL-15122
2023-11-03 11:25:28 -07:00
Brian C. Lane
95d984f81d tools: Add support for Jira RHEL-XXX issues
Related: RHEL-15122
2023-11-03 11:22:06 -07:00
Brian C. Lane
982d982516 Add setpriv as ostree containers dependency
The `rpm-ostree` binary requires `setpriv` binary to be able to deploy
containers.

Related to:
https://fedoraproject.org/wiki/Changes/OstreeNativeContainer
https://fedoraproject.org/wiki/Changes/OstreeNativeContainerStable

(cherry-picked from upstream commit 0ef05b3e7eebde0c317a7e308da9cb876caeaae9)

Resolves: RHEL-15122
2023-11-03 10:54:24 -07:00
Brian C. Lane
00cd494600 - rsyslog.conf: Set WorkDirectory to /var/lib/rsyslog (bcl)
Resolves: rhbz#2160070
2023-01-11 11:05:22 -08:00
Brian C. Lane
7c7a07ce37 rsyslog.conf: Set WorkDirectory to /var/lib/rsyslog
Without this set rsyslogd will try to use / for things like
/imjournal.state.tmp, which will fail due to SELinux.

This also replaces the deprecated '~' discard action with 'stop'.

Resolves: rhbz#2160070
2023-01-11 09:59:45 -08:00
Brian C. Lane
b1efe2d576 - On ppc64le Use core.elf from grub2 package (bcl)
Resolves: rhbz#2143422
2022-11-28 15:37:22 -08:00
Brian C. Lane
9f73f60a21 On ppc64le Use core.elf from grub2 package
grub2 1:2.06-51 now ships a signed core.elf that includes all the needed
modules, use that instead of making an unsigned one.

Resolves: rhbz#2143422
2022-11-28 15:18:09 -08:00
Brian C. Lane
8bec248824 - Makefile: Making it easier to create releases (bcl)
Related: rhbz#2071074
- runtime-postinstall: Remove machine specific nvme files (bcl)
  Resolves: rhbz#2071074
2022-04-05 10:15:44 -07:00
Brian C. Lane
63d7f7ca04 Makefile: Making it easier to create releases
Related: rhbz#2071074
2022-04-05 10:15:44 -07:00
Brian C. Lane
1f69df73fa runtime-postinstall: Remove machine specific nvme files
These need to be created on the installed system, and should not be
included in the image.

Resolves: rhbz#2071074
2022-04-01 11:20:12 -07:00
Brian C. Lane
b4555e602e - Restore missing packages (bcl)
Resolves: rhbz#2056086
2022-02-24 11:27:50 -08:00
Brian C. Lane
cd974309fa Restore missing packages
These were commented out early in the RHEL9 Alpha import process and
should be included in the boot.iso

nmap-ncat
redhat-release-eula
libreport-rhel-anaconda-bugzilla

Resolves: rhbz#2056086
2022-02-23 14:28:13 -08:00
Brian C. Lane
490edc4033 - Keep nvram kernel module (bcl)
Resolves: rhbz#2050878
2022-02-04 14:42:59 -08:00
Brian C. Lane
d39414517d Keep nvram kernel module
Resolves: rhbz#2050878
2022-02-04 14:39:50 -08:00
Brian C. Lane
362ac9f961 - Fix missing generic.ins on s390x (bcl)
Resolves: rhbz#2044448
2022-01-25 09:29:28 -08:00
Brian C. Lane
5fdb8a4ba7 Fix missing generic.ins on s390x
commit 0c4e1955ee accidentally dropped the
generic.ins file from the iso. This restores that graft point to the
xorrisofs call.

Resolves: rhbz#2044448
2022-01-25 09:25:39 -08:00
Brian C. Lane
1872fdc575 - Do not install rng-tools (bcl)
Resolves: rhbz#2028720
- Revert "Add inst.rngd cmdline option" (bcl)
  Related: rhbz#2028720
2022-01-13 11:45:52 -08:00
Brian C. Lane
849a2b9a20 Do not install rng-tools
Running rngd can slow down the boot in some situations. All current
arches in RHEL support better entropy gathering so this is no longer
needed.

Resolves: rhbz#2028720
2022-01-13 10:45:26 -08:00
Brian C. Lane
b403f2d774 Revert "Add inst.rngd cmdline option"
This reverts commit 09acfd978e.

rngd is installed in the initrd by dracut, and unconditionally started,
so this won't fix rngd slowdowns in the initrd.

Related: rhbz#2028720
2022-01-13 10:43:27 -08:00
Brian C. Lane
2b2920673d - Add .discinfo on all arches (bcl)
Resolves: rhbz#2030008
- Add inst.rngd cmdline option (bcl)
  Resolves: rhbz#2028720
2022-01-12 11:47:43 -08:00
Brian C. Lane
7f8955e9ab Add .discinfo on all arches
It was previously added to s390x and ppc64le, this adds it for aarch64,
ppc, and x86 images.

Resolves: rhbz#2030008
2022-01-12 11:25:48 -08:00
Brian C. Lane
09acfd978e Add inst.rngd cmdline option
rngd should no long be needed, recent kernels have enough entropy out of
the box. This leaves it in the boot.iso but only enables it if inst.rngd
is passed on the kernel cmdline.

Resolves: rhbz#2028720
2022-01-12 10:45:37 -08:00
Brian C. Lane
7cdff9d315 - Drop ia32 uefi package installation (bcl)
Resolves: rhbz#2038397
- Enable sftp when using inst.sshd (bcl)
  Resolves: rhbz#2035049
2022-01-11 11:46:27 -08:00
Brian C. Lane
35896636df Drop ia32 uefi package installation
32bit uefi installations are not supported.

Resolves: rhbz#2038397
2022-01-11 11:16:48 -08:00
Brian C. Lane
f7930e11e7 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#2035049
2022-01-11 11:16:48 -08:00
Brian C. Lane
f4352f8be1 - Drop ppc 32 bit support from grub template for live iso (bcl)
Resolves: rhbz#2017175
2021-11-01 10:24:13 -07:00
Brian C. Lane
771b7237ab Drop ppc 32 bit support from grub template for live iso
It wasn't working right, and we don't support 32 bit anyway, so update
to match non-live grub template with 64 bit only.

Resolves: rhbz#2017175
2021-11-01 10:18:52 -07:00
Brian C. Lane
ee801c1e65 - Switch to using xorrisofs instead of mkisofs (bcl)
Resolves: rhbz#2017134
2021-10-27 14:19:54 -07:00
Brian C. Lane
0c4e1955ee Switch to using xorrisofs instead of mkisofs
We have already been using it via the mkisofs compatibility mode. Switch
to using it explicitly.

Resolves: rhbz#2017134
2021-10-26 14:18:37 -07:00
Brian C. Lane
efb4782908 Add rhel-9 to gating.yaml 2021-10-26 10:31:26 -07:00
Brian C. Lane
cbdfbd39d9 - templates: Change nomodeset / basic graphics to use inst.text (bcl)
Resolves: rhbz#1961092
- templates: Drop nomodeset / basic graphics menu from live configs (bcl)
  Related: rhbz#1961092
2021-10-21 10:37:13 -07:00
Brian C. Lane
4396864fdd templates: Change nomodeset / basic graphics to use inst.text
nomodeset no longer does anything helpful, so switch to booting in text
mode in the Troubleshooting menu.

Resolves: rhbz#1961092
2021-10-19 10:40:48 -07:00
Brian C. Lane
10631c540c templates: Drop nomodeset / basic graphics menu from live configs
nomodeset no long does anything helpful, and inst.text doesn't make sense
with a live image so drop the menu from the live image.

Related: rhbz#1961092
2021-10-19 10:40:06 -07:00
Brian C. Lane
bd0b9636c8 - runtime-cleanup: Remove dropped packages from template (bcl)
Resolves: rhbz#1991006
- Install nvme-cli tool (bcl)
  Resolves: rhbz#2010254
- sshd_config: Update sshd options (bcl)
  Resolves: rhbz#2007288
2021-10-06 10:03:36 -07:00
Brian C. Lane
f457a3c5cf runtime-cleanup: Remove dropped packages from template
cdparanoia and genisoimage have been dropped from the release so they do
not need to be removed in the cleanup template.

Resolves: rhbz#1991006
2021-10-06 09:54:38 -07:00
Brian C. Lane
7ad61be29c Install nvme-cli tool
Resolves: rhbz#2010254
2021-10-06 09:54:38 -07:00
Brian C. Lane
87b0ef106d sshd_config: Update sshd options
Remove options that are the default, and set 'PrintMotd no' because that
is now handled by pam.

Resolves: rhbz#2007288
2021-10-06 09:54:38 -07:00
Brian C. Lane
28b3a84c98 - Install unicode.pf2 from new directory
Related: rhbz#2003030
2021-09-29 14:06:16 -07:00
Brian C. Lane
ea0196dacc Install unicode.pf2 from new directory
grub2-2.06-3 changes where the unicode.pf2 font file is stored.
This changes the efi.tmpl to install it from the new location, which
means that it depends on grub2-2.06-3, but there is no way to express
this in the runtime-install.tmpl so if you see a failure like:

2021-07-08 16:10:05,586:   OSError: nothing matching /var/tmp/lorax/lorax.t80f74er/installroot/boot/grub2/fonts/unicode.pf2 in /

It means the new version of grub2 wasn't in the repos you used when
running lorax.

Related: rhbz#2003030
2021-09-29 14:06:05 -07:00
Mohan Boddu
134bb3027b Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 22:02:54 +00:00
Brian C. Lane
98c58df58f - runtime-postinstall: Move configuration of NM default autoconnections to Anaconda (rvykydal)
Related: rhbz#1978264
2021-07-22 14:19:26 -07:00
Radek Vykydal
0adb331cb4 runtime-postinstall: Move configuration of NM default autoconnections to Anaconda
The configuration will be created dynamically by Anaconda service
running before NM.

Related: rhbz#1978264
2021-07-21 16:26:43 +02:00
Brian C. Lane
45ae099ffc - runtime-install: Include Xorg and tigervnc on s390x for local GUI installation on KVM
Resolves: rhbz#1983688
2021-07-19 11:03:23 -07:00
Brian C. Lane
0a14fa46ef runtime-install: Include Xorg and tigervnc on s390x for local GUI installation on KVM
Resolves: rhbz#1983688
2021-07-19 10:59:41 -07:00
Brian C. Lane
9ae75f1c81 - runtime-install: Remove gfs2-utils (bcl)
Resolves: rhbz#1975378
2021-06-23 09:03:28 -07:00
Brian C. Lane
a0cd6f8f82 runtime-install: Remove gfs2-utils
It is not needed on the installer media. Also remove references from
runtime-cleanup.tmpl

Resolves: rhbz#1975378
2021-06-23 08:59:04 -07:00
Brian C. Lane
ec4c1c00f3 runtime-cleanup: libvorbis is still pulled in by dependencies
rvykydal pointed out that libvorbis is still pulled in via gnome-kiosk
dependencies so keep the removefrom line and update the comment.

Related: rhbz#1961099
2021-05-20 10:20:42 -07:00