[OS-BUILD PATCHv6 0/16] redhat/self-test: Add new tests
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706
Making changes to the Makefiles has been difficult and revealed minor
issues with even the simplest of changes. Having a test that compares the
Makefile variables to a "known good" set, and being able to compare the
kernel spec file to a "known good" spec file will help with testing future
changes.
I have chosen these 4 ARK commits to test with because they result in
different
versioning in the variables and the kernel specfile:
78e36f3b0dae := 5.17.0 merge window (5.16 + additional changes before -rc1)
result: 5.17.0-0.rc0.78e36f3b0dae.6.test
2585cf9dfaad := 5.16-rc5
result: 5.16.0-0.rc5.6.test
df0cc57e057f := 5.16
result: 5.16.0-6.test
fce15c45d3fb := 5.16-rc5 + 2 additional commits
result: 5.16.0-0.rc5.fce15c45d3fb.6.test
This changeset provides a better "dist-dump-variables" test that also
compares the resulting spec files. The test code does introduce two new
Makefile.variables entries both of which are clearly marked as unstable.
The genspec.sh change is minor, and is just a reorganization of the code
to speed up the creation of test files.
As indicated in the last commit, changelog generation is not yet tested.
That will come at a later date. Additional tests beyond these tests will
also be added at a later date.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/configs/build_configs.sh | 18 +-
redhat/configs/generate_all_configs.sh | 20 +-
redhat/configs/process_configs.sh | 11 +-
redhat/scripts/create-tarball.sh | 6 +-
redhat/scripts/rh-dist-git.sh | 62 +-
redhat/self-test/data/centos-2585cf9dfaad.el7 | 99 +
redhat/self-test/data/centos-2585cf9dfaad.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-2585cf9dfaad.fc25 | 99 +
redhat/self-test/data/centos-2585cf9dfaad.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.el7 | 99 +
redhat/self-test/data/centos-78e36f3b0dae.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.fc25 | 99 +
redhat/self-test/data/centos-78e36f3b0dae.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.el7 | 99 +
redhat/self-test/data/centos-df0cc57e057f.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.fc25 | 99 +
redhat/self-test/data/centos-df0cc57e057f.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.el7 | 99 +
redhat/self-test/data/centos-fce15c45d3fb.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.fc25 | 99 +
redhat/self-test/data/centos-fce15c45d3fb.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/create-data.sh | 54 +
redhat/self-test/data/fedora-2585cf9dfaad.el7 | 97 +
redhat/self-test/data/fedora-2585cf9dfaad.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-2585cf9dfaad.fc25 | 97 +
redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.el7 | 97 +
redhat/self-test/data/fedora-78e36f3b0dae.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.fc25 | 97 +
redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.el7 | 97 +
redhat/self-test/data/fedora-df0cc57e057f.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.fc25 | 97 +
redhat/self-test/data/fedora-df0cc57e057f.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.el7 | 97 +
redhat/self-test/data/fedora-fce15c45d3fb.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.fc25 | 97 +
redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.el7 | 97 +
redhat/self-test/data/rhel-2585cf9dfaad.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.fc25 | 97 +
redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.el7 | 97 +
redhat/self-test/data/rhel-78e36f3b0dae.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.fc25 | 97 +
redhat/self-test/data/rhel-78e36f3b0dae.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.el7 | 97 +
redhat/self-test/data/rhel-df0cc57e057f.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.fc25 | 97 +
redhat/self-test/data/rhel-df0cc57e057f.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.el7 | 97 +
redhat/self-test/data/rhel-fce15c45d3fb.el7.spec | 3031 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.fc25 | 97 +
redhat/self-test/data/rhel-fce15c45d3fb.fc25.spec | 3031 +++++++++++++++++++
redhat/self-test/1005-dist-dump-variables.bats | 59 +-
redhat/Makefile | 62 +-
redhat/Makefile.rhpkg | 6 +-
redhat/Makefile.variables | 10 +-
redhat/genspec.sh | 158 +-
redhat/kernel.spec.template | 7 +-
60 files changed, 75321 insertions(+), 240 deletions(-)
2 years, 1 month
[OS-BUILD PATCHv5 0/8] redhat/self-test: Add new tests
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706
Making changes to the Makefiles has been difficult and revealed minor
issues with even the simplest of changes. Having a test that compares the
Makefile variables to a "known good" set, and being able to compare the
kernel spec file to a "known good" spec file will help with testing future
changes.
I have chosen these 4 ARK commits to test with because they result in
different
versioning in the variables and the kernel specfile:
78e36f3b0dae := 5.17.0 merge window (5.16 + additional changes before -rc1)
result: 5.17.0-0.rc0.78e36f3b0dae.6.test
2585cf9dfaad := 5.16-rc5
result: 5.16.0-0.rc5.6.test
df0cc57e057f := 5.16
result: 5.16.0-6.test
fce15c45d3fb := 5.16-rc5 + 2 additional commits
result: 5.16.0-0.rc5.fce15c45d3fb.6.test
This changeset provides a better "dist-dump-variables" test that also
compares the resulting spec files. The test code does introduce two new
Makefile.variables entries both of which are clearly marked as unstable.
The genspec.sh change is minor, and is just a reorganization of the code
to speed up the creation of test files.
As indicated in the last commit, changelog generation is not yet tested.
That will come at a later date. Additional tests beyond these tests will
also be added at a later date.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/self-test/data/centos-2585cf9dfaad.el7 | 100 +
redhat/self-test/data/centos-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-2585cf9dfaad.fc25 | 100 +
redhat/self-test/data/centos-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.el7 | 100 +
redhat/self-test/data/centos-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.fc25 | 100 +
redhat/self-test/data/centos-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.el7 | 100 +
redhat/self-test/data/centos-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.fc25 | 100 +
redhat/self-test/data/centos-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.el7 | 100 +
redhat/self-test/data/centos-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.fc25 | 100 +
redhat/self-test/data/centos-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/create-data.sh | 54 +
redhat/self-test/data/fedora-2585cf9dfaad.el7 | 98 +
redhat/self-test/data/fedora-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-2585cf9dfaad.fc25 | 98 +
redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.el7 | 98 +
redhat/self-test/data/fedora-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.fc25 | 98 +
redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.el7 | 98 +
redhat/self-test/data/fedora-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.fc25 | 98 +
redhat/self-test/data/fedora-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.el7 | 98 +
redhat/self-test/data/fedora-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.fc25 | 98 +
redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.el7 | 98 +
redhat/self-test/data/rhel-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.fc25 | 98 +
redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.el7 | 98 +
redhat/self-test/data/rhel-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.fc25 | 98 +
redhat/self-test/data/rhel-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.el7 | 98 +
redhat/self-test/data/rhel-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.fc25 | 98 +
redhat/self-test/data/rhel-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.el7 | 98 +
redhat/self-test/data/rhel-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.fc25 | 98 +
redhat/self-test/data/rhel-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/1005-dist-dump-variables.bats | 59 +-
redhat/Makefile | 19 +-
redhat/Makefile.rhpkg | 6 +-
redhat/Makefile.variables | 10 +-
redhat/genspec.sh | 150 +-
54 files changed, 75306 insertions(+), 128 deletions(-)
2 years, 1 month
[OS-BUILD PATCH] Add clk_test and clk-gate_test to mod-internal.list
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Add clk_test and clk-gate_test to mod-internal.list
These are new kunit tests added in 5.18 that need to be in
mod-internal.list for depmod to succeed.
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/redhat/mod-internal.list b/redhat/mod-internal.list
index blahblah..blahblah 100644
--- a/redhat/mod-internal.list
+++ b/redhat/mod-internal.list
@@ -51,3 +51,5 @@ test_hash
test_bpf
stackinit_kunit
overflow_kunit
+clk-gate_test
+clk_test
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1723
2 years, 1 month
[OS-BUILD PATCH] redhat/kernel.spec.template: Fix intel-speed-select
compile
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava <prarit(a)redhat.com>
redhat/kernel.spec.template: Fix intel-speed-select compile
The intel-speed-select utility needs the libnl3 library to compile.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index blahblah..blahblah 100755
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -2246,7 +2246,7 @@ chmod +x tools/power/cpupower/utils/version-gen.sh
%{tools_make}
popd
pushd tools/power/x86/intel-speed-select
- %{make}
+ %{make} CFLAGS+="-D_GNU_SOURCE -Iinclude -I/usr/include/libnl3" LDFLAGS+="-lnl-genl-3 -lnl-3"
popd
%endif
%endif
@@ -2511,7 +2511,7 @@ install -m644 %{SOURCE2001} %{buildroot}%{_sysconfdir}/sysconfig/cpupower
%{tools_make} DESTDIR=%{buildroot} install
popd
pushd tools/power/x86/intel-speed-select
- %{tools_make} CFLAGS+="-D_GNU_SOURCE -Iinclude" DESTDIR=%{buildroot} install
+ %{make} CFLAGS+="-D_GNU_SOURCE -Iinclude -I/usr/include/libnl3" LDFLAGS+="-lnl-genl-3 -lnl-3" DESTDIR=%{buildroot} install
popd
%endif
pushd tools/thermal/tmon
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1721
2 years, 1 month
[OS-BUILD PATCH] Fix gcc 12 warning address of 'mem_section' will
never be
NULL
by Justin M. Forbes (via Email Bridge)
From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Fix gcc 12 warning address of 'mem_section' will never be NULL
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index blahblah..blahblah 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1390,11 +1390,9 @@ static inline unsigned long *section_to_usemap(struct mem_section *ms)
static inline struct mem_section *__nr_to_section(unsigned long nr)
{
#ifdef CONFIG_SPARSEMEM_EXTREME
- if (!mem_section)
+ if (!mem_section || !mem_section[SECTION_NR_TO_ROOT(nr)])
return NULL;
#endif
- if (!mem_section[SECTION_NR_TO_ROOT(nr)])
- return NULL;
return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK];
}
extern size_t mem_section_usage_size(void);
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1598
2 years, 1 month
[OS-BUILD PATCHv5] mm/sparsemem: Fix 'mem_section' will never be NULL
gcc 12
warning
by Justin M. Forbes (via Email Bridge)
From: Waiman Long <longman(a)redhat.com>
mm/sparsemem: Fix 'mem_section' will never be NULL gcc 12 warning
The gcc 12 compiler reports a "'mem_section' will never be NULL"
warning on the following code:
static inline struct mem_section *__nr_to_section(unsigned long nr)
{
#ifdef CONFIG_SPARSEMEM_EXTREME
if (!mem_section)
return NULL;
#endif
if (!mem_section[SECTION_NR_TO_ROOT(nr)])
return NULL;
:
It happens with CONFIG_SPARSEMEM_EXTREME off. The mem_section
definition is
#ifdef CONFIG_SPARSEMEM_EXTREME
extern struct mem_section **mem_section;
#else
extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
#endif
In the !CONFIG_SPARSEMEM_EXTREME case, mem_section
is a static 2-dimensional array and so the check
"!mem_section[SECTION_NR_TO_ROOT(nr)]" doesn't make sense.
Fix this warning by moving the "!mem_section[SECTION_NR_TO_ROOT(nr)]"
check up inside the CONFIG_SPARSEMEM_EXTREME block.
Fixes: 3e347261a80b ("sparsemem extreme implementation")
Reported-by: Justin Forbes <jforbes(a)redhat.com>
Signed-off-by: Waiman Long <longman(a)redhat.com>
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index blahblah..blahblah 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -1398,11 +1398,9 @@ static inline unsigned long *section_to_usemap(struct mem_section *ms)
static inline struct mem_section *__nr_to_section(unsigned long nr)
{
#ifdef CONFIG_SPARSEMEM_EXTREME
- if (!mem_section)
+ if (!mem_section || !mem_section[SECTION_NR_TO_ROOT(nr)])
return NULL;
#endif
- if (!mem_section[SECTION_NR_TO_ROOT(nr)])
- return NULL;
return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK];
}
extern size_t mem_section_usage_size(void);
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1598
2 years, 1 month
[OS-BUILD PATCHv4 0/8] redhat/self-test: Add new tests
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706
Making changes to the Makefiles has been difficult and revealed minor
issues with even the simplest of changes. Having a test that compares the
Makefile variables to a "known good" set, and being able to compare the
kernel spec file to a "known good" spec file will help with testing future
changes.
I have chosen these 4 ARK commits to test with because they result in
different
versioning in the variables and the kernel specfile:
78e36f3b0dae := 5.17.0 merge window (5.16 + additional changes before -rc1)
result: 5.17.0-0.rc0.78e36f3b0dae.6.test
2585cf9dfaad := 5.16-rc5
result: 5.16.0-0.rc5.6.test
df0cc57e057f := 5.16
result: 5.16.0-6.test
fce15c45d3fb := 5.16-rc5 + 2 additional commits
result: 5.16.0-0.rc5.fce15c45d3fb.6.test
This changeset provides a better "dist-dump-variables" test that also
compares the resulting spec files. The test code does introduce two new
Makefile.variables entries both of which are clearly marked as unstable.
The genspec.sh change is minor, and is just a reorganization of the code
to speed up the creation of test files.
As indicated in the last commit, changelog generation is not yet tested.
That will come at a later date. Additional tests beyond these tests will
also be added at a later date.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/self-test/data/centos-2585cf9dfaad.el7 | 100 +
redhat/self-test/data/centos-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-2585cf9dfaad.fc25 | 100 +
redhat/self-test/data/centos-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.el7 | 100 +
redhat/self-test/data/centos-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.fc25 | 100 +
redhat/self-test/data/centos-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.el7 | 100 +
redhat/self-test/data/centos-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.fc25 | 100 +
redhat/self-test/data/centos-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.el7 | 100 +
redhat/self-test/data/centos-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.fc25 | 100 +
redhat/self-test/data/centos-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/create-data.sh | 54 +
redhat/self-test/data/fedora-2585cf9dfaad.el7 | 98 +
redhat/self-test/data/fedora-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-2585cf9dfaad.fc25 | 98 +
redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.el7 | 98 +
redhat/self-test/data/fedora-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.fc25 | 98 +
redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.el7 | 98 +
redhat/self-test/data/fedora-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.fc25 | 98 +
redhat/self-test/data/fedora-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.el7 | 98 +
redhat/self-test/data/fedora-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.fc25 | 98 +
redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.el7 | 98 +
redhat/self-test/data/rhel-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.fc25 | 98 +
redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.el7 | 98 +
redhat/self-test/data/rhel-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.fc25 | 98 +
redhat/self-test/data/rhel-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.el7 | 98 +
redhat/self-test/data/rhel-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.fc25 | 98 +
redhat/self-test/data/rhel-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.el7 | 98 +
redhat/self-test/data/rhel-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.fc25 | 98 +
redhat/self-test/data/rhel-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/1005-dist-dump-variables.bats | 59 +-
redhat/Makefile | 19 +-
redhat/Makefile.rhpkg | 6 +-
redhat/Makefile.variables | 10 +-
redhat/genspec.sh | 150 +-
54 files changed, 75306 insertions(+), 128 deletions(-)
2 years, 1 month
[OS-BUILD PATCH] redhat/configs: enable nf_tables SYNPROXY extension
on ark
by Davide Caratti (via Email Bridge)
From: Davide Caratti <dcaratti(a)redhat.com>
redhat/configs: enable nf_tables SYNPROXY extension on ark
as part of the ongoing iptables deprecation, enable SYNPROXY extension
on nftables. While at it, explicitly disable CONFIG_IP{,6}_NF_TARGET_SYNPROXY:
they were 'm' but 'make dist-configs' clears them since they depend on
CONFIG_NF_IP{,6}TABLES that's unset in ark. The overall result is:
support for SYNPROXY is still there, and the kernel keeps building with
CONFIG_NETFILTER_SYNPROXY (that's selected by the above items) set to 'm'.
Signed-off-by: Davide Caratti <dcaratti(a)redhat.com>
diff --git a/redhat/configs/ark/generic/CONFIG_IP6_NF_TARGET_SYNPROXY b/redhat/configs/ark/generic/CONFIG_IP6_NF_TARGET_SYNPROXY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_IP6_NF_TARGET_SYNPROXY
@@ -0,0 +1 @@
+# CONFIG_IP6_NF_TARGET_SYNPROXY is not set
diff --git a/redhat/configs/ark/generic/CONFIG_IP_NF_TARGET_SYNPROXY b/redhat/configs/ark/generic/CONFIG_IP_NF_TARGET_SYNPROXY
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/ark/generic/CONFIG_IP_NF_TARGET_SYNPROXY
@@ -0,0 +1 @@
+# CONFIG_IP_NF_TARGET_SYNPROXY is not set
diff --git a/redhat/configs/ark/generic/CONFIG_NFT_SYNPROXY b/redhat/configs/ark/generic/CONFIG_NFT_SYNPROXY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/ark/generic/CONFIG_NFT_SYNPROXY
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_NFT_SYNPROXY is not set
diff --git a/redhat/configs/fedora/generic/CONFIG_NFT_SYNPROXY b/redhat/configs/common/generic/CONFIG_NFT_SYNPROXY
rename from redhat/configs/fedora/generic/CONFIG_NFT_SYNPROXY
rename to redhat/configs/common/generic/CONFIG_NFT_SYNPROXY
index blahblah..blahblah 100644
--- a/redhat/configs/fedora/generic/CONFIG_NFT_SYNPROXY
+++ b/redhat/configs/common/generic/CONFIG_NFT_SYNPROXY
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1720
2 years, 1 month
[OS-BUILD PATCH] [redhat] UIO: sync up config options with RHEL9
by Aristeu Rozanski (via Email Bridge)
From: Aristeu Rozanski <arozansk(a)redhat.com>
[redhat] UIO: sync up config options with RHEL9
These were disabled in an ark MR in the past but it's likely it had
already forked and never made here.
Signed-off-by: Aristeu Rozanski <arozansk(a)redhat.com>
diff --git a/redhat/configs/common/generic/CONFIG_UIO_AEC b/redhat/configs/common/generic/CONFIG_UIO_AEC
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_UIO_AEC
+++ b/redhat/configs/common/generic/CONFIG_UIO_AEC
@@ -1 +1 @@
-CONFIG_UIO_AEC=m
+# CONFIG_UIO_AEC is not set
diff --git a/redhat/configs/common/generic/CONFIG_UIO_CIF b/redhat/configs/common/generic/CONFIG_UIO_CIF
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_UIO_CIF
+++ b/redhat/configs/common/generic/CONFIG_UIO_CIF
@@ -1 +1 @@
-CONFIG_UIO_CIF=m
+# CONFIG_UIO_CIF is not set
diff --git a/redhat/configs/common/generic/CONFIG_UIO_SERCOS3 b/redhat/configs/common/generic/CONFIG_UIO_SERCOS3
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_UIO_SERCOS3
+++ b/redhat/configs/common/generic/CONFIG_UIO_SERCOS3
@@ -1 +1 @@
-CONFIG_UIO_SERCOS3=m
+# CONFIG_UIO_SERCOS3 is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1695
2 years, 1 month
[OS-BUILD PATCHv3 0/7] redhat/self-test: Add new tests
by Prarit Bhargava (via Email Bridge)
From: Prarit Bhargava on gitlab.com
Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1706
Making changes to the Makefiles has been difficult and revealed minor
issues with even the simplest of changes. Having a test that compares the
Makefile variables to a "known good" set, and being able to compare the
kernel spec file to a "known good" spec file will help with testing future
changes.
I have chosen these 4 ARK commits to test with because they result in
different
versioning in the variables and the kernel specfile:
78e36f3b0dae := 5.17.0 merge window (5.16 + additional changes before -rc1)
result: 5.17.0-0.rc0.78e36f3b0dae.6.test
2585cf9dfaad := 5.16-rc5
result: 5.16.0-0.rc5.6.test
df0cc57e057f := 5.16
result: 5.16.0-6.test
fce15c45d3fb := 5.16-rc5 + 2 additional commits
result: 5.16.0-0.rc5.fce15c45d3fb.6.test
This changeset provides a better "dist-dump-variables" test that also
compares the resulting spec files. The test code does introduce two new
Makefile.variables entries both of which are clearly marked as unstable.
The genspec.sh change is minor, and is just a reorganization of the code
to speed up the creation of test files.
As indicated in the last commit, changelog generation is not yet tested.
That will come at a later date. Additional tests beyond these tests will
also be added at a later date.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/self-test/data/centos-2585cf9dfaad.el7 | 101 +
redhat/self-test/data/centos-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-2585cf9dfaad.fc25 | 101 +
redhat/self-test/data/centos-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.el7 | 101 +
redhat/self-test/data/centos-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-78e36f3b0dae.fc25 | 101 +
redhat/self-test/data/centos-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.el7 | 101 +
redhat/self-test/data/centos-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-df0cc57e057f.fc25 | 101 +
redhat/self-test/data/centos-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.el7 | 101 +
redhat/self-test/data/centos-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/centos-fce15c45d3fb.fc25 | 101 +
redhat/self-test/data/centos-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/create-data.sh | 51 +
redhat/self-test/data/fedora-2585cf9dfaad.el7 | 99 +
redhat/self-test/data/fedora-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-2585cf9dfaad.fc25 | 99 +
redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.el7 | 99 +
redhat/self-test/data/fedora-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-78e36f3b0dae.fc25 | 99 +
redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.el7 | 99 +
redhat/self-test/data/fedora-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-df0cc57e057f.fc25 | 99 +
redhat/self-test/data/fedora-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.el7 | 99 +
redhat/self-test/data/fedora-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/fedora-fce15c45d3fb.fc25 | 99 +
redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.el7 | 99 +
redhat/self-test/data/rhel-2585cf9dfaad.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-2585cf9dfaad.fc25 | 99 +
redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.el7 | 99 +
redhat/self-test/data/rhel-78e36f3b0dae.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-78e36f3b0dae.fc25 | 99 +
redhat/self-test/data/rhel-78e36f3b0dae.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.el7 | 99 +
redhat/self-test/data/rhel-df0cc57e057f.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-df0cc57e057f.fc25 | 99 +
redhat/self-test/data/rhel-df0cc57e057f.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.el7 | 99 +
redhat/self-test/data/rhel-fce15c45d3fb.el7.spec | 3032 +++++++++++++++++++
redhat/self-test/data/rhel-fce15c45d3fb.fc25 | 99 +
redhat/self-test/data/rhel-fce15c45d3fb.fc25.spec | 3032 +++++++++++++++++++
redhat/self-test/1005-dist-dump-variables.bats | 59 +-
redhat/Makefile | 19 +-
redhat/Makefile.rhpkg | 6 +-
redhat/Makefile.variables | 10 +-
redhat/genspec.sh | 150 +-
54 files changed, 75327 insertions(+), 128 deletions(-)
2 years, 1 month