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
|
$ 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 vyos-1x
|
$ cd ..
|
||||||
$ git checkout equuleus
|
|
||||||
$ cd ../..
|
|
||||||
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \
|
$ docker run --rm -it -v $(pwd):/vyos -w /vyos/packages/PACKAGENAME \
|
||||||
--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
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
{
|
{
|
||||||
"equuleus": "1.3",
|
"current": "1.3"
|
||||||
"current": "1.2"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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_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')
|
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
|
Build up source package with URL and build commands executed during the later
|
||||||
called build_package step.
|
called build_package step.
|
||||||
|
|||||||
@ -57,7 +57,7 @@ lb config noauto \
|
|||||||
--firmware-binary false \
|
--firmware-binary false \
|
||||||
--updates true \
|
--updates true \
|
||||||
--security 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
|
--apt-indices false
|
||||||
"${@}"
|
"${@}"
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user