File tree 3 files changed +393
-3
lines changed
3 files changed +393
-3
lines changed Original file line number Diff line number Diff line change 53
53
run : |
54
54
mkdir /tmp/repo
55
55
cp *.rpm /tmp/repo
56
- docker run -t -v "repo ":/repo -v "/tmp/repo":/tmp/repo fedora:37 /bin/bash -c "/repo/build.sh"
56
+ docker run -t -v "$PWD ":/repo -v "/tmp/repo":/tmp/repo fedora:37 /bin/bash -c "/repo/build.sh"
57
57
mkdir -p ./d
58
58
cp -r /tmp/repo ./deploy
59
59
Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ git checkout ${PATCHES_COMMIT}
32
32
echo " =====PREPARING SOURCES====="
33
33
cd ~ /rpmbuild/SPECS
34
34
sed -i ' s/# define buildid .local/%define buildid .t2/g' kernel.spec
35
- sed -i " s@Patch0: 0001-remove-btrfs-plugin.patch\n%endif@Patch0: 0001-remove-btrfs-plugin.patch\n%endif\n Patch1: 0002-add-t2-support.patch@g" python-blivet.spec
36
- sed ' /License: LGPLv2+/a Patch1: 0002-add-t2-support.patch' python-blivet.spec
35
+ mv -f /repo/python-blivet.spec /repo/rpmbuild/SPECS/python-blivet.spec
37
36
mv /repo/0002-add-t2-support.patch /root/rpmbuild/SOURCES/0002-add-t2-support.patch
38
37
cat /tmp/download/* /extra_config > /root/rpmbuild/SOURCES/kernel-local
39
38
rpmbuild -bp kernel.spec
You can’t perform that action at this time.
0 commit comments