Skip to content

Commit 3449027

Browse files
authored
Merge pull request #2621 from pqarmitage/updates
snap: further attempt to fix close_range problem with Linux 5.8
2 parents f7e7bd5 + 24ea172 commit 3449027

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

snap/snapcraft.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ parts:
257257
cat /usr/include/linux/version.h
258258
ls -lR /usr/include/linux
259259
rm -rf ${CRAFT_STAGE}/keepalived-linux-libc-dev
260+
echo CFLAGS=$CFLAGS
261+
echo "Finding close_range.h"
262+
find /usr/include -name "close_range.h"
263+
cat /usr/include/linux/close_range.h || true
260264
echo -n "Build kernel:"
261265
printf " %d.%d.%d\n" $(printf "%6.6x" $(grep LINUX_VERSION_CODE /usr/include/linux/version.h | sed -e "s/.*CODE //") | sed -e "s/\(..\)\(..\)/0x\1 0x\2 0x/")
262266
stage:

0 commit comments

Comments
 (0)