README: fix individual package build working directory

This commit is contained in:
Matt W 2020-06-20 04:52:39 -07:00 committed by GitHub
parent 1cde93a52e
commit 9eaa35f86d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ To build a single package use the same script as above but specify packages with
Executed from the root of `vyos-build` Executed from the root of `vyos-build`
```bash ```bash
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \ $ docker run --rm -it -v $(pwd):/vyos -w /vyos \
--sysctl net.ipv6.conf.lo.disable_ipv6=0 \ --sysctl net.ipv6.conf.lo.disable_ipv6=0 \
vyos-builder scripts/build-packages -b <package> vyos-builder scripts/build-packages -b <package>
``` ```
@ -238,7 +238,7 @@ $ mkdir packages
$ cd packages $ cd packages
$ git clone git@github.com:myname/vyos-1x.git $ git clone git@github.com:myname/vyos-1x.git
$ cd .. $ cd ..
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \ $ docker run --rm -it -v $(pwd):/vyos -w /vyos \
--sysctl net.ipv6.conf.lo.disable_ipv6=0 \ --sysctl net.ipv6.conf.lo.disable_ipv6=0 \
vyos-builder scripts/build-packages -b vyos-1x vyos-builder scripts/build-packages -b vyos-1x
``` ```