diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-09-17 14:49:47 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-09-20 12:13:29 +0200 |
commit | bc321efb7a1c253f1bf584d97303c447db68a8e8 (patch) | |
tree | 21e37785474f7aaf22955ecae5d4fad17511ef00 | |
parent | 65c005a4c2ec5b4f138fc4c477bd8ce6c5d86ffe (diff) | |
download | systemd-bc321efb7a1c253f1bf584d97303c447db68a8e8.tar.gz |
util: wireguard is merged into upstream kernel
(cherry picked from commit e29e5db7dff1442ef73cbcd0c898e11078e1042d)
(cherry picked from commit 1d17c00260a923188363fc32363ff8b6bae06230)
-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 |