Re: [OS-BUILD PATCHv2 0/3] redhat/Makefile: Add new dist-help functionality

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3585#note_2289936602

Sorry for the cut-and-paste but does this resolve the problem?

```
diff --git a/redhat/Makefile b/redhat/Makefile
index b10a440c4229..44885f99b44d 100644
--- a/redhat/Makefile
+++ b/redhat/Makefile
@@ -184,6 +184,7 @@ endif
 UPSTREAM:=$(shell $(GIT) rev-parse -q --verify origin/$(UPSTREAM_BRANCH) || \
             $(GIT) rev-parse -q --verify $(UPSTREAM_BRANCH))

+ifeq ($(filter dist-full-help dist-help dist-help-% dist-
helper-%,$(MAKECMDGOALS)),)
 ifneq ("$(wildcard $(TOPDIR)/localversion-next)", "")
   # we are building linux-next
   MARKER:=$(shell $(GIT) describe $(UPSTREAM))
@@ -246,6 +247,7 @@ else
     endif
   endif
 endif
+endif

 # This section contains the variables that represent the kernel rpm's NVR.
 # The NVR looks like, for example,
kernel-5.17.0-0.rc8.551acdc3c3d2.124.test.fc35.
```

-- 
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux