386 Commits

Author SHA1 Message Date
Runar Borge
830146d03f Log complete buildscript execution and changed package-initialization routine
All build executions is now logged to the buildlog insted of only the dpkg-* commands
The script also shows commands executed (bash: set -x)

Insted of initializing subpackages one by one they now initialize and update in one operation by the git submodule command
2019-01-09 13:38:41 +01:00
Runar Borge
6f4d7061e0 Adding support for compiling vyos-frr package 2019-01-09 13:36:30 +01:00
Runar Borge
a021853d27 Added apt-get update before any apt-get install commands.
This fixes an issue where docker is using packages from cache that has an outdated apt-cache.
2019-01-09 13:30:54 +01:00
Runar Borge
ed03c43b2a Change user on docker image to the current owner of the volume directory (GOSU)
Insted of hardcoding the user used to build inside the container it will now be auto configured to be the user UID that owns the vyos-build directory
This is done with the gosu utillity and a entrypoint script
2019-01-09 13:26:32 +01:00
Christian Poessinger
3415313603 build-submodules: fix bool logic for accel-ppp build 2019-01-08 22:13:34 +01:00
hagbard
4f7117243a T1135: "firewall send-redirects enable" works only after switching from disabled state on running system
- set default to disable too due to the fact that set firewall did expect that at one point. Primarily, IPSec could leak
    data once a tunnel is established.
2019-01-08 14:26:16 -08:00
hagbard
f8f6c5d391 Type fixed. 2019-01-08 13:54:25 -08:00
hagbard
394bee00f7 T1135: "firewall send-redirects enable" works only after switching from disabled state on running system
- disable send-redirects per default
2019-01-08 13:24:48 -08:00
Christian Poessinger
88c8b3440b CI/CD: add verbose output option to for 'build-submodules' script 2019-01-06 17:52:52 +01:00
Christian Poessinger
21becfd719 CI/CD: Update all submodules to latest HEAD
Update all registered submodules to the latest HEAD revision of its configured
branch in .gitmodules

 #
2019-01-06 17:42:52 +01:00
Christian Poessinger
4327fe1f2f Merge remote-tracking branch 'runborg/current' into current
* runborg/current:
  Added build-kernel script and almost total rewrite of build-submodules
2019-01-06 17:39:44 +01:00
Christian Poessinger
d0d363186d CI/CD: extend error reporting for Jenkins builds 2019-01-06 14:24:49 +01:00
Christian Poessinger
3bd3fda4c0 Docker: update apt xdependencies for vyos-accel-ppp 2019-01-06 11:11:12 +01:00
Runar Borge
081bf77f86 Added build-kernel script and almost total rewrite of build-submodules
The build-kernel script was forgotten to commit, it is needed to build the kernel

To make the build-submodules script more readable and extendible i've almost totally rewritten it using functions
the build process is also started in its own subshell, so that we dont need to hold track of the current directory and make error handling/status info easier
2019-01-06 00:21:18 +01:00
Christian Poessinger
53faf39ed1 CI/CD: Build VyOS submodules from source 2019-01-05 22:17:04 +01:00
Christian Poessinger
c329a9291c
Merge pull request #34 from runborg/current
Added support for compiling `vyos-accel-ppp` in `build-submodules`
2019-01-05 22:13:13 +01:00
Christian Poessinger
bfc8cfc891 Add branch information to submodules 2019-01-05 19:50:07 +01:00
Christian Poessinger
c611fb2926 Added vyos-accel-ppp submodule 2019-01-04 11:12:35 +01:00
Christian Poessinger
57dfa72fdf
Merge pull request #35 from danhusan/patch-1
T1120: Add rootdelay=5 by default in grub.cfg
2019-01-02 17:36:33 +01:00
danhusan
32ac33cd31
T1120: Add rootdelay=5 by default in grub.cfg
Let disks settle to workaround issue with MD array not being detected.
2019-01-02 13:56:03 +01:00
Runar Borge
a47e9599b4 Merge remote-tracking branch 'upstream/current' into current 2019-01-01 23:37:16 +01:00
Runar Borge
b66718a87b Added support for compiiling vyos-accel-ppp 2019-01-01 23:34:27 +01:00
Daniil Baturin
23e35e77fe T1131: disable vmtoolsd polling for now to avoid high CPU load.
In the future it may be made a CLI option.
2019-01-01 16:37:06 +01:00
Daniil Baturin
a05f1ac750 Update the build-submodules script to use the dehardcoded kernel version. 2018-12-31 15:11:27 +01:00
Daniil Baturin
01f5093ebd Dehardcode the kernel package version from the live-build-config script. 2018-12-31 15:11:01 +01:00
Christian Poessinger
aa0eb3349d Add 'nls_ascii' to initramfs to avoid USB pendrive boot warning 2018-12-29 13:49:43 +01:00
Christian Poessinger
b6e17d7244 Merge branch '1u-diy-server' into current
* 1u-diy-server:
  Docs: 1U: Reorder pictures
  Docs: 1U: added some pictures
  Docs: 1U: move optional part to the end
  Docs: Initial description about a DIY 1U router
  Docs: Remove old Sphinx approach and link to new one
