mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 19:31:52 +00:00
Apply patch for Hyper-V image support
This commit is contained in:
parent
49a2b32845
commit
fa57832c6c
1 changed files with 8 additions and 0 deletions
8
build.sh
8
build.sh
|
@ -153,6 +153,14 @@ else
|
|||
fi
|
||||
echo "Done"
|
||||
|
||||
if [ "$OMR_TARGET" = "x86_64" ]; then
|
||||
echo "Checking if Hyper-V patch is set or not"
|
||||
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/images.patch; then
|
||||
patch -N -p1 -s < ../../patches/images.patch
|
||||
fi
|
||||
echo "Done"
|
||||
fi
|
||||
|
||||
#echo "Patch protobuf wrong hash"
|
||||
#patch -N -R -p1 -s < ../../patches/protobuf_hash.patch
|
||||
#echo "Done"
|
||||
|
|
Loading…
Reference in a new issue