diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-17 07:49:47 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-17 07:51:47 +0200 |
commit | e29e5db7dff1442ef73cbcd0c898e11078e1042d (patch) | |
tree | 874ef6a87e722bf704d41ec218325d4b53c49d2a /src/basic/linux | |
parent | Merge pull request #17059 from yuwata/network-mdb-follow-ups (diff) | |
download | systemd-e29e5db7dff1442ef73cbcd0c898e11078e1042d.tar.xz systemd-e29e5db7dff1442ef73cbcd0c898e11078e1042d.zip |
util: wireguard is merged into upstream kernel
Diffstat (limited to 'src/basic/linux')
-rwxr-xr-x | src/basic/linux/update.sh | 6 |
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 |