mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-14 12:21:53 +00:00
Add again BBR2 disable patch
This commit is contained in:
parent
0b8886777d
commit
01558793ad
1 changed files with 7 additions and 5 deletions
12
build.sh
12
build.sh
|
@ -237,12 +237,14 @@ fi
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
# Add BBR2 patch, only working on 64bits images for now
|
# Add BBR2 patch, only working on 64bits images for now
|
||||||
echo "Checking if BBRv2 patch is set or not"
|
if [ "$OMR_TARGET" = "x86_64" ] || [ "$OMR_TARGET" = "bpi-r64" ] || [ "$OMR_TARGET" = "rpi4" ] || [ "$OMR_TARGET" = "espressobin" ] || [ "$OMR_TARGET" = "r2s" ] || [ "$OMR_TARGET" = "rpi3" ]; then
|
||||||
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/bbr2.patch; then
|
echo "Checking if BBRv2 patch is set or not"
|
||||||
echo "apply..."
|
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/bbr2.patch; then
|
||||||
patch -N -p1 -s < ../../patches/bbr2.patch
|
echo "apply..."
|
||||||
|
patch -N -p1 -s < ../../patches/bbr2.patch
|
||||||
|
fi
|
||||||
|
echo "Done"
|
||||||
fi
|
fi
|
||||||
echo "Done"
|
|
||||||
|
|
||||||
echo "Checking if smsc75xx patch is set or not"
|
echo "Checking if smsc75xx patch is set or not"
|
||||||
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/smsc75xx.patch; then
|
if ! patch -Rf -N -p1 -s --dry-run < ../../patches/smsc75xx.patch; then
|
||||||
|
|
Loading…
Reference in a new issue