311 Commits

Author SHA1 Message Date
fu.lin
dcece5b76b spec: do not recompute the build-id of vmlinux
Since rpm-build version 4.14.0-rc1(commit id: 4842adf), the new code
will recompute the build-id of vmlinux when generating debuginfo, and
results that the build-id is different from the boot image. Some debug
tools, like perf, when we use `-k` to specify vmlinux, it would refuse
to load vmlinux while detecing the build-id is different between vmlinux
and the current boot image.

We can use `$ file vmlinux` or `$ objdump -s -j .notes` to check
vmlinux's build-id, and `$ hexdump /sys/kernel/notes` to check current
boot image build-id.

This patch is prevent build-id changing from generating debuginfo
package.

Signed-off-by: fu.lin <fu.lin10@huawei.com>
Signed-off-by: yanglei <yanglei209@huawei.com>
2020-12-26 03:15:37 +00:00
openeuler-ci-bot
085f93a6e2 !93 release 5.10.0-0.0.0.7
From: @xiexiuqi
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-12-17 15:12:24 +08:00
Xie XiuQi
38c2b8e0a2 kernel.spec: release 5.10.0-0.0.0.7
rebase on top of v5.10

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-12-16 09:31:10 +08:00
openeuler-ci-bot
7640852a58 !89 release 5.10.0-rc7.0.0.6
From: @xiexiuqi
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-12-10 17:11:42 +08:00
Xie XiuQi
76b601f770 kernel.spec: release 5.10.0-rc7.0.0.6
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-12-09 20:30:04 +08:00
openeuler-ci-bot
213b7618f7 !82 release 5.10.0-rc4.0.0.5
From: @xiexiuqi
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-11-18 16:40:12 +08:00
Xie XiuQi
33ddd81117 kernel.spec: release 5.10.0-rc4.0.0.5
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-18 14:52:02 +08:00
Xie XiuQi
469715cae3 kernel.spec: privode config files in src package
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-18 14:52:02 +08:00
openeuler-ci-bot
2bc3d65224 !81 release 5.10.0-rc3.0.0.4
From: @xiexiuqi
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-11-09 19:54:50 +08:00
Xie XiuQi
89657a9dd1 kernel.spec: release 5.10.0-rc3.0.0.4
rebase on top of v5.10-rc3

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 14:29:11 +08:00
Xie XiuQi
219d8c3ede kernel.spec: add missing debuginfodir
The debuginfodir global defination is missing in
commit 23a9377fae ("upgrade to linux 5.10"). Add
it back.

Fixes: 723a9377fae ("upgrade to linux 5.10")
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 14:28:02 +08:00
Xie XiuQi
0538717141 kernel.spec: use rcX for v5.10-rcX source version
For the history:
5.10.0-2.0.0.3 (released on 2020-11-06) should be 5.10.0-rc2.0.0.3
5.10.0-1.0.0.2 (released on 2020-10-31) should be 5.10.0-rc1.0.0.2

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-09 10:57:00 +08:00
openeuler-ci-bot
c39c4ba16b !79 release 5.10.0-2.0.0.3
From: @xiexiuqi
Reviewed-by: 
Signed-off-by:
2020-11-06 15:37:54 +08:00
Xie XiuQi
5b8383e63d kernel.spec: release 5.10.0-2.0.0.3
rebase on top of v5.10-rc2.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:35 +08:00
Xie XiuQi
365978b202 kernel.spec: remove /lib/modules/%{KernelVer} if empty when uninstall
When uninstall kernel package, we meet this error message:
"ls: cannot access '/lib/modules/5.10.0-xxx": No such file or directory"

