Re: [OS-BUILD PATCH] redhat/configs/evaluate_configs: walk cfgvariants line by line

2021-10-28 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1436#note_717421739 Acked-by: Prarit Bhargava (via approve button) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

Re: [OS-BUILD PATCH] redhat/configs/evaluate_configs: insert EMPTY tags at correct place

2021-10-28 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1437#note_717424534 Acked-by: Prarit Bhargava (via approve button) ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

[OS-BUILD PATCH] redhat/docs/index.rst: Add local build information.

2021-11-08 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/docs/index.rst: Add local build information. Add instuctions for obtaining the kernel's .config and additional instructions for building locally. Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/index.rst b/redhat/docs/index.rst index blahblah..blahblah

Re: [OS-BUILD PATCH] Enable e1000 in rhel9 as unsupported

2021-11-03 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1382#note_722529302 We're in the process of discussing. See draft MR https://gitlab.com/cki- project/kernel-ark/-/merge_requests/1459 ___ kernel mailing list

Re: [OS-BUILD PATCHv4] kernel/rh_taint.c: Update to new messaging

2021-12-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1459#note_755098178 Based on the approval from thenzl, I am closing this blocking thread. @thenzl , I'm assuming that is okay to do. ___ kernel mailing list

[OS-BUILD PATCH] drivers/pci/pci-driver.c: Fix if/ifdef typo

2021-12-08 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava drivers/pci/pci-driver.c: Fix if/ifdef typo This needs to be an ifdef, not an if. Fixes compile error: drivers/pci/pci-driver.c:299:5: warning: "CONFIG_RHEL_DIFFERENCES" is not defined, evaluates to 0 [-Wundef] 299 | #if CONFIG_RHEL_DIFFERENCES Signed-off-by: Prarit

[OS-BUILD PATCH] pci.h: Fix static include

2021-12-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava pci.h: Fix static include Add a static include to avoid a compile error for the RHEL specific PCI functions. This fixes the error: ... in function `pci_hw_disabled': /home/kernel-ark/./include/linux/pci.h:1495: multiple definition of `pci_hw_disabled';

[OS-BUILD PATCHv4] kernel/rh_taint.c: Update to new messaging

2021-12-05 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kernel/rh_taint.c: Update to new messaging Bugzilla: https://bugzilla.redhat.com/2019377 Upstream Status: RHEL only Red Hat requires customer-facing messages to inform users that hardware and drivers are scheduled to be removed from support ie) disabled in the kernel.

Re: [OS-BUILD PATCHv4] kernel/rh_taint.c: Update to new messaging

2021-12-05 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1459#note_752801213 Fixed. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org

[OS-BUILD PATCH] RHMAINTAINERS: Update for Dec 10 2021

2021-12-10 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava RHMAINTAINERS: Update for Dec 10 2021 Update RHMAINTAINERS to latest. Signed-off-by: Prarit Bhargava diff --git a/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS b/redhat/rhdocs/MAINTAINERS/RHMAINTAINERS index blahblah..blahblah 100644 ---

Re: [OS-BUILD PATCHv3] kernel/rh_taint.c: Update to new messaging

2021-12-02 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1459#note_750511638 >On all of these messages, the "is" doesn't really serve much purpose. I'd just said "unmaintained hardware detected", and save the 3 characters in every message. Good point but

Re: [OS-BUILD PATCHv2] netfilter: Add deprecation notices for xtables

2021-07-19 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1226#note_630339127 @psutter1, reach out to revers about marking this as unsupported. We're making some changes in this area and there some additional steps that need to be taken. You should not be

Re: [OS-BUILD PATCHv2] kernel.spec: Add glibc-static build requirement

2022-01-13 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1538#note_809684083 >@prarit I still didn't get why we don't disable `CONFIG_CC_CAN_LINK_STATIC` instead of bringing `glibc-static` to buildroot, even because we don't expect to have any users of it

[OS-BUILD PATCHv2] kernel.spec: Add glibc-static build requirement

2022-01-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kernel.spec: Add glibc-static build requirement CKI and brew builds resulted in two different values for CONFIG_CC_CAN_LINK_STATIC. In CKI CONFIG_CC_CAN_LINK_STATIC=y while in brew CONFIG_CC_CAN_LINK_STATIC was not defined. This occurs because glibc-static is installed

