[OS-BUILD PATCH] [redhat] Add GIT macro to Makefile and
Makefile.common:
by GitLab Bridge on behalf of bcrocker
From: Ben Crocker <bcrocker(a)redhat.com>
GIT ?= git
and replace literal occurrences of 'git' with $(GIT).
This change enables us to override 'git' with, e.g., some
arbitrary shell script that prints additional information
and/or does additional processing before and/or after (or
even instead of) invoking /usr/bin/git.
Signed-off-by: Ben Crocker <bcrocker(a)redhat.com>
---
redhat/Makefile | 29 +++++++++++++++--------------
redhat/Makefile.common | 16 ++++++++--------
2 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/redhat/Makefile b/redhat/Makefile
index 27d2cd94e78f..ee3702434e05 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -1,3 +1,4 @@
+GIT ?= git
include Makefile.common
include Makefile.rhpkg
@@ -32,8 +33,8 @@ endif
BUILD_TARGET ?= --scratch $(BUILD_SCRATCH_TARGET)
FLAVOR =
-RHGITURL?=$(shell git config rhg.url || git config remote.origin.url)
-RHGITCOMMIT?=$(shell git log -1 --pretty=format:%H)
+RHGITURL?=$(shell $(GIT) config rhg.url || $(GIT) config remote.origin.url)
+RHGITCOMMIT?=$(shell $(GIT) log -1 --pretty=format:%H)
# this section is needed in order to make O= to work
_OUTPUT := ..
@@ -199,7 +200,7 @@ $(KABIDW_TARBALL):
dist-git-version-check:
@# genspec.sh uses pathspec magic that wasn't introduced until version 2.13
@IFS=" ."; \
- set -- $$(git --version); \
+ set -- $$($(GIT) --version); \
IFS=; \
if [ "$$3" -lt 2 -o \( "$$3" -eq 2 -a "$$4" -lt 13 \) ]; then \
echo "ERROR: You need git version 2.13 or newer to run some setup commands"; \
@@ -219,7 +220,7 @@ setup-source: dist-git-version-check dist-clean-sources
sources-rh: $(TARBALL)
@cp -l $(TARBALL) $(SOURCES)/ || cp $(TARBALL) $(SOURCES)/
@touch $(TESTPATCH)
- @git diff --no-renames HEAD > $(TESTPATCH).tmp
+ @$(GIT) diff --no-renames HEAD > $(TESTPATCH).tmp
@# 1) filterdiff will return crap from the patches it just filtered,
@# that's why egrep is needed so if there're changes under redhat/
@# but not everywhere else, it will be empty just like
@@ -265,7 +266,7 @@ sources-rh: $(TARBALL)
dist-sources: setup-source dist-configs-check dist-kabi dist-kabi-dup sources-rh
dist-test-patch:
- @git diff --no-renames HEAD > $(TESTPATCH);
+ @$(GIT) diff --no-renames HEAD > $(TESTPATCH);
@($(FILTERDIFF) $(TESTPATCH) | egrep -v "^index|^diff" >$(TESTPATCH).tmp; true)
@mv $(TESTPATCH).tmp $(TESTPATCH);
@@ -300,34 +301,34 @@ dist-release-finish: setup-source
@cp $(SOURCES)/$(CHANGELOG) $(REDHAT)/$(CHANGELOG)
@echo $(MARKER) > $(REDHAT)/marker
@# if neither changelog nor marker was updated, skip bumping a release
- git diff-index --quiet HEAD && (echo "Nothing changed, skipping updates"; exit 0) || true
+ $(GIT) diff-index --quiet HEAD && (echo "Nothing changed, skipping updates"; exit 0) || true
$(REDHAT)/scripts/new_release.sh $(REDHAT) $(__YSTREAM) $(__ZSTREAM); \
- git add $(REDHAT)/$(CHANGELOG); \
- git add $(REDHAT)/marker; \
- git commit -s ../Makefile.rhelver $(REDHAT)/marker $(REDHAT)/$(CHANGELOG) $(PACKAGE_NAME).spec.template -m "[redhat] $(PACKAGE_NAME)-$(STAMP_VERSION)-$(PREBUILD)$(BUILD)$(BUILDID)"; \
+ $(GIT) add $(REDHAT)/$(CHANGELOG); \
+ $(GIT) add $(REDHAT)/marker; \
+ $(GIT) commit -s ../Makefile.rhelver $(REDHAT)/marker $(REDHAT)/$(CHANGELOG) $(PACKAGE_NAME).spec.template -m "[redhat] $(PACKAGE_NAME)-$(STAMP_VERSION)-$(PREBUILD)$(BUILD)$(BUILDID)"; \
dist-release: dist-clean-sources
@$(MAKE) dist-release-finish
dist-release-tag:
- @git tag -a -m "$(PACKAGE_NAME)-$(STAMP_VERSION)-$(PKGRELEASE)" $(PACKAGE_NAME)-$(STAMP_VERSION)-$(PKGRELEASE)
+ @$(GIT) tag -a -m "$(PACKAGE_NAME)-$(STAMP_VERSION)-$(PKGRELEASE)" $(PACKAGE_NAME)-$(STAMP_VERSION)-$(PKGRELEASE)
git-tree-check:
- @if test -n "$(DIST_PUSH)" && test -z "$(shell git remote get-url gitlab 2>/dev/null)"; then \
+ @if test -n "$(DIST_PUSH)" && test -z "$(shell $(GIT) remote get-url gitlab 2>/dev/null)"; then \
echo -e "Please run 'git remote add gitlab <url>' to enable git-push.\n"; \
exit 1; \
fi
- @git diff-index --quiet HEAD || \
+ @$(GIT) diff-index --quiet HEAD || \
{ echo -e "Dirty tree, please clean before merging.\n"; exit 1; }
DIST_BRANCH ?= "os-build"
dist-merge-upstream: git-tree-check
- @if test "$(shell git branch --show-current)" != "$(DIST_BRANCH)"; then \
+ @if test "$(shell $(GIT) branch --show-current)" != "$(DIST_BRANCH)"; then \
echo -e "Please checkout $(DIST_BRANCH) branch before merging.\n"; \
exit 1; \
fi;
@# If TAG is empty, script defaults to master:HEAD
- git checkout $(DIST_BRANCH)
+ $(GIT) checkout $(DIST_BRANCH)
@$(REDHAT)/scripts/ci/ark-update-configs.sh $(TAG)
dist-merge-upstream-push: export DIST_PUSH="1"
diff --git a/redhat/Makefile.common b/redhat/Makefile.common
index b335f3c77c7d..80c3b8dfccd4 100644
--- a/redhat/Makefile.common
+++ b/redhat/Makefile.common
@@ -1,4 +1,4 @@
-TOPDIR:=$(shell git rev-parse --show-toplevel)
+TOPDIR:=$(shell $(GIT) rev-parse --show-toplevel)
REDHAT:=$(TOPDIR)/redhat
include $(TOPDIR)/Makefile.rhelver
@@ -6,11 +6,11 @@ RPMBUILD := $(shell if [ -x "/usr/bin/rpmbuild" ]; then echo rpmbuild; \
else echo rpm; fi)
MACH := $(shell uname -m)
-RPMKVERSION:=$(shell git show HEAD:Makefile | sed -ne '/^VERSION\ =\ /{s///;p;q}')
-RPMKPATCHLEVEL:=$(shell git show HEAD:Makefile | sed -ne '/^PATCHLEVEL\ =\ /{s///;p;q}')
-RPMKSUBLEVEL:=$(shell git show HEAD:Makefile | sed -ne '/^SUBLEVEL\ =\ /{s///;p;q}')
-RPMKEXTRAVERSION:=$(shell git show HEAD:Makefile | sed -ne '/^EXTRAVERSION\ =\ /{s///;p;q}')
-GITID:= $(shell git log --max-count=1 --pretty=format:%H)
+RPMKVERSION:=$(shell $(GIT) show HEAD:Makefile | sed -ne '/^VERSION\ =\ /{s///;p;q}')
+RPMKPATCHLEVEL:=$(shell $(GIT) show HEAD:Makefile | sed -ne '/^PATCHLEVEL\ =\ /{s///;p;q}')
+RPMKSUBLEVEL:=$(shell $(GIT) show HEAD:Makefile | sed -ne '/^SUBLEVEL\ =\ /{s///;p;q}')
+RPMKEXTRAVERSION:=$(shell $(GIT) show HEAD:Makefile | sed -ne '/^EXTRAVERSION\ =\ /{s///;p;q}')
+GITID:= $(shell $(GIT) log --max-count=1 --pretty=format:%H)
# marker is git tag which we base off of for exporting patches
# Make sure marker uses RPMKPATCHLEVEL and RPMKEXTRAVERSION from the kernel
# makefile as opposed to any adjusted version for snapshotting.
@@ -42,8 +42,8 @@ else
endif
ifeq ($(VERSION_ON_UPSTREAM),1)
# master is expected to track mainline.
- MERGE_BASE:=$(shell git merge-base HEAD master)
- _TAG:=$(shell git describe $(MERGE_BASE))
+ MERGE_BASE:=$(shell $(GIT) merge-base HEAD master)
+ _TAG:=$(shell $(GIT) describe $(MERGE_BASE))
# a snapshot off of a tagged git is of the form [tag]-[cnt]-g[hash]
SNAPSHOT:=$(shell echo $(_TAG) | grep -c '\-g')
else
--
GitLab
2 years, 11 months
[OS-BUILD PATCH] Fix branch creation for releases based on tags
by GitLab Bridge on behalf of jeremycline
From: Jeremy Cline <jcline(a)redhat.com>
The release scripts are supposed create a set of branches if the release
is based of a tag rather than a snapshot. davidlt noted on IRC that
branches were missing for recent tags, namely rc3 and rc4. The reason is
that the check for a signed tag expects $UPSTREAM_REF to be the tag.
Resolve $UPSTREAM_REF to a tag (if it exists) prior to verifying the
tag.
Signed-off-by: Jeremy Cline <jcline(a)redhat.com>
---
redhat/scripts/ci/ark-create-release.sh | 2 +-
redhat/scripts/ci/ark-rebase-patches.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/redhat/scripts/ci/ark-create-release.sh b/redhat/scripts/ci/ark-create-release.sh
index fd57e533ddb4..83b102ceb54f 100755
--- a/redhat/scripts/ci/ark-create-release.sh
+++ b/redhat/scripts/ci/ark-create-release.sh
@@ -37,7 +37,7 @@ git checkout os-build
git checkout os-build
./redhat/scripts/ci/ark-update-configs.sh "$UPSTREAM_REF" "$PROJECT_ID"
-if git tag -v "$UPSTREAM_REF" > /dev/null 2>&1; then
+if git tag -v "$(git describe --exact-match "$UPSTREAM_REF")"; then
git checkout -b ark/"$UPSTREAM_REF" ark/patches/"$UPSTREAM_REF"
RELEASE_BRANCHES=" ark/$UPSTREAM_REF ark/patches/$UPSTREAM_REF"
else
diff --git a/redhat/scripts/ci/ark-rebase-patches.sh b/redhat/scripts/ci/ark-rebase-patches.sh
index 2ac22bcba3bd..4a02176bde88 100755
--- a/redhat/scripts/ci/ark-rebase-patches.sh
+++ b/redhat/scripts/ci/ark-rebase-patches.sh
@@ -102,7 +102,7 @@ else
exit 2
fi
-if git tag -v "$UPSTREAM_REF" > /dev/null 2>&1; then
+if git tag -v "$(git describe --exact-match "$UPSTREAM_REF")"; then
printf "Creating branch \"ark/patches/%s\"\n" "$UPSTREAM_REF"
git branch ark/patches/"$UPSTREAM_REF"
printf "Don't forget to run 'git push <remote> ark/patches/%s'\n" "$UPSTREAM_REF"
--
2.26.2
2 years, 11 months
[OS-BUILD PATCH] [redhat] New configs in drivers/bus
by GitLab Bridge on behalf of jeremycline
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_VEXPRESS_CONFIG:
Platform configuration infrastructure for the ARM Ltd.
Versatile Express.
Symbol: VEXPRESS_CONFIG [=y]
Type : tristate
Defined at drivers/bus/Kconfig:224
Prompt: Versatile Express configuration bus
Depends on: (ARM || ARM64 [=y]) && OF [=y]
Location:
-> Device Drivers
-> Bus devices
Selects: REGMAP [=y]
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
---
.../common/generic/CONFIG_VEXPRESS_CONFIG | 1 +
.../generic/CONFIG_VEXPRESS_CONFIG | 18 ------------------
2 files changed, 1 insertion(+), 18 deletions(-)
create mode 100644 redhat/configs/common/generic/CONFIG_VEXPRESS_CONFIG
delete mode 100644 redhat/configs/pending-common/generic/CONFIG_VEXPRESS_CONFIG
diff --git a/redhat/configs/common/generic/CONFIG_VEXPRESS_CONFIG b/redhat/configs/common/generic/CONFIG_VEXPRESS_CONFIG
new file mode 100644
index 000000000000..389660309f56
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_VEXPRESS_CONFIG
@@ -0,0 +1 @@
+CONFIG_VEXPRESS_CONFIG=y
diff --git a/redhat/configs/pending-common/generic/CONFIG_VEXPRESS_CONFIG b/redhat/configs/pending-common/generic/CONFIG_VEXPRESS_CONFIG
deleted file mode 100644
index a2c1cb307e90..000000000000
--- a/redhat/configs/pending-common/generic/CONFIG_VEXPRESS_CONFIG
+++ /dev/null
@@ -1,18 +0,0 @@
-# CONFIG_VEXPRESS_CONFIG:
-#
-# Platform configuration infrastructure for the ARM Ltd.
-# Versatile Express.
-#
-# Symbol: VEXPRESS_CONFIG [=y]
-# Type : tristate
-# Defined at drivers/bus/Kconfig:224
-# Prompt: Versatile Express configuration bus
-# Depends on: (ARM || ARM64 [=y]) && OF [=y]
-# Location:
-# -> Device Drivers
-# -> Bus devices
-# Selects: REGMAP [=y]
-#
-#
-#
-CONFIG_VEXPRESS_CONFIG=y
--
2.26.2
2 years, 11 months
[OS-BUILD PATCH] [redhat] New configs in drivers/net/dsa
by CKI Gitlab (via Email Bridge)
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in drivers/net/dsa
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_NET_DSA_MV88E6XXX_PTP:
Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
chips that support it.
Symbol: NET_DSA_MV88E6XXX_PTP [=n]
Type : bool
Defined at drivers/net/dsa/mv88e6xxx/Kconfig:12
Prompt: PTP support for Marvell 88E6xxx
Depends on: NETDEVICES [=y] && HAVE_NET_DSA [=y] && PTP_1588_CLOCK [=y]
Location:
-> Device Drivers
-> Network device support (NETDEVICES [=y])
-> Distributed Switch Architecture drivers
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff a/redhat/configs/common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP b/redhat/configs/common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP
@@ -0,0 +1 @@
+# CONFIG_NET_DSA_MV88E6XXX_PTP is not set
diff a/redhat/configs/pending-common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP b/redhat/configs/pending-common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP
--- a/redhat/configs/pending-common/generic/CONFIG_NET_DSA_MV88E6XXX_PTP
+++ /dev/null
@@ -1,18 +0,0 @@
-# CONFIG_NET_DSA_MV88E6XXX_PTP:
-#
-# Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
-# chips that support it.
-#
-# Symbol: NET_DSA_MV88E6XXX_PTP [=n]
-# Type : bool
-# Defined at drivers/net/dsa/mv88e6xxx/Kconfig:12
-# Prompt: PTP support for Marvell 88E6xxx
-# Depends on: NETDEVICES [=y] && HAVE_NET_DSA [=y] && PTP_1588_CLOCK [=y]
-# Location:
-# -> Device Drivers
-# -> Network device support (NETDEVICES [=y])
-# -> Distributed Switch Architecture drivers
-#
-#
-#
-# CONFIG_NET_DSA_MV88E6XXX_PTP is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/907
2 years, 11 months
[OS-BUILD PATCH] [redhat] New configs in fs/nfs
by GitLab Bridge on behalf of redhat-patchlab
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_NFS_V4_2_READ_PLUS:
This is intended for developers only. The READ_PLUS operation has
been shown to have issues under specific conditions and should not
be used in production.
Symbol: NFS_V4_2_READ_PLUS [=n]
Type : bool
Defined at fs/nfs/Kconfig:209
Prompt: NFS: Enable support for the NFSv4.2 READ_PLUS operation
Depends on: NETWORK_FILESYSTEMS [=y] && NFS_V4_2 [=y]
Location:
-> File systems
-> Network File Systems (NETWORK_FILESYSTEMS [=y])
---
Cc: kernel-patches(a)redhat.com
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
---
.../common/generic/CONFIG_NFS_V4_2_READ_PLUS | 1 +
.../generic/CONFIG_NFS_V4_2_READ_PLUS | 18 ------------------
2 files changed, 1 insertion(+), 18 deletions(-)
create mode 100644 redhat/configs/common/generic/CONFIG_NFS_V4_2_READ_PLUS
delete mode 100644 redhat/configs/pending-common/generic/CONFIG_NFS_V4_2_READ_PLUS
diff --git a/redhat/configs/common/generic/CONFIG_NFS_V4_2_READ_PLUS b/redhat/configs/common/generic/CONFIG_NFS_V4_2_READ_PLUS
new file mode 100644
index 000000000000..4d62001f1f91
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_NFS_V4_2_READ_PLUS
@@ -0,0 +1 @@
+# CONFIG_NFS_V4_2_READ_PLUS is not set
diff --git a/redhat/configs/pending-common/generic/CONFIG_NFS_V4_2_READ_PLUS b/redhat/configs/pending-common/generic/CONFIG_NFS_V4_2_READ_PLUS
deleted file mode 100644
index 5a90e4f7db16..000000000000
--- a/redhat/configs/pending-common/generic/CONFIG_NFS_V4_2_READ_PLUS
+++ /dev/null
@@ -1,18 +0,0 @@
-# CONFIG_NFS_V4_2_READ_PLUS:
-#
-# This is intended for developers only. The READ_PLUS operation has
-# been shown to have issues under specific conditions and should not
-# be used in production.
-#
-# Symbol: NFS_V4_2_READ_PLUS [=n]
-# Type : bool
-# Defined at fs/nfs/Kconfig:209
-# Prompt: NFS: Enable support for the NFSv4.2 READ_PLUS operation
-# Depends on: NETWORK_FILESYSTEMS [=y] && NFS_V4_2 [=y]
-# Location:
-# -> File systems
-# -> Network File Systems (NETWORK_FILESYSTEMS [=y])
-#
-#
-#
-# CONFIG_NFS_V4_2_READ_PLUS is not set
--
GitLab
2 years, 11 months
[OS-BUILD PATCH] [redhat] New configs in drivers/rtc
by GitLab Bridge on behalf of redhat-patchlab
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_RTC_DRV_GOLDFISH:
Say yes to enable RTC driver for the Goldfish based virtual platform.
Goldfish is a code name for the virtual platform developed by Google
for Android emulation.
Symbol: RTC_DRV_GOLDFISH [=n]
Type : tristate
Defined at drivers/rtc/Kconfig:1943
Prompt: Goldfish Real Time Clock
Depends on: RTC_CLASS [=y] && OF [=y] && HAS_IOMEM [=y]
Location:
-> Device Drivers
-> Real Time Clock (RTC_CLASS [=y])
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
---
.../common/generic/CONFIG_RTC_DRV_GOLDFISH | 1 +
.../generic/CONFIG_RTC_DRV_GOLDFISH | 19 -------------------
2 files changed, 1 insertion(+), 19 deletions(-)
create mode 100644 redhat/configs/common/generic/CONFIG_RTC_DRV_GOLDFISH
delete mode 100644 redhat/configs/pending-common/generic/CONFIG_RTC_DRV_GOLDFISH
diff --git a/redhat/configs/common/generic/CONFIG_RTC_DRV_GOLDFISH b/redhat/configs/common/generic/CONFIG_RTC_DRV_GOLDFISH
new file mode 100644
index 000000000000..4b7e561b61de
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_RTC_DRV_GOLDFISH
@@ -0,0 +1 @@
+# CONFIG_RTC_DRV_GOLDFISH is not set
diff --git a/redhat/configs/pending-common/generic/CONFIG_RTC_DRV_GOLDFISH b/redhat/configs/pending-common/generic/CONFIG_RTC_DRV_GOLDFISH
deleted file mode 100644
index cfb8193b9bb0..000000000000
--- a/redhat/configs/pending-common/generic/CONFIG_RTC_DRV_GOLDFISH
+++ /dev/null
@@ -1,19 +0,0 @@
-# CONFIG_RTC_DRV_GOLDFISH:
-#
-# Say yes to enable RTC driver for the Goldfish based virtual platform.
-#
-# Goldfish is a code name for the virtual platform developed by Google
-# for Android emulation.
-#
-# Symbol: RTC_DRV_GOLDFISH [=n]
-# Type : tristate
-# Defined at drivers/rtc/Kconfig:1943
-# Prompt: Goldfish Real Time Clock
-# Depends on: RTC_CLASS [=y] && OF [=y] && HAS_IOMEM [=y]
-# Location:
-# -> Device Drivers
-# -> Real Time Clock (RTC_CLASS [=y])
-#
-#
-#
-# CONFIG_RTC_DRV_GOLDFISH is not set
--
GitLab
2 years, 11 months
[OS-BUILD PATCHv4] Export ark infrastructure files
by Don Zickus (via Email Bridge)
From: Don Zickus <dzickus(a)redhat.com>
Export ark infrastructure files
Allow developers to use the ark infrastructure work on upstream
git trees. This change saves the redhat/ plus supporting files
on top of the 'master' branch.
A developer can then 'git merge ark-infra' to apply this
infrastructure.
"NO_CONFIGCHECKS make dist-configs" to create the configs. And
away they go.
Utilize the daily rawhide_release builds to create this branch. It
fits with the theme and is quick and easy to do in this job. Note
I use the 'ark-latest' as the source of the export. This should
include any environment fixes for the developer.
Tested by copy-n-pasting manual each step in the script to generate
the original ark-infra branch. The gitlab-ci.yml change should be
intuitive enough to skip testing.
V2: Use git-archive and better sed regexp
V3: remove git reset and sed
V4: added comment about kabi-module (no new changes)
diff a/.gitlab-ci.yml b/.gitlab-ci.yml
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,6 +100,7 @@ rawhide_release:
script:
- git checkout --track origin/master && git describe
- git checkout --track origin/ark-latest && git describe
+ - git checkout --track origin/ark-infra && git describe
- git checkout --track origin/os-build && git describe
- export PROJECT_ID="$CI_PROJECT_ID"
- redhat/scripts/ci/ark-create-release.sh "master" "$CI_PROJECT_ID" || exit_code=$?
@@ -117,6 +118,7 @@ rawhide_release:
- git push gitlab "$(git describe)"
- git push gitlab ark/*
- git push -f gitlab ark-latest
+ - git push -f gitlab ark-infra
retry: 2
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule" && $RAWHIDE_RELEASE == "true"'
diff a/redhat/scripts/ci/ark-create-release.sh b/redhat/scripts/ci/ark-create-release.sh
--- a/redhat/scripts/ci/ark-create-release.sh
+++ b/redhat/scripts/ci/ark-create-release.sh
@@ -57,6 +57,24 @@ RELEASE=$(git describe)
git checkout ark-latest
git reset --hard "$RELEASE"
+# Update ark-infra branch
+git checkout ark-infra
+
+# Using ark-latest because it has latest fixes
+rm -rf makefile Makefile.rhelver redhat/
+git archive --format=tar ark-latest makefile Makefile.rhelver redhat/ | tar -x
+
+# Manually add hook instead of cherry-pick
+# Add to middle to avoid git merge conflicts
+# NOTE: commented out but left for future info to rebuild from scratch
+# sed -i '/# We are using a recursive / i include Makefile.rhelver\n' Makefile
+
+git add makefile Makefile.rhelver Makefile redhat
+# Future rebuid note, .gitkeep files are gitignored and need force adding
+# git add -f redhat/kabi/kabi-module/kabi*
+
+git commit -m "bulk merge ark-infra as of $(date)"
+
printf "All done!
To push all the release artifacts, run:
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/968
2 years, 12 months
[OS-BUILD PATCH] [redhat] New configs in sound/soc
by CKI Gitlab (via Email Bridge)
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in sound/soc
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK:
This adds support for SoundWire with Sound Open Firmware
for Intel(R) platforms.
Say Y if you want to enable SoundWire links with SOF.
If unsure select "N".
Symbol: SND_SOC_SOF_INTEL_SOUNDWIRE_LINK [=n]
Type : bool
Defined at sound/soc/sof/intel/Kconfig:356
Prompt: SOF support for SoundWire
Depends on: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_SOC_SOF_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_PCI [=m] && ACPI [=y]
Location:
-> Device Drivers
-> Sound card support (SOUND [=m])
-> Advanced Linux Sound Architecture (SND [=m])
-> ALSA for SoC audio support (SND_SOC [=m])
-> Sound Open Firmware Support (SND_SOC_SOF_TOPLEVEL [=y])
-> SOF support for Intel audio DSPs (SND_SOC_SOF_INTEL_TOPLEVEL [=y])
---
Cc: Jaroslav Kysela <jkysela(a)redhat.com>
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff a/redhat/configs/common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK b/redhat/configs/common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK
@@ -0,0 +1 @@
+# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK is not set
diff a/redhat/configs/pending-common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK b/redhat/configs/pending-common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK
--- a/redhat/configs/pending-common/generic/CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK
+++ /dev/null
@@ -1,23 +0,0 @@
-# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK:
-#
-# This adds support for SoundWire with Sound Open Firmware
-# for Intel(R) platforms.
-# Say Y if you want to enable SoundWire links with SOF.
-# If unsure select "N".
-#
-# Symbol: SND_SOC_SOF_INTEL_SOUNDWIRE_LINK [=n]
-# Type : bool
-# Defined at sound/soc/sof/intel/Kconfig:356
-# Prompt: SOF support for SoundWire
-# Depends on: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_SOC_SOF_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_TOPLEVEL [=y] && SND_SOC_SOF_INTEL_PCI [=m] && ACPI [=y]
-# Location:
-# -> Device Drivers
-# -> Sound card support (SOUND [=m])
-# -> Advanced Linux Sound Architecture (SND [=m])
-# -> ALSA for SoC audio support (SND_SOC [=m])
-# -> Sound Open Firmware Support (SND_SOC_SOF_TOPLEVEL [=y])
-# -> SOF support for Intel audio DSPs (SND_SOC_SOF_INTEL_TOPLEVEL [=y])
-#
-#
-#
-# CONFIG_SND_SOC_SOF_INTEL_SOUNDWIRE_LINK is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/875
3 years
[OS-BUILD PATCH] [redhat] New configs in arch/s390
by CKI Gitlab (via Email Bridge)
From: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
[redhat] New configs in arch/s390
Hi,
As part of the ongoing rebase effort, the following configuration
options need to be reviewed.
As a reminder, the ARK configuration flow involves moving unreviewed
configuration options from the pending directory to the ark directory.
In the diff below, options are removed from the pending directory and
added to the ark hierarchy. The final options that need to be ACKed
are the files that are being added to the ark hierarchy.
If the value for a file that is added should be changed, please reply
with a better option.
CONFIG_DEBUG_ENTRY:
This option enables sanity checks in s390 low-level entry code.
Some of these sanity checks may slow down kernel entries and
exits or otherwise impact performance.
If unsure, say N.
Symbol: DEBUG_ENTRY [=n]
Type : bool
Defined at arch/s390/Kconfig.debug:9
Prompt: Debug low-level entry code
Depends on: DEBUG_KERNEL [=y]
Location:
-> Kernel hacking
-> s390 Debugging
---
Signed-off-by: Fedora Kernel Team <kernel-team(a)fedoraproject.org>
diff a/redhat/configs/common/generic/CONFIG_DEBUG_ENTRY b/redhat/configs/common/generic/CONFIG_DEBUG_ENTRY
--- /dev/null
+++ b/redhat/configs/common/generic/CONFIG_DEBUG_ENTRY
@@ -0,0 +1 @@
+# CONFIG_DEBUG_ENTRY is not set
diff a/redhat/configs/pending-common/generic/CONFIG_DEBUG_ENTRY b/redhat/configs/pending-common/generic/CONFIG_DEBUG_ENTRY
--- a/redhat/configs/pending-common/generic/CONFIG_DEBUG_ENTRY
+++ /dev/null
@@ -1,20 +0,0 @@
-# CONFIG_DEBUG_ENTRY:
-#
-# This option enables sanity checks in s390 low-level entry code.
-# Some of these sanity checks may slow down kernel entries and
-# exits or otherwise impact performance.
-#
-# If unsure, say N.
-#
-# Symbol: DEBUG_ENTRY [=n]
-# Type : bool
-# Defined at arch/s390/Kconfig.debug:9
-# Prompt: Debug low-level entry code
-# Depends on: DEBUG_KERNEL [=y]
-# Location:
-# -> Kernel hacking
-# -> s390 Debugging
-#
-#
-#
-# CONFIG_DEBUG_ENTRY is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/900
3 years