2018-12-29 12:04:47 +01:00
Christian Poessinger
7174529889 Docs: 1U: Reorder pictures 2018-12-29 12:03:58 +01:00
Christian Poessinger
e3a0ee674c Docs: 1U: added some pictures 2018-12-29 12:03:58 +01:00
Christian Poessinger
2ee028ce3e Docs: 1U: move optional part to the end 2018-12-29 12:03:57 +01:00
Christian Poessinger
0427c5c5f8 Docs: Initial description about a DIY 1U router 2018-12-29 12:03:57 +01:00
Christian Poessinger
1fba60d9b8 Docs: Remove old Sphinx approach and link to new one 2018-12-29 12:03:57 +01:00
Christian Poessinger
0a52aafc5e
Merge pull request #32 from runborg/autobuild
Script and Instructions for building all subpackages via docker
2018-12-29 11:13:15 +01:00
Runar Borge
396501bbbf Rename build script to build-submodules and removed docker from the build process.
The script was originally named `build-docker-subpackages` and executed docker for every package built.
This has now changed so that the user could choose to do a docker or native build.
The readme is aldo updated to reflect this change.
2018-12-28 23:21:44 +01:00
Christian Poessinger
cb0d629d4f T1139: Upgrade Kernel to 4.19.12 2018-12-27 12:46:45 +01:00
Runar Borge
39948ad838 Added better support for compiling kernel and wireguard.
Automatically correct kernel options in libe-build-config and wierguard install
2018-12-27 00:22:58 +01:00
Runar Borge
54949cd223 Remove bug that breaks all package compilations 2018-12-26 00:25:34 +01:00
Runar Borge
90ec7b2e25 Added compilation of the kernel and wireguard submodule.
Also refactored some UI code for easyer reading
2018-12-26 00:19:18 +01:00
Runar Borge
53b5c34b5b Remove vyatta-util and upate list of packages failing docker build 2018-12-25 00:31:55 +01:00
Runar Borge
22454da58c Added dependenies for compiling pmacct and vyos-keepalived to Dockerfile 2018-12-24 23:50:30 +01:00
Runar Borge
cf055d5f45 Restructured example compilation code for easy reading 2018-12-24 00:10:11 +01:00
Runar Borge
de19301f23 Added script and instructions for building most packages from source.
Using the vyos-builder docker container.
Also added examples on doing builds.
2018-12-24 00:06:08 +01:00
Christian Poessinger
9473364834 Added Jenkinsfile 2018-12-18 13:37:35 +01:00
runborg
dfbe78ffba T1070 - docker build of vyos-strongswan (#31)
* T1070 - Added packages and readme notes about building strongswan

strongswan is easely built using a docker image, but needs special options to pass tests.
Added notes in the readme about building it and building instructions

* T1070 - Restructured build example for wyos-strongswan
2018-12-18 05:35:18 +07:00
Kim Hagen
7889203766 Merge branch 'current' of github.com:vyos/vyos-build into current 2018-12-17 21:05:55 +01:00
Kim Hagen
618e31b565 Revert "add rootdelay=300 to kernel command"
This reverts commit 6cec49aa7c8d9b6aaa041b93b30ca9b260a843b5.
2018-12-17 21:04:31 +01:00
hagbard
bb4c130ebd Revert "Add xenserver guest utils to the x86 image."
This reverts commit bdc97cb53126e17a6f7111daaf19ae95dbc4aa5a.

Breaks the build due to pkg double assignment. PKG already installed.
fb3c399ffa
2018-12-17 09:26:43 -08:00
Daniil Baturin
093cab9d24 Merge branch 'current' of github.com:vyos/vyos-build into current 2018-12-17 03:06:12 +01:00
Daniil Baturin
bdc97cb531 Add xenserver guest utils to the x86 image. 2018-12-17 03:05:40 +01:00
Daniil Baturin
14e6f3ed56 T865: start bgpd with RPKI support. 2018-12-17 03:05:11 +01:00