Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: yaroslavborbat <[email protected]>
  • Loading branch information
yaroslavborbat committed Dec 25, 2024
1 parent 202f712 commit 6868a63
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions images/virt-launcher/werf.inc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,9 @@ shell:
wget https://mirror.stream.centos.org/9-stream/AppStream/source/tree/Packages/edk2-20241117-1.el9.src.rpm
rpm2cpio edk2-20241117-1.el9.src.rpm > edk2.cpio
cpio -id < edk2.cpio
find ./ -iname "*.patch" | while read p ; do
NAME=$(echo $p | sed 's!.patch!-rhel.patch!g')
cp $p /home/builder/RPM/SOURCES/$NAME
done
sed -i "/^%patch1 -p1/a for p in %{_sourcedir}/*-rhel.patch; do patch -p1 --force --verbose < \$p ; done" /home/builder/RPM/SPECS/edk2.spec
cp 0036-OvmfPkg-PlatformInitLib-enable-x2apic-mode-if-needed.patch /home/builder/RPM/SOURCES/
sed -i '/^Patch1:/a Patch2: 0036-OvmfPkg-PlatformInitLib-enable-x2apic-mode-if-needed.patch' /home/builder/RPM/SPECS/edk2.spec
sed -i '/^%patch1 -p1/a %patch2 -p1' /home/builder/RPM/SPECS/edk2.spec
# Build RPMs. edk2 package prints a huge log with about 770k lines,
Expand Down

0 comments on commit 6868a63

Please sign in to comment.