mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Restructured example compilation code for easy reading
This commit is contained in:
parent
de19301f23
commit
cf055d5f45
@ -184,7 +184,10 @@ NOTE: Prior to executing this script you need to create/build the `vyos-builder`
|
|||||||
the script above runs a docker container for every build it does. this is also possible to do by hand using:
|
the script above runs a docker container for every build it does. this is also possible to do by hand using:
|
||||||
Ecevuted from the root directory of vyos-build
|
Ecevuted from the root directory of vyos-build
|
||||||
```bash
|
```bash
|
||||||
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME --sysctl net.ipv6.conf.lo.disable_ipv6=0 vyos-builder dpkg-buildpackage -uc -us -tc -b
|
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \
|
||||||
|
--sysctl net.ipv6.conf.lo.disable_ipv6=0 \
|
||||||
|
vyos-builder \
|
||||||
|
dpkg-buildpackage -uc -us -tc -b
|
||||||
```
|
```
|
||||||
NOTE: `--sysctl net.ipv6.conf.lo.disable_ipv6=0` is only needed when building vyos-strongswan and can be ignored on other packages
|
NOTE: `--sysctl net.ipv6.conf.lo.disable_ipv6=0` is only needed when building vyos-strongswan and can be ignored on other packages
|
||||||
NOTE: Prior to executing this you need to checkout and update the submodules you want to recompile
|
NOTE: Prior to executing this you need to checkout and update the submodules you want to recompile
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user