Re: [OS-BUILD PATCHv2] kernel.spec: Add glibc-static build requirement

2022-01-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1538#note_807440836 Weird. I only see one commit in this MR? ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

Re: [OS-BUILD PATCHv2] kernel.spec: Add glibc-static build requirement

2022-01-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1538#note_807441017 In any case, refreshed and pushed. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

[OS-BUILD PATCH] Makefile: Check PKGRELEASE size on dist-brew targets

2022-01-17 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava Makefile: Check PKGRELEASE size on dist-brew targets The Red Hat brew system is a build system used internally within Red Hat which is similar to the externally available koji build system. One of the architectures of a brew build is 's390x+zfcpdump'. This arch using the

[OS-BUILD PATCH] kernel.spec: Add glibc-static build requirement

2022-01-10 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kernel.spec: Add glibc-static build requirement CKI and brew builds resulted in two different values for CONFIG_CC_CAN_LINK_STATIC. In CKI CONFIG_CC_CAN_LINK_STATIC=y while in brew CONFIG_CC_CAN_LINK_STATIC was not defined. This occurs because glibc-static is installed

[OS-BUILD PATCH] redhat/configs: Disable CONFIG_MACINTOSH_DRIVERS in RHEL.

2022-02-10 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs: Disable CONFIG_MACINTOSH_DRIVERS in RHEL. Disable CONFIG_MACINTOSH_DRIVERS in RHEL. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/ark/generic/powerpc/CONFIG_MACINTOSH_DRIVERS b/redhat/configs/ark/generic/powerpc/CONFIG_MACINTOSH_DRIVERS

Re: [OS-BUILD PATCHv5 0/8] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635#note_865610680 >Actually, weirder, 'make dist-configs-check' works fine in ark-latest, but 'make dist-git' fails as above. If I do a 'make dist-srpm', that succeeds, and afterwards 'make dist-git'

[OS-BUILD PATCHv6 3/9] redhat/configs/process_configs.sh: Provide better messages

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Provide better messages Provide better error messages. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv6 0/9] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635 The dist-configs target takes an annoying long time. Add parallel processing of configs in dist-configs. Testing Info make dist-configs time 1m22.909s

[OS-BUILD PATCHv6 2/9] redhat/configs/process_configs.sh: Create unique output files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Create unique output files Create unique output files from process_config(). Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv6 1/9] redhat/configs/process_configs.sh: Add processing config function

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Add processing config function Move the code to process a config into its own function. This will make future changes easier. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh

Re: [OS-BUILD PATCHv4 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638#note_865630233 Actually, just a -f "$SOURCES/$SPECFILE" will work here. If something is wrong we'll know it ;) ___ kernel mailing list --

Re: [OS-BUILD PATCHv4 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638#note_865625524 Yes, but the test itself needs to change to not only check for NULL but also check if the file exists. I will make that change now. ___

Re: [OS-BUILD PATCHv5 0/8] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635#note_865619782 I should add you can test this by doing: touch .mismatches make -j20 dist-configs This will return an error. In any case, pushed one additional patch to fix this situation.

[OS-BUILD PATCHv5 2/2] redhat: Unify genspec.sh and kernel.spec variable names

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: Unify genspec.sh and kernel.spec variable names Use common variable names between genspec.sh and kernel.spec. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh index blahblah..blahblah 100755 --- a/redhat/genspec.sh +++

[OS-BUILD PATCHv5 1/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec.sh: Remove options and use Makefile variables genspec.sh has _22_ parameters that must be specified on the command line which are generated by the Makefile. These parameters can be set in the script by using the output of the dist-dump-variables target

[OS-BUILD PATCHv5 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638 genspec.sh has _22_ parameters that must be specified on the command line which are generated by the Makefile. These parameters can be set in the script by using the output of the

Re: [OS-BUILD PATCHv5 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638#note_865690949 I've updated the MR description. Fixed. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to

[OS-BUILD PATCHv6 6/9] redhat/configs/build_configs.sh: Create unique output files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Create unique output files Create unique output files from merge_configs(). Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv6 5/9] redhat/configs/build_configs.sh: Add local variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Add local variables Add local variables to the merge_configs function. This will make future changes for parallel processing easier. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh

[OS-BUILD PATCHv6 4/9] redhat/configs/process_configs.sh: Parallelize execution

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Parallelize execution Parallelize the execution of each config processing. The '+' adds job processing to 'non-make' commands [1]. [1] https://www.gnu.org/software/make/manual/html_node/Error-Messages.html Signed-off-by: Prarit

[OS-BUILD PATCHv6 7/9] redhat/configs/build_configs.sh: Provide better messages

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Provide better messages Provide better error messages. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh index blahblah..blahblah 100755 --- a/redhat/configs/build_configs.sh

[OS-BUILD PATCHv6 8/9] redhat/configs/build_configs.sh: Parallelize execution

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Parallelize execution Parallelize the execution of each config building. The '+' adds job processing to 'non-make' commands [1]. [1] https://www.gnu.org/software/make/manual/html_node/Error-Messages.html Signed-off-by: Prarit Bhargava

[OS-BUILD PATCHv6 9/9] redhat/configs/process_configs.sh: Fix issue with old error files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Fix issue with old error files Previous to this changeset, running process_configs.sh would result in an .mismatches file being left after execution. If someone has done make dist-configs \# update to latest make -j10 dist-configs the

Re: [OS-BUILD PATCHv6 0/9] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635#note_865801544 It's hard to explain. The *ONLY* reason for the last commit is to avoid the issue @jmflinuxtx hit because he executed both the old code and the new code in the same tree. If you do

[OS-BUILD PATCHv7 8/9] redhat/configs/build_configs.sh: Parallelize execution

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Parallelize execution Parallelize the execution of each config building. The '+' adds job processing to 'non-make' commands [1]. [1] https://www.gnu.org/software/make/manual/html_node/Error-Messages.html Signed-off-by: Prarit Bhargava

[OS-BUILD PATCHv7 6/9] redhat/configs/build_configs.sh: Create unique output files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Create unique output files Create unique output files from merge_configs(). Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv7 7/9] redhat/configs/build_configs.sh: Provide better messages

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Provide better messages Provide better error messages. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh index blahblah..blahblah 100755 --- a/redhat/configs/build_configs.sh

Re: [OS-BUILD PATCHv7 0/9] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635#note_865862896 Good idea. I've added ``` The next line is throwaway code for transition to parallel processing. Leaving this line in place is harmless, but it can be removed the next time

[OS-BUILD PATCHv6 2/2] redhat: Unify genspec.sh and kernel.spec variable names

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: Unify genspec.sh and kernel.spec variable names Use common variable names between genspec.sh and kernel.spec. Signed-off-by: Prarit Bhargava diff --git a/redhat/genspec.sh b/redhat/genspec.sh index blahblah..blahblah 100755 --- a/redhat/genspec.sh +++

Re: [OS-BUILD PATCHv6 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638#note_865814597 Fixed. ___ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org

[OS-BUILD PATCHv7 4/9] redhat/configs/process_configs.sh: Parallelize execution

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Parallelize execution Parallelize the execution of each config processing. The '+' adds job processing to 'non-make' commands [1]. [1] https://www.gnu.org/software/make/manual/html_node/Error-Messages.html Signed-off-by: Prarit

[OS-BUILD PATCHv7 9/9] redhat/configs/process_configs.sh: Fix issue with old error files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Fix issue with old error files Previous to this changeset, running process_configs.sh would result in an .mismatches file being left after execution. If someone has done make dist-configs \# update to latest make -j10 dist-configs the

[OS-BUILD PATCHv7 1/9] redhat/configs/process_configs.sh: Add processing config function

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Add processing config function Move the code to process a config into its own function. This will make future changes easier. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh

[OS-BUILD PATCHv7 3/9] redhat/configs/process_configs.sh: Provide better messages

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Provide better messages Provide better error messages. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv7 5/9] redhat/configs/build_configs.sh: Add local variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/build_configs.sh: Add local variables Add local variables to the merge_configs function. This will make future changes for parallel processing easier. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh

[OS-BUILD PATCHv7 2/9] redhat/configs/process_configs.sh: Create unique output files

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/process_configs.sh: Create unique output files Create unique output files from process_config(). Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/process_configs.sh b/redhat/configs/process_configs.sh index blahblah..blahblah 100755 ---

[OS-BUILD PATCHv7 0/9] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635 The dist-configs target takes an annoying long time. Add parallel processing of configs in dist-configs. Testing Info make dist-configs time 1m22.909s

[OS-BUILD PATCHv6 0/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638 genspec.sh has _22_ parameters that must be specified on the command line which are generated by the Makefile. Instead of passing these parameters on the command line, export them

[OS-BUILD PATCHv6 1/2] redhat/genspec.sh: Remove options and use Makefile variables

2022-03-07 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec.sh: Remove options and use Makefile variables genspec.sh has 22 parameters that must be specified on the command line which are generated by the Makefile. Instead of passing these parameters on the command line, export them directly from the Makefile.

[OS-BUILD PATCH 16/24] redhat/scripts/create-tarball.sh: Use Makefile TARBALL variable

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/scripts/create-tarball.sh: Use Makefile TARBALL variable Use the Makefile TARBALL variable instead of passing it as an argument. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile

[OS-BUILD PATCH 17/24] redhat/Makefile.variables: Default RHGITCOMMIT to HEAD

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile.variables: Default RHGITCOMMIT to HEAD RHGITCOMMIT is equal to HEAD. Rather than recalculating it, just set it to HEAD by default. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables index blahblah..blahblah

[OS-BUILD PATCH 12/24] redhat/Makefile: Move RHJOBS to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move RHJOBS to Makefile.variables Move RHJOBS to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -222,13 +222,15 @@ KABIDW

[OS-BUILD PATCH 10/24] redhat/Makefile: Move PREBUILD_GIT_ONLY to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move PREBUILD_GIT_ONLY to Makefile.variables Move PREBUILD_GIT_ONLY to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@

[OS-BUILD PATCH 11/24] redhat/Makefile: Move RHGIT* variables to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move RHGIT* variables to Makefile.variables Mmove the RHGITURL and RHGITCOMMIT variables to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCH 9/24] redhat/Makefile: Move BUILD to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move BUILD to Makefile.variables Move BUILD to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -101,7 +101,9 @@ endif

[OS-BUILD PATCH 14/24] redhat/Makefile: Remove STAMP_VERSION

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove STAMP_VERSION STAMP_VERSION can be replaced with KVERSION. Remove STAMP_VERSION. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -5,10

[OS-BUILD PATCH 13/24] redhat/Makefile: Move NO_CONFIGCHECKS to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move NO_CONFIGCHECKS to Makefile.variables Move the NO_CONFIGCHECKS variable to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile

[OS-BUILD PATCH 15/24] redhat/Makefile: Remove extra DIST_BRANCH

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove extra DIST_BRANCH This is already declared in Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -547,7 +547,6 @@

[OS-BUILD PATCH 23/24] redhat/Makefile: Add some descriptions

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add some descriptions Add some descriptive text about some of the Makefile sections. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -1,4 +1,8

[OS-BUILD PATCH 20/24] redhat/genspec.sh: Rework RPMVERSION variable

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec.sh: Rework RPMVERSION variable The redhat/genspec.sh file contains $RPMVERSION and $RPM_VERSION variables which don't match the Makefile variables. Create a new KVERSION variable and replace $RPMVERSION with KVERSION, and $RPM_VERSION with $RPMVERSION.

[OS-BUILD PATCH 22/24] redhat/Makfile: Move SNAPSHOT check

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Move SNAPSHOT check Move the SNAPSHOT check to the only place where it can actually be "1". Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@

[OS-BUILD PATCH 19/24] redhat/Makefile: Remove dead comment

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove dead comment This comment no longer applies and can be dropped. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -96,10 +96,6 @@ ifeq

[OS-BUILD PATCH 18/24] redhat/Makefile: Cleanup KABI* variables.

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Cleanup KABI* variables. There is no need for both TARBALL and TARFILE variables. Cleanup the KABI* variables. Extra fix: Move KABIDW to the other KABI variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index

[OS-BUILD PATCH 24/24] redhat/Makefile: Reorganize variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Reorganize variables Reorganize the variables from simple variables to complex variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -35,8

[OS-BUILD PATCH 21/24] redhat/Makfile: Deprecate BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Deprecate BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS The BREW_FLAGS, KOJI_FLAGS, and TEST_FLAGS variables can be replaced with BUILD_FLAGS. Mark these three variables for later deprecation and warn users about their usage. Signed-off-by: Prarit Bhargava

[OS-BUILD PATCH 2/24] redhat: Combine Makefile and Makefile.common

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: Combine Makefile and Makefile.common The only include of Makefile.common is the Makefile. Combine the two files in Makefile. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCH 4/24] redhat/Makefile: Cleanup DISTRO variable

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Cleanup DISTRO variable Move the DISTRO variable to Makefile.variables and clean up its usage in the Makfile. This creates separate fedora-specific, centos-specific, and 'other'-specific variable sections. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 6/24] redhat/Makefile: Move BUILD_TARGET and BUILD_SCRATCH_TARGET to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move BUILD_TARGET and BUILD_SCRATCH_TARGET to Makefile.variables Move BUILD_TARGET and BUILD_SCRATCH_TARGET to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 ---

[OS-BUILD PATCH 8/24] redhat/Makefile: Move BUILD_FLAGS to Makefile.variables.

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move BUILD_FLAGS to Makefile.variables. Move BUILD_FLAGS to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -229,6 +229,16

[OS-BUILD PATCH 5/24] redhat/Makefile: Remove RHPRODUCT variable

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove RHPRODUCT variable The only use of RHPRODUCT is to set the RHDISTGIT_BRANCH variable. Remove the RHPRODUCT variable and just use RHDISTGIT_BRANCH. This will make future change easier. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile

[OS-BUILD PATCH 7/24] redhat/Makefile: Move BUILD_PROFILE to Makefile.variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move BUILD_PROFILE to Makefile.variables Move BUILD_PROFILE to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -140,7 +140,9

[OS-BUILD PATCH 1/24] redhat/koji/Makefile: Decouple koji Makefile from Makefile.common

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/koji/Makefile: Decouple koji Makefile from Makefile.common The koji Makefile uses the GIT and PACKAGE_NAME variables which are currently defined in Makefile.common. Since these are configurable by a user they should actually be defined in Makefile.variables. Move

[OS-BUILD PATCH 0/24] redhat/Makefile: Cleanup variables

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1641 For a long time we have complained about disorganization in the redhat/Makefile. This was because the code was separated into several Makefiles (Makefile.cross, Makefile.rhpkg,

[OS-BUILD PATCH 3/24] redhat/Makefile: Move HEAD to Makefile.variables.

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Move HEAD to Makefile.variables. Move HEAD to Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -9,7 +9,6 @@ RPMBUILD :=

[OS-BUILD PATCH] redhat/configs: Disable watchdog components

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs: Disable watchdog components These watchdog components are not necessary for RHEL9. CONFIG_IB700_WDT CONFIG_ALIM1535_WDT CONFIG_ALIM7101_WDT CONFIG_I6300ESB_WDT CONFIG_IT8712F_WDT CONFIG_IT87_WDT CONFIG_MACHZ_WDT CONFIG_PCIPCWATCHDOG CONFIG_SMSC_SCH311X_WDT

[OS-BUILD PATCH] redhat/Makefile: Silence dist-clean-configs output

2022-03-11 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Silence dist-clean-configs output Silence dist-clean-configs output. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -155,9 +155,7 @@

Re: [OS-BUILD PATCHv7 0/9] process_configs.sh: Add parallel processing of configs in dist-configs

2022-03-08 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1635#note_867424818 @jmflinuxtx can you pull and try your sequence of commands again? ___ kernel mailing list -- kernel@lists.fedoraproject.org To

[OS-BUILD PATCH 3/5] redhat/self-test: Fix BUILD verification test

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Fix BUILD verification test This test fails because it assumes that the top commit will be a "[redhat]: kernel-version" commit. This is true for the main tree but isn't true for development branches. Change the test to look for the latest "[redhat]:

[OS-BUILD PATCH 0/5] redhat: Fix self-tests

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1642 Fix the tests in redhat/self-test. Signed-off-by: Prarit Bhargava --- redhat/configs/build_configs.sh | 42 ++ redhat/configs/process_configs.sh

[OS-BUILD PATCH 2/5] redhat/self-test: Cleanup SRPM related self-tests

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Cleanup SRPM related self-tests The self-tests fail messily and loudly when a single SRPM is not present in the directory. Fix these tests to skip instead of loudly failing. [Aside: I could have added a call to dist-srpm in the dist-self-test target,

[OS-BUILD PATCH 4/5] redhat/self-test: Fix version tag test

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Fix version tag test The version tag test is using an incorrect changelog ID and doesn't look for the last '[redhat] kernel-*' commit. Fix both of these problems so the test runs correctly. Signed-off-by: Prarit Bhargava diff --git

[OS-BUILD PATCH 5/5] redhat: Fix release tagging

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat: Fix release tagging The release is tagged into the changelog and the git log. The changelog tags were missing the $(RPMKSUBLEVEL) variable which caused the self-tests to fail when manually run. Fix the release tagging so the same tag is in the git log and

[OS-BUILD PATCH 1/5] redhat/self-test: Fix shellcheck test

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/self-test: Fix shellcheck test Fix shellcheck errors and the shellcheck test. Signed-off-by: Prarit Bhargava diff --git a/redhat/configs/build_configs.sh b/redhat/configs/build_configs.sh index blahblah..blahblah 100755 --- a/redhat/configs/build_configs.sh +++

[OS-BUILD PATCHv3 0/2] redhat: Add a Makefile README

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1652 Add a MAkefile README that details what the redhat/Makefiles are and how they are to be modified. Signed-off-by: Prarit Bhargava --- redhat/docs/makefile-changes.rst |

[OS-BUILD PATCHv3 1/2] redhat/Makefile: Remove duplicated code

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove duplicated code This code was left in place when the variables were reorganized. It can be safely removed. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCHv3 2/2] redhat/README.Makefile: Add a Makefile README file

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/README.Makefile: Add a Makefile README file Add a Makefile README file that explains the layout of the Makefiles, and the policies for modifying the Makefiles. Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/makefile-changes.rst

[OS-BUILD PATCHv2 2/2] redhat/README.Makefile: Add a Makefile README file

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/README.Makefile: Add a Makefile README file Add a Makefile README file that explains the layout of the Makefiles, and the policies for modifying the Makefiles. Signed-off-by: Prarit Bhargava diff --git a/redhat/docs/makefile-changes.rst

[OS-BUILD PATCHv2 1/2] redhat/Makefile: Remove duplicated code

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove duplicated code This code was left in place when the variables were reorganized. It can be safely removed. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++

[OS-BUILD PATCHv2 0/2] redhat: Add a Makefile README

2022-03-18 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1652 Add a MAkefile README that details what the redhat/Makefiles are and how they are to be modified. Signed-off-by: Prarit Bhargava --- redhat/docs/makefile-changes.rst |

[OS-BUILD PATCHv2 23/24] redhat/Makefile: Add some descriptions

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Add some descriptions Add some descriptive text about some of the Makefile sections. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -1,4 +1,8

[OS-BUILD PATCHv2 24/24] redhat/Makefile: Reorganize variables

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Reorganize variables Reorganize the variables from simple variables to complex variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -35,8

[OS-BUILD PATCHv2 19/24] redhat/Makefile: Remove dead comment

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove dead comment This comment no longer applies and can be dropped. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -96,10 +96,6 @@ ifeq

[OS-BUILD PATCHv2 20/24] redhat/genspec.sh: Rework RPMVERSION variable

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/genspec.sh: Rework RPMVERSION variable The redhat/genspec.sh file contains $RPMVERSION and $RPM_VERSION variables which don't match the Makefile variables. Create a new KVERSION variable and replace $RPMVERSION with KVERSION, and $RPM_VERSION with $RPMVERSION.

[OS-BUILD PATCHv2 15/24] redhat/Makefile: Remove extra DIST_BRANCH

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Remove extra DIST_BRANCH This is already declared in Makefile.variables. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -547,7 +547,6 @@

[OS-BUILD PATCHv2 17/24] redhat/Makefile.variables: Default RHGITCOMMIT to HEAD

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile.variables: Default RHGITCOMMIT to HEAD RHGITCOMMIT is equal to HEAD. Rather than recalculating it, just set it to HEAD by default. Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile.variables b/redhat/Makefile.variables index blahblah..blahblah

[OS-BUILD PATCHv2 22/24] redhat/Makfile: Move SNAPSHOT check

2022-03-12 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makfile: Move SNAPSHOT check Move the SNAPSHOT check to the only place where it can actually be "1". Signed-off-by: Prarit Bhargava diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@

<    1   2   3   4   5   6   7   8   9   10   >