File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 10
10
runs-on :
11
11
labels : ubuntu-latest
12
12
steps :
13
+ - name : Checkout code
14
+ uses : actions/checkout@v4
15
+ with :
16
+ ref : " ${{ github.event.pull_request.head.sha }}"
17
+ fetch-depth : 0
18
+
13
19
- name : Install rinse
14
20
run : |
15
21
sudo apt-get install rinse
@@ -21,26 +27,20 @@ jobs:
21
27
--arch amd64 \
22
28
--directory centos7-vault
23
29
24
- - name : Point yum to vault
30
+ - name : Point yum to vault (in chroot)
25
31
run : |
26
32
sudo sed -e '/mirrorlist=.*/d' \
27
33
-e 's/#baseurl=/baseurl=/' \
28
34
-e "s/\$releasever/7.9.2009/g" \
29
35
-e "s/mirror.centos.org/dl.rockylinux.org\/vault/g" \
30
36
-i centos7-vault/etc/yum.repos.d/CentOS-Base.repo
31
37
32
- - name : Checkout code
33
- uses : actions/checkout@v4
34
- with :
35
- ref : " ${{ github.event.pull_request.head.sha }}"
36
- fetch-depth : 0
37
-
38
- - name : Install tools and Libraries
38
+ - name : Install tools and Libraries (in chroot)
39
39
run : |
40
40
sudo chroot centos7-vault yum groupinstall 'Development Tools' -y
41
41
sudo chroot centos7-vault yum install bc dwarves git glibc-devel hostname kernel-devel mpfr openssl openssl-devel elfutils-libelf-devel -y
42
42
43
- - name : Build the Kernel
43
+ - name : Build the Kernel (in chroot)
44
44
run : |
45
45
sudo mv kernel-src-tree centos7-vault
46
46
sudo chroot centos7-vault sh -c "cd kernel-src-tree && cp configs/kernel-3.10.0-x86_64.config .config"
You can’t perform that action at this time.
0 commit comments