summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-17 07:49:47 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-09-17 07:51:47 +0200
commite29e5db7dff1442ef73cbcd0c898e11078e1042d (patch)
tree874ef6a87e722bf704d41ec218325d4b53c49d2a
parentMerge pull request #17059 from yuwata/network-mdb-follow-ups (diff)
downloadsystemd-e29e5db7dff1442ef73cbcd0c898e11078e1042d.tar.xz
systemd-e29e5db7dff1442ef73cbcd0c898e11078e1042d.zip
util: wireguard is merged into upstream kernel
-rwxr-xr-xsrc/basic/linux/update.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/basic/linux/update.sh b/src/basic/linux/update.sh
index d272ffd296..b0b0cdc949 100755
--- a/src/basic/linux/update.sh
+++ b/src/basic/linux/update.sh
@@ -3,11 +3,7 @@
set -eu
for i in *.h */*.h; do
- if [[ $i == 'wireguard.h' ]]; then
- curl https://raw.githubusercontent.com/WireGuard/WireGuard/master/src/uapi/$i -o $i
- else
- curl https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/$i -o $i
- fi
+ curl https://raw.githubusercontent.com/torvalds/linux/master/include/uapi/linux/$i -o $i
sed -i -e 's/__user //g' -e '/^#include <linux\/compiler.h>/ d' $i
done