508 Commits

Author SHA1 Message Date
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
226a25dfdf Docker: add package requirements to build keepalived 2019-04-26 15:52:56 +02:00
Christian Poessinger
bda5855952 Docker: Use close sections when working with jessie-backports
Making the jessie-backports repository globally available might cause
problems when installing packages which have mixed versions. This
was observed with the following packages which could not be installed
when jessie-backports was listed always in /etc/apt/sources.list

* libnl-3-200
* libnl-3-dev
* libnl-genl-3-200
* libnl-genl-3-dev
2019-04-26 15:52:56 +02:00
Christian Poessinger
c4808dbfe5 README: adjust chapters to new VyOS package build script 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
a9c5df1f42 Jenkins: archive ISO and build.log artifacts 2019-04-26 10:32:44 +02:00
Christian Poessinger
2ffff339c5 Makefile: proper handle 'make iso' error codes 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
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
Christian Poessinger
a0b3251dba Remove outdated/unmaintained submodules
All registered Git submodules were out of date. Even worse some of the modules
are no longer in use and have been replaced by upstream packages.

Keeping invalid information is even worse then no information. All required
VyOS packages can be found in the future build-packages script.
2019-04-23 08:43:23 +02:00
Christian Poessinger
ddfa418a3e T41: include bgpq3 for BGP policy creation
Build Debian upstream bgpq3 froum source:
  $ git clone https://salsa.debian.org/debian/bgpq3.git
  $ cd bgpq3
  $ git checkout debian/0.1.33-1
  $ dpkg-buildpackage -uc -us -tc -b
2019-04-23 08:28:10 +02:00
Christian Poessinger
446f7b3c69 Kernel: update to Linux Kernel 4.19.36 2019-04-21 11:14:20 +02:00
Daniil Baturin
e9ddc47538 T1131: enable vmtoolsd polling again. 2019-04-19 04:37:37 +02:00
Daniil Baturin
e6bb8072e0 Merge branch 'current' of https://github.com/vyos/vyos-build into current 2019-04-19 04:36:19 +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
Daniil Baturin
e954d45474 T1274: do not remove additional QLogic firmware. 2019-04-16 14:34:22 +02:00
Christian Poessinger
acf492894f [firmware] T1274: add additional QLogic firmware files 2019-04-16 08:00:34 +02:00
Kim Hagen
be385f54a1 update ova template to use debian8 and pvscsi 2019-04-16 14:49:53 +02:00
Kim Hagen
401165bc85 add debug build for GCE 2019-04-15 16:30:35 +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
8d8a1a7a39 Docker: use libyang from VyOS project reposi 2019-04-09 20:15:14 +02:00
Christian Poessinger
dce9b82bd1 T929: T1274: embed linux firmware through ISO build process
As of now Linux Firmware was installed via vyos-firmware Debian package
which just wrapped the Git repositories content. As this just made
things harder - install the firmware files via build hook (as the used
to be installed like this in the good old days - before the have been
removed via 3f7186f69b)
2019-04-04 08:45:46 +02:00
Kim Hagen
1f0b53aa5c add cloud init package list 2019-04-03 16:49:08 +02:00
Christian Poessinger
089c81935f Docker: use prebuild libyang packages
Building libyang is horrible and not even possible on Debian OldStable. Thus
take the change and use the FRR provided binaries inside the Docker container.
2019-04-02 21:16:33 +02:00
Christian Poessinger
bfc366424f Docker: build rtrlib from GitHub release archive 2019-04-02 21:16:33 +02:00
Daniil Baturin
e9e781d5b5
Remove a reference to the build-iso
That's all history now.
2019-04-02 14:00:30 +07:00
Daniil Baturin
7661620099
Reorder sections so that docker and submodule stuff is not between ./configure and make iso 2019-04-02 13:58:43 +07:00
Christian Poessinger
726aa54fd4 Kernel: update to Linux Kernel 4.19.32 2019-04-01 18:31:15 +02:00
Christian Poessinger
4a31b750fd Docker: dependency cleanup
Move more package dependencies to their appropriate section instead of
keeping them in the global "just throw everywhere here" section
2019-03-31 20:35:39 +02:00
Christian Poessinger
6bc5545fff
Docs: update 1U bare-metal appliance with riser card infos
With the mentioned riser card and bracked you may add two 10GE ports to this appliance.
2019-03-31 18:32:02 +02:00
Daniil Baturin
020d7701a1 Merge branch 'current' of https://github.com/vyos/vyos-build into current 2019-03-31 17:43:45 +02:00
Daniil Baturin
bb30358048 Remove unnecessary locale files at build time to reduce the image size. 2019-03-31 17:42:50 +02:00
Christian Poessinger
f3d9a912ea live-build: remove accidently added file for linux-firmware
Commit 6b5da3d86615 ("Docker: remove duplicate installation of live-build")
added a file by accident for fetching the linux firmware binaries.
2019-03-31 16:52:00 +02:00
Christian Poessinger
718cff74e1 Docker: cleanup package dependencies for Kernel 2019-03-31 16:48:57 +02:00
Christian Poessinger
7fb04e34fd Docker: remove duplicate installation of libboost-filesystem-dev 2019-03-31 16:44:35 +02:00
Christian Poessinger
d68e91534b Docker: remove duplicate installation of python3-pystache 2019-03-31 16:44:14 +02:00
Christian Poessinger
6b5da3d866 Docker: remove duplicate installation of live-build 2019-03-31 16:43:03 +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
9a0007d2ab Revert "live-build: fix copy/paste error"
This reverts commit 166f8735e4e7fc4d2cc17ead2bb81124de648068.
2019-03-31 11:28:00 +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
166f8735e4 live-build: fix copy/paste error
Commit b2779e8b7969 ("live-build: set jessie-backports mirror to
archive.debian.org") set the debian security mirror again instead of
specifying a new key debian backports.
2019-03-28 22:50:40 +01:00
Christian Poessinger
b2779e8b79 live-build: set jessie-backports mirror to archive.debian.org 2019-03-28 22:50:22 +01:00