378 Commits

Author SHA1 Message Date
Christian Poessinger
b60f6140ef Packages: do not create obsolete 'data/kernel_version' file 2019-05-28 20:22:32 +02:00
Christian Poessinger
787b4aaac8 Packages/modules: install accel-ppp and wireguard modules into right location
... previously the modules have been installed into /lib/modules/4.14.45 and not
4.14.45-amd64-vyos.
2019-05-26 17:18:11 +02:00
Christian Poessinger
34e840e4c0 Packages: add live-boot package to build procedure 2019-05-24 16:14:18 +02:00
UnicronNL
d8ee537f15 update cloud builds 2019-05-21 22:15:55 +02:00
Christian Poessinger
217aa6afae intel: remove bash debug flag (-x) when building drivers 2019-05-13 22:05:08 +02:00
Christian Poessinger
8e8b67020d Remove build-kernel helper script
Logic is available via scripts/build-package helper.
2019-05-13 21:58:29 +02:00
Christian Poessinger
e08da45e6d T1378: extend version file with Git commit ID
The Git commit ID will be crucial for the future when the full VyOS
build can be reproduced by the one Git commit ID, thus start recording it in
the version file.
2019-05-13 21:58:29 +02:00
Christian Poessinger
ef7e354035 Merge branch 'current' of github.com:vyos/vyos-build into equuleus
* 'current' of github.com:vyos/vyos-build:
  Jenkins: adjust artifacts to archive
  Jenkins: remove dbg packages before assembling ISO to reduce size
  hooks: initramfs: add option to update an existing initramfs
  Revert "hooks: initramfs: add option to remove an existing initramfs"
  T1366: Update Linux Kernel to v4.19.40
  hooks: initramfs: add option to remove an existing initramfs
  Jenkins: list build packages
  Packages: add vyos-replace package to build procedure
  intel: remove debhelper depencendy on linux-image
  intel: set debhelper compat level to 9
  Packages: add keepalived 2.0.10 to build procedure
  Docker: add additional dependencies for Debian keepalived repo
  Revert "Makefile: proper handle 'make iso' error codes"
  Revert "use bash as the shell for make"
  use bash as the shell for make
  add reprepro deploy script
  Packages: add net-snmp package to build procedure
  Packages: remove duplicate '-j' statement when building Kernel
2019-05-06 18:27:27 +02:00
Christian Poessinger
8be350bf26 Packages: add vyos-replace package to build procedure 2019-05-04 10:32:28 +02:00
Christian Poessinger
21d672fec8 intel: remove debhelper depencendy on linux-image 2019-05-04 09:04:02 +02:00
Christian Poessinger
57961845bc intel: set debhelper compat level to 9 2019-05-04 09:03:37 +02:00
Christian Poessinger
b9c508b9b0 Packages: add keepalived 2.0.10 to build procedure 2019-05-03 23:02:40 +02:00
Christian Poessinger
b889549e51 intel: remove dependency on linux-image 2019-05-02 00:09:01 +02:00
Christian Poessinger
8a2922799c Packages: use 'equuleus' branch for 'vyatta-conntrack*' 2019-05-02 00:10:39 +02:00
Christian Poessinger
15de1a9b8d Packages: use 'equuleus' branch of 'vyos-1x' 2019-05-02 00:01:18 +02:00
Christian Poessinger
7f0cd59699 Packages: favour Debian Buster version of 'bgpq3' 2019-05-02 00:00:09 +02:00
Christian Poessinger
86670e60bf Packages: favour Debian Buster version of 'ethtool' 2019-05-01 23:59:53 +02:00
Christian Poessinger
21e6775dbc Packages: favour Debian Buster version of 'lldpd' 2019-05-01 23:59:36 +02:00
Christian Poessinger
6455ecb9fd Packages: favour Debian Buster version of 'ddclient' 2019-05-01 23:58:31 +02:00
Christian Poessinger
9679c120c1 Packages: favour Debian Buster version of 'pmacct' 2019-05-01 23:58:13 +02:00
Christian Poessinger
1ae054ecfc Packages: favour Debian Buster version of 'igmpproxy' 2019-05-01 23:57:44 +02:00
Christian Poessinger
0df7365a73 Packages: favour Debian Buster version of 'xl2tpd' 2019-05-01 23:57:14 +02:00
Christian Poessinger
9702b3c05c Packages: add net-snmp package to build procedure 2019-04-27 14:41:37 +02:00
Christian Poessinger
80f3a69602 Packages: remove duplicate '-j' statement when building Kernel 2019-04-27 11:39:20 +02:00
Christian Poessinger
4c0576dad6 Merge branch 'current' of github.com:vyos/vyos-build into buster
* 'current' of github.com:vyos/vyos-build:
  Packages: use Kernel Maintainer build command for Linux Kernel
2019-04-27 11:30:17 +02:00
Christian Poessinger
0effb22f46 Packages: use Kernel Maintainer build command for Linux Kernel
make-kpkg is a deprecated command and make deb-pkg should be used which is
maintained by the Kernel developers. Switch to the new command for Kernel
building which eases the transition to Debian Buster.
2019-04-27 11:28:47 +02:00
Christian Poessinger
574bfb6399 Merge branch 'current' of github.com:vyos/vyos-build into buster
* 'current' of github.com:vyos/vyos-build:
  Docker: fix pmacct build dependencies
  Packages: support --blacklist option to not build individual packages
  Packages: fix missing bytes stuck in the output buffer
  Docker: add package requirements to build keepalived
  Docker: Use close sections when working with jessie-backports
  README: adjust chapters to new VyOS package build script
  Packages: extract kernel version from defaults.json
  Packages: use 'make kernelversion' instead of grep magic
  Packages: add bgpq3 (debian/0.1.33-1) package to build procedure
  Jenkins: archive ISO and build.log artifacts
  Makefile: proper handle 'make iso' error codes
  Packages: remove vyatta-quagga
  Packages: add ethtool (debian/1%4.19-1) package to build procedure
  Packages: define custom command for vyos-strongswan
  intel: adjust URL for ixgbevf 4.5.2
  Replace build-submodules with Python based package builder
  Remove outdated/unmaintained submodules
2019-04-26 17:45:27 +02:00
Christian Poessinger
6732344471 Packages: support --blacklist option to not build individual packages 2019-04-26 15:52:56 +02:00
Christian Poessinger
04334e26fb Packages: fix missing bytes stuck in the output buffer
A last read() was missing to the temporary files when reporting errors
after a command was executed.
2019-04-26 15:52:56 +02:00
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