Skip to content

Commit

Permalink
LZ4 dependency bug from 5.12.11, checkbugs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxInvader committed Jun 18, 2021
1 parent cd5002c commit 3435a1d
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude=none
rename=no
patch=no
series=focal
checkbugs=no
checkbugs=yes
buildmeta=no
maintainer="Zaphod Beeblebrox <zaphod@betelgeuse-seven.western-spiral-arm.change.me.to.match.signing.key>"
buildargs="-aamd64 -d"
Expand Down Expand Up @@ -190,6 +190,18 @@ then
echo " ---> debian.env bug == yes"
echo "DEBIAN=debian.master" > debian/debian.env
fi
grep "CONFIG_KERNEL_LZ4=y" debian.master/config/amd64/config.common.amd64 > /dev/null
if [ $? == 0 ]
then
# LZ4 Compression enabled. Check it's listed as a dependency
if [ ! $(egrep -i "lz4.*amd" debian.master/control.stub.in > /dev/null) ]
then
echo " ---> LZ4 dependency bug == yes"
sed -i -re "s/(^\s+lz4 )([^<]*)(.*)/\1[amd64 s390x] \3/" debian.master/control.stub.in
else
echo " ---> LZ4 dependency bug == no"
fi
fi
fi

echo -e "********\n\nApplying default configs\n\n********"
Expand Down

0 comments on commit 3435a1d

Please sign in to comment.