dist/Makefile: add correct URL info when build tl4 rpm

In dist/Makefile, the VENDOR and URL are filled by OpenCloudOS info,
Change them to tencentos info when building tl4 rpm.

Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
Reviewed-by: Yongliang Gao <leonylgao@tencent.com>
This commit is contained in:
Jianping Liu 2024-07-30 15:01:25 +08:00
parent 85c40d2d2c
commit 8b72acfebf
1 changed files with 6 additions and 0 deletions

6
dist/Makefile vendored
View File

@ -14,10 +14,16 @@ endif
### Downstream marker, update this when forking to another downstream
KDIST =
ifeq ($(KDIST),oc9)
### Vendor mark
VENDOR = opencloudos
VENDOR_CAPITALIZED = OpenCloudOS
URL = https://github.com/OpenCloudOS/OpenCloudOS-Kernel-Stream
else
VENDOR = tencentos
VENDOR_CAPITALIZED = TencentOS
URL = https://git.woa.com/tlinux/tkernel5
endif
### Get native arch for binary build by default
NATIVE_ARCH := $(shell uname -m | sed -e 's/amd64/x86_64/;s/arm64/aarch64/;s/*86$$/x86/')