[OS-BUILD PATCH] redhat/configs: enable CONFIG_OCTEON_EP as a module in ARK

2023-01-30 Thread Michal Schmidt (via Email Bridge)
From: Michal Schmidt redhat/configs: enable CONFIG_OCTEON_EP as a module in ARK This enables the building of the octeon_ep driver in ARK. Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2041990 Signed-off-by: Michal Schmidt diff --git a/redhat/configs/ark/generic/CONFIG_OCTEON_EP

Re: [OS-BUILD PATCH 0/6] redhat: Fix PACKAGE_NAME variable

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2253#note_1258027669 Oops. Fixed. It is SPECPACKAGE_NAME following the previously established convention for adding SPEC to any variable that is passed directly into the spec file.

[OS-BUILD PATCHv2 2/6] redhat/Makefile: Copy spec file

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/Makefile: Copy spec file Users can set SPECPACKAGE_NAME which results in a build failure: cp: cannot stat '/home/prarit/git-kernel/kernel-ark/redhat/kernel-rh.spec.template': No such file or directory If the spec file exists use it, otherwise assume that

[OS-BUILD PATCHv2 0/6] redhat: Fix PACKAGE_NAME variable

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2253 The PACKAGE_NAME variable description implies that 'make PACKAGE_NAME="foo" dist-all-rpms' will create a set of rpms with Name "foo". This, unfortunately, does not work. The

[OS-BUILD PATCHv2 3/6] kernel.spec.template: Use SPECPACKAGE_NAME

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava kernel.spec.template: Use SPECPACKAGE_NAME The SPECPACKAGE_NAME variable is used to change the kernel RPM name. The variable should be used to override the RPM name field. This also requires changing the name of the kernel config files to use %{name}. Use

[OS-BUILD PATCHv2 6/6] redhat/kernel.spec.template: Fix hardcoded "kernel"

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Fix hardcoded "kernel" There are a few places where kernel is hardcoded in the spec. Replace hardcoded "kernel" with the package name, %{name}. Signed-off-by: Prarit Bhargava diff --git a/redhat/kernel.spec.template

[OS-BUILD PATCHv2 4/6] redhat/kernel.spec.template: Pass SPECPACKAGE_NAME to generate_all_configs.sh

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/kernel.spec.template: Pass SPECPACKAGE_NAME to generate_all_configs.sh Pass the SPECPACKAGE_NAME variable to the generate_all_configs.sh script. Signed-off-by: Prarit Bhargava diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index

[OS-BUILD PATCHv2 5/6] redhat/configs/generate_all_configs.sh: Fix config naming

2023-01-30 Thread Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava redhat/configs/generate_all_configs.sh: Fix config naming The existing config naming hardcoded the number of hyphens in the config string name, causing SPECPACKAGE_NAME strings with hyphens to fail. Fix the config naming to allow for hyphens in the package name.

Re: [OS-BUILD PATCH 0/6] redhat: Fix PACKAGE_NAME variable

2023-01-30 Thread Clark Williams (via Email Bridge)
From: Clark Williams on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2253#note_1257910902 Is it SPEC_PACKAGENAME or SPECPACKAGE_NAME (different in the main description)? ___ kernel mailing list -- kernel@lists.fedoraproject.org

[OS-BUILD PATCH] Fix up SQUASHFS decompression configs

2023-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes Fix up SQUASHFS decompression configs The 6.2 merge window changed the way that squashfs decompression threading worked. It now allows the number of threads to be set as mount options if all options are compiled. Until a decicion is made on this functionality, this MR

Re: [OS-BUILD PATCHv2 0/3] redhat: update merge.py to handle merge.pl corner cases

2023-01-30 Thread Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2262#note_1258211133 This actually seems like the more desirable behavior, but in either case, having the same config item listed multiple times in the file is a bug. It does appear that this patch

Re: [OS-BUILD PATCHv2 0/3] redhat: update merge.py to handle merge.pl corner cases

2023-01-30 Thread Herton R. Krzesinski (via Email Bridge)
From: Herton R. Krzesinski on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2262#note_1258074197 Looks like this part doesn't translate exactly what the perl part implemented: ``` if (defined($configname) && !exists($configvalues{$configname})) {