[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building linux-libre with Wireguard
From: |
Ludovic Courtès |
Subject: |
Re: Building linux-libre with Wireguard |
Date: |
Wed, 06 Mar 2019 14:24:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Leo,
Leo Famulari <address@hidden> skribis:
> I'm taking a look at how to build linux-libre with Wireguard built in.
>
> There are two primary methods offered by Wireguard. Instructions:
>
> https://www.wireguard.com/install/
>
> First, you can run 'create-patch.sh' [0] which prints to stdout a patch that
> can be applied to the kernel source code.
>
> Second, you can run 'jury-rig.sh' [0] which symlinks the Wireguard source
> tree into an existing kernel tree and makes the necessary changes to the
> kernel config.
>
> I tried the latter [1] but the kernel build fails like this:
>
> ------
> /gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/sh:
> net/wireguard/modules.order: Permission denied
> make[2]: *** [scripts/Makefile.build:450: net/wireguard/modules.order] Error 1
> make[1]: *** [scripts/Makefile.build:516: net/wireguard] Error 2
> make: *** [Makefile:1058: net] Error 2
> make: *** Waiting for unfinished jobs....
> ------
The checkout made by ‘wireguard-source’ is read-only. I suppose
‘jury-rig.sh’ somehow copies files from there, preserving read-only
permissions and eventually leading to that “Permission denied”.
Does that make sense?
Ludo’.
- Re: Building linux-libre with Wireguard,
Ludovic Courtès <=