We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 048d12a + 7503633 commit b3f9212Copy full SHA for b3f9212
snap/snapcraft.yaml
@@ -257,10 +257,13 @@ parts:
257
cat /usr/include/linux/version.h
258
ls -lR /usr/include/linux
259
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
+ if [ -f /usr/include/linux/close_range.h ]; then
+ cat /usr/include/linux/close_range.h
264
+ else
265
+ echo /usr/inclde/linux/close_range.h not found
266
+ fi
267
echo -n "Build kernel:"
268
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/")
269
stage:
0 commit comments