649 Commits

Author SHA1 Message Date
Christian Poessinger
b1c495b72b Packages: extract kernel version from defaults.json
This requires 'jq' as part of the Docker container.
 $ cat data/defaults.json | jq '.kernel_version' | tr -d \"
2019-04-26 10:32:45 +02:00
Christian Poessinger
dee033f97c Packages: use 'make kernelversion' instead of grep magic
Exract version by using the included "make kernelversion" instead of writing
a custom grep script that was used before.

  VERSION=$(grep '^VERSION' Makefile | grep -Eo '[0-9]{1,4}')
  PATCHLEVEL=$(grep '^PATCHLEVEL' Makefile | grep -Eo '[0-9]{1,4}')
  SUBLEVEL=$(grep '^SUBLEVEL' Makefile | grep -Eo '[0-9]{1,4}')

$ make kernelversion
4.19.36
2019-04-26 10:32:45 +02:00
Christian Poessinger
f4df31d37e Packages: add bgpq3 (debian/0.1.33-1) package to build procedure 2019-04-26 10:32:44 +02:00
Christian Poessinger
89a0214f24 Packages: remove vyatta-quagga 2019-04-26 10:32:44 +02:00
Christian Poessinger
de68bd05fe Packages: add ethtool (debian/1%4.19-1) package to build procedure 2019-04-26 10:32:36 +02:00
Christian Poessinger
9e234232bf Packages: define custom command for vyos-strongswan
This is required to get a python3-vici package which is required by vyos-1x
2019-04-26 10:28:48 +02:00
Christian Poessinger
7492e27383 VyOS 1.3.0 is based on Debian Buster 2019-04-25 16:18:14 +02:00
Christian Poessinger
21a09ff13d intel: adjust URL for ixgbevf 4.5.2 2019-04-23 08:43:23 +02:00
Christian Poessinger
63493afa4c Replace build-submodules with Python based package builder
Support building individual VyOS packages by this modules. Call
scripts/build-packages -l to list all available packages which will be
build when invoking scripts/build-packages.
2019-04-23 08:43:23 +02:00
John Estabrook
4700953e29 T1327: Set the serial console speed to 115200 by default
Set the serial console speed to 115200 in all build scripts, as is the
standard for current boards. This avoids an annoyance for users of the
livecd, and makes the defaults in build scripts in tools/ and scripts/
consistent.
2019-04-16 13:47:51 -05:00
Kim Hagen
be385f54a1 update ova template to use debian8 and pvscsi 2019-04-16 14:49:53 +02:00
Kim Hagen
812c2aa56d set image size to 10 gigabyte 2019-04-15 16:26:53 +02:00
Kim Hagen
c909203191 update ovf template file 2019-04-15 16:21:18 +02:00
Christian Poessinger
dda8ec6f3a live-build: reconfigure build after jessie-backports moved to Debian archive
Debian Team finally shut down all jessie-backport mirrors after announcing
discontinuation [1] in July 2018. As we heavily rely on Backported Packages
for VyOS 1.2 we need to move the installation mirrors to Debian Archive.

In addition the repo signing keys already expired requiring us to set
  Acquire::Check-Valid-Until=false
when building the ISO.

[1] https://lists.debian.org/debian-backports-announce/2018/07/msg00000.html
[2] https://wiki.debian.org/LTS/FAQ#Who_fixes_security_issues_with_packages_in_jessie-backports.3F
2019-03-31 14:26:49 +02:00
Christian Poessinger
c88f1a9bd2 Revert "live-build: set jessie-backports mirror to archive.debian.org"
This reverts commit b2779e8b7969a3648d78e8a055734b81f059634e.
2019-03-31 11:28:06 +02:00
Christian Poessinger
99527b3e94 Revert "live-build: final fix for Debian Backports (all good things are three)"
This reverts commit 432f35f0edc7f610eceff1a62e431c527a11a3f5.
2019-03-31 11:27:37 +02:00
Christian Poessinger
432f35f0ed live-build: final fix for Debian Backports (all good things are three)
166f8735e4e ("live-build: fix copy/paste error") still did not set all
required parts for the build script.

All good things will be three!!!
2019-03-28 22:51:33 +01:00
Christian Poessinger
b2779e8b79 live-build: set jessie-backports mirror to archive.debian.org 2019-03-28 22:50:22 +01:00
Daniil Baturin
9209f34d43 T1313: add support for reusable build flavor files. 2019-03-25 00:27:18 +01:00
Christian Poessinger
dec0a52554 [build] Use pdns-recursor binary packages from PowerDNS
https://repo.powerdns.com/ provides a package repository for Debian
8 which serves us automatically all security updates instead of
rebuilding the package by us.

