mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
Switch from Debian Jessie (8) to Debian Buster (10)
This commit is contained in:
parent
e2559c975d
commit
f7ce0d8a69
@ -266,9 +266,7 @@ Then checkout the correct branch or commit you want to build before building the
|
||||
$ mkdir packages
|
||||
$ cd packages
|
||||
$ git clone git@github.com:myname/vyos-1x.git
|
||||
$ cd vyos-1x
|
||||
$ git checkout equuleus
|
||||
$ cd ../..
|
||||
$ cd ..
|
||||
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \
|
||||
--sysctl net.ipv6.conf.lo.disable_ipv6=0 \
|
||||
vyos-builder scripts/build-packages -b vyos-1x
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
{
|
||||
"equuleus": "1.3",
|
||||
"current": "1.2"
|
||||
"current": "1.3"
|
||||
}
|
||||
|
||||
@ -11,7 +11,7 @@ current_working_directory = os.getcwd()
|
||||
repo_root = subprocess.check_output('git rev-parse --show-toplevel', shell=True, universal_newlines=True).rstrip('\n')
|
||||
repo_sha = subprocess.check_output('git rev-parse --short=12 HEAD', shell=True, universal_newlines=True).rstrip('\n')
|
||||
|
||||
def add_package(name, url=None, commit='HEAD', branch='equuleus', tag=None, custombuild_cmd=None):
|
||||
def add_package(name, url=None, commit='HEAD', branch='current', tag=None, custombuild_cmd=None):
|
||||
"""
|
||||
Build up source package with URL and build commands executed during the later
|
||||
called build_package step.
|
||||
|
||||
@ -57,7 +57,7 @@ lb config noauto \
|
||||
--firmware-binary false \
|
||||
--updates true \
|
||||
--security true \
|
||||
--apt-options "--yes -oAPT::Default-Release="equuleus" -oAPT::Get::allow-downgrades=true" \
|
||||
--apt-options "--yes -oAPT::Default-Release="current" -oAPT::Get::allow-downgrades=true" \
|
||||
--apt-indices false
|
||||
"${@}"
|
||||
"""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user