Error out if any unsupported OUTPUT used on s390
Resolves: RHEL-99362
This commit is contained in:
parent
a7b31ae20e
commit
3cf79ae1b7
15
rear-error-output-s390x-RHEL-99362.patch
Normal file
15
rear-error-output-s390x-RHEL-99362.patch
Normal file
@ -0,0 +1,15 @@
|
||||
commit 1e9e7b3c07912b3960d077e05473dfb61d3a0796
|
||||
Author: Pavel Cahyna <pcahyna@redhat.com>
|
||||
Date: Wed Aug 13 16:30:46 2025 +0200
|
||||
|
||||
Error out if any unsupported OUTPUT used on s390
|
||||
|
||||
diff --git a/usr/share/rear/prep/Linux-s390/034_check_config.sh b/usr/share/rear/prep/Linux-s390/034_check_config.sh
|
||||
new file mode 100644
|
||||
index 000000000..6c3eab289
|
||||
--- /dev/null
|
||||
+++ b/usr/share/rear/prep/Linux-s390/034_check_config.sh
|
||||
@@ -0,0 +1,3 @@
|
||||
+if [ "$OUTPUT" != "RAMDISK" ] && [ "$OUTPUT" != "IPL" ] ; then
|
||||
+ Error "Currently, only OUTPUT=RAMDISK and OUTPUT=IPL are supported on s390/s390x"
|
||||
+fi
|
||||
@ -125,6 +125,9 @@ Patch206: rear-nbu-RHEL-17390-RHEL-17393.patch
|
||||
# support "export TMPDIR" again, temporarily, with a warning.
|
||||
Patch207: rear-support-export-TMPDIR.patch
|
||||
|
||||
# error out if any unsupported OUTPUT used on s390
|
||||
Patch208: rear-error-output-s390x-RHEL-99362.patch
|
||||
|
||||
# rear contains only bash scripts plus documentation so that on first glance it could be "BuildArch: noarch"
|
||||
# but actually it is not "noarch" because it only works on those architectures that are explicitly supported.
|
||||
# Of course the rear bash scripts can be installed on any architecture just as any binaries can be installed on any architecture.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user