This drops the maintenance of one additional package.
2019-03-10 21:03:09 +01:00
Kim Hagen
48bcbfff70 Add vmware ovf build procedure 2019-03-18 16:01:29 +01:00
Christian Poessinger
3f7186f69b T929: remove debian-firmware packages from build
Kernel Firmware BLOBs will be delivered by the new vyos-firmware package
2019-03-02 12:09:12 +01:00
bnjf
f3e356ca7d Update build-GCE-image (#46)
1. enable serial output for grub
2. sync isn't enough, tar was reliably throwing "changed as we read it" on my build box.  umount instead to quiesce.
2019-02-27 06:48:51 +07:00
hagbard-01
4dc57689de
Merge pull request #45 from njh/i386
Changed architecture name for 32-bit x86 to 'i386'
2019-02-02 09:39:58 -08:00
Nicholas Humfrey
274ebdb025 Changed architecture name for 32-bit x86 to 'i386'
This is the official Debian designation for the architecture
(And what dpkg --print-architecture returns)

https://www.debian.org/releases/stable/i386/ch02s01.html.en
2019-02-02 15:34:35 +00:00
Christian Poessinger
b008fa4b62 Add lldp and pdns-recursor submodules 2019-02-01 19:43:24 +01:00
Christian Poessinger
5a53953ab8 build-submodules: add ipaddrcheck 2019-01-31 18:59:09 +01:00
Christian Poessinger
78d69b0c25 Revert "T1214: Add ipaddrcheck to the packages directory"
libcidr-dev is not available until Debian Buster thus the container
can't be build.

This reverts commit 9779f9938e1a80736738b2b9021a0db4dd872bfa.
2019-01-30 22:04:59 +01:00
Christian Poessinger
b9239d076d build-submodules: add vyos-vmwaretools-scripts 2019-01-30 22:04:09 +01:00
Nicholas Humfrey
9779f9938e T1214: Add ipaddrcheck to the packages directory 2019-01-30 10:04:31 +00:00
Christian Poessinger
c85cda7b40 Merge branch 'source-build' of github.com:c-po/vyos-build into current
* source-build:
  Docker: update to latest libvyosconfig revision
  build-submodules: source OPAM environemnt if not present
  build-submodules: change VERBOSE logic
  build-submodules: report back package error when build with --verbose
  build-submodules: add libyang
2019-01-30 06:05:12 +01:00
Nicholas Humfrey
9df5e15e99 T1202: Add hvinfo to the packages directory (#43) 2019-01-30 06:12:00 +07:00
Christian Poessinger
9170ead865 build-submodules: source OPAM environemnt if not present 2019-01-27 18:33:42 +01:00
Christian Poessinger
000cd8b2d9 build-submodules: change VERBOSE logic 2019-01-27 18:33:41 +01:00
Christian Poessinger
9210522425 build-submodules: report back package error when build with --verbose 2019-01-27 16:01:09 +01:00
Christian Poessinger
b10711d42e build-submodules: add libyang 2019-01-27 16:01:09 +01:00
Christian Poessinger
4d073e64d0 build-submodules: ease FRR build procedure
Commit 670b6ca83b018 ("Docker: build libyang Debian package") build the
libyang package into a proper Debian package which is used during build
of FRR.

With this change we can remove the FRR compile hack!
2019-01-26 21:41:34 +01:00
Christian Poessinger
750f603f1f build-kernel: no need to build source and debug package 2019-01-26 21:40:03 +01:00
Christian Poessinger
873cf3a68f When building linux-kernel use number of host CPUs on parallel build 2019-01-26 10:01:50 +01:00
Christian Poessinger
9d52ba2003 When building parse Git commit ID 2019-01-26 10:00:58 +01:00
Christian Poessinger
0ad391b9e2 When building frr clean out Git repository first 2019-01-26 10:00:10 +01:00
Christian Poessinger
8a727f71fa Fix --verbose option when building submodules 2019-01-26 09:59:15 +01:00
Christian Poessinger
b8dca95039 Build submodules in parallel with number of host CPUs 2019-01-26 09:58:37 +01:00
Christian Poessinger
d1e120574d submodules: add igmpproxy 2019-01-26 09:57:04 +01:00
Christian Poessinger
3bd1273e9c submodules: add vyos-xe-guest-utilities 2019-01-26 09:55:33 +01:00
Christian Poessinger
daaaa3eaf8 build-submodules: add vyos-1x package 2019-01-21 20:19:21 +01:00
Christian Poessinger
d952ca236d build-submodules: add vyos-netplug 2019-01-17 23:46:10 +01:00
Christian Poessinger
cf168e38a4
Merge pull request #37 from runborg/current
Add selective package build, show commit id and small fix for overwriting text
2019-01-17 16:53:03 +01:00
Runar Borge
be0c850e75 Changed command to get commit id 2019-01-17 10:08:21 +01:00
Runar Borge
5b7c04ca8d Fixed print error when using SKIP message, all text was not overwritten 2019-01-17 09:28:46 +01:00