check directory before list directory contents.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:18 +08:00
Xie XiuQi
fce01de2d8 report kernel source error
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-06 14:14:18 +08:00
Xie XiuQi
68159864b5 kernel.spec: provide /boot/symvers-kernelver.gz even no kabichk
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-11-02 14:40:46 +08:00
openeuler-ci-bot
eefb3e6282 !74 build 5.10 rc kernel
From: @xiexiuqi
Reviewed-by: 
Signed-off-by:
2020-10-31 15:02:39 +08:00
Xie XiuQi
34f2293436 kernel.spec: release 5.10.0-1.0.0.2
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-31 10:31:58 +08:00
Xie XiuQi
f2f7fdc31e config: enable access to .config through /proc/config.gz
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-31 09:20:30 +08:00
Xie XiuQi
fa450b9b66 upgrade to linux 5.10
openEuler choose 5.10 as the next long-term support kernel.
so upgrade to linux 5.10

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
8881dc97f4 kernel.spec: adjust module.lds path for build out-of-tree module
module.lds is moved from arch/{arch}/kernel/module.lds to
scripts/module.lds by commit 596b0474d3d9 in linux 5.10,
so adjust the path.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
bd61029a31 add requires libs
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
8da8c644b8 kernel.spec: change -Source to -source
Usually we use lower case for filenames,
so use -source instead of -Source.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:50 +08:00
Xie XiuQi
d7b9778da3 config: add openeuler_defconfig for arm64 & x86
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-30 15:11:31 +08:00
openeuler-ci-bot
5ec76725da !73 kernel.spec:delete python2 dependency
From: @xiezhipeng1
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-10-15 19:21:58 +08:00
Zhipeng Xie
52de7f94dc kernel.spec:delete python2 dependency
Python2 is no longer supported by the upstream community. The
dependency on python2 should be removed from the kernel code.

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
2020-10-15 05:23:34 -04:00
openeuler-ci-bot
c566587c01 !70 release 4.19.148-2009.1.0
From: @xiexiuqi
Reviewed-by: @yangyingliang
Signed-off-by: @yangyingliang
2020-10-11 16:14:56 +08:00
Xie XiuQi
732c3e91df kernel.spec: release 4.19.148-2009.1.0
Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
2020-10-11 14:43:07 +08:00
openeuler-ci-bot
dfc7d9dcc7 !59 add perf-tip file fix cannot load perf-tips warning
From: @xinghe_1
Reviewed-by: @xiexiuqi
Signed-off-by: @xiexiuqi
2020-09-17 09:11:15 +08:00
xinghe
fa9ce77133 add perf-tip file fix cannot load perf-tips warning
add perf-tip file fix cannot load perf-tips warning
2020-09-14 15:51:39 +08:00
openeuler-ci-bot
b83d890707 !49 release 4.19.9138-2008.1.0
Merge pull request !49 from YangYingliang/master
2020-08-12 19:00:09 +08:00
YangYingliang
e5c7ce1313 update SOURCE. 2020-08-12 15:17:22 +08:00
YangYingliang
50f407bb44 update kernel.spec. 2020-08-12 15:16:54 +08:00
openeuler-ci-bot
b55fd67c28 !47 update x509.genkey.
Merge pull request !47 from YangYingliang/master
2020-06-15 19:55:52 +08:00
YangYingliang
8e8e6897e8 update x509.genkey. 2020-06-15 18:18:15 +08:00
YangYingliang
d1a9558c76 update kernel.spec. 2020-06-15 17:31:31 +08:00
openeuler-ci-bot
41368ba423 !46 release 4.19.9128-2006.1.0
Merge pull request !46 from YangYingliang/master
2020-06-15 17:23:58 +08:00
YangYingliang
a9491b6ea0 update kernel.spec. 2020-06-12 17:37:54 +08:00
YangYingliang
94a57a6766 update SOURCE. 2020-06-12 17:35:33 +08:00
YangYingliang
bbaa81988e update kernel.spec. 2020-06-12 17:33:54 +08:00
YangYingliang
812556ae55 update SOURCE. 2020-06-12 17:29:49 +08:00
YangYingliang
c969a2bb1d update kernel.spec. 2020-06-12 17:28:59 +08:00
YangYingliang
37951ce185 update kernel.spec. 2020-06-12 15:54:28 +08:00
YangYingliang
e29afff4b7 update kernel.spec. 2020-06-12 15:54:02 +08:00
openeuler-ci-bot
0286b862f4 !37 Release 4.19.90-2003.3.0
Merge pull request !37 from YangYingliang/master
2020-03-21 18:53:30 +08:00
YangYingliang
7b36a2433e update SOURCE. 2020-03-21 18:38:45 +08:00
YangYingliang
812eb441b2 update kernel.spec. 2020-03-21 18:35:10 +08:00
YangYingliang
e324285722 update kernel.spec. 2020-03-20 18:02:41 +08:00
YangYingliang
1a3c4d598d update kernel.spec. 2020-03-20 18:01:56 +08:00