130 Commits

Author SHA1 Message Date
Christian Poessinger
4004496e89 Docker build files for entrypoint and UIDs 2019-01-11 09:15:33 +01:00
Christian Poessinger
59ff941e9a build-submodules: exit script with proper exit code for Pipeline 2019-01-11 07:40:59 +01:00
Christian Poessinger
041bc80e71 CI/CD: Improve 'goso' handling for Docker and Jenkins
* Inside the container user can call 'sudo' without password
* Added Docker environment variables to controll the 'gosu' UID/GID
2019-01-11 07:33:16 +01:00
Runar Borge
362ea8acb5 Fix error message on kernel commit, also fixup from merge-conflict 2019-01-09 13:51:11 +01:00
Runar Borge
57474b220e Merge remote-tracking branch 'upstream/current' into current and merge conflict fix 2019-01-09 13:49:30 +01:00
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
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
Christian Poessinger
88c8b3440b CI/CD: add verbose output option to for 'build-submodules' script 2019-01-06 17:52: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
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
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
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
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
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
Kim Hagen
618e31b565 Revert "add rootdelay=300 to kernel command"
This reverts commit 6cec49aa7c8d9b6aaa041b93b30ca9b260a843b5.
2018-12-17 21:04:31 +01:00
Kim Hagen
efaec8e454 add rootdelay=300 to kernel command 2018-12-16 20:32:13 +01:00
Christian Poessinger
fec537aab7 T1042: Update Linux Kernel from 4.19 to 4.19.4 2018-11-25 13:28:02 +01:00
Kim Hagen
f2397b177d use 2017.7 version of the salt minion 2018-11-14 15:48:08 +01:00
Kim Hagen
3d777aa2aa Add saltstack repo 2018-11-14 11:21:49 +01:00
Kim Hagen
8dcda0e05b Add uefi to vyos-build 2018-11-12 10:07:52 +01:00
Kim Hagen
a77aba728d Update Kernel to LTS version 4.19.0 2018-11-06 17:00:05 +01:00
Christian Poessinger
f3eaa47e32 Update Kernel to latest LTS version 4.14.75
(cherry picked from commit 0e8b5ca062b679636ee658eb252ab27a77c7a345)
2018-11-02 20:40:24 +01:00
Kim Hagen
7a19a16233 Add part of oracle cloud build 2018-10-29 21:43:09 +01:00
Kim Hagen
16cc9be3ba Separate files needed for different cloud providers
Fix serial console speed settings
Add google cloud image generation
2018-10-23 23:58:42 +02:00
Daniil Baturin
7a16bfea78 Set the kernel to 4.14.65 for now. 2018-10-21 17:53:01 +02:00
Christian Poessinger
bf306d6723 Update VyOS Kernel to 4.18.11 2018-10-01 17:15:04 +02:00
Christian Poessinger
50d1904a62 Update VyOS kernel to 4.18.8 2018-09-18 21:21:32 +02:00
Christian Poessinger
182b0a37bd T792: Update VyOS kernel to 4.18.4 2018-08-23 08:39:18 +02:00
Christian Poessinger
65c191ee55 T776: Update VyOS Kernel to latest 4.14.65 2018-08-20 18:04:44 +02:00
Kim Hagen
7810f3be21 Add script that converts image to vhd 2018-08-17 10:53:54 +02:00
Kim Hagen
b093d77ad0 Add initial azure image building 2018-08-17 10:50:49 +02:00
Christian Poessinger
edd1b9e458 T776: Update VyOS Kernel to latest 4.14.62
Submodule packages/vyos-kernel 1230876..713585a:
  > Merge tag 'v4.14.62' into linux-vyos-4.14.y
2018-08-14 19:32:37 +02:00
Peri Diane Jones
45fd1b1440 Docker build improvements
Fix missing dependencies and repositories, make the makefile exit with 1 if ISO file wasn't built.
2018-08-12 03:01:35 +07:00
Daniil Baturin
1d00a354fe Add Debian backports repo to the build. 2018-07-21 12:31:23 +02:00
Daniil Baturin
aa91197422 T712: add configure options to simplify building images with custom packages. 2018-06-26 14:21:32 +02:00
Daniil Baturin
8bc62d4d7d Use os.makedirs instead of distutils stuff, make the configure script more verbose, pretty print build-config.json 2018-06-08 21:19:16 +02:00
Daniil Baturin
82d7ddb1b3 Move the version.json file used by newer code to /usr/share/vyos 2018-06-08 21:18:18 +02:00
Christian Poessinger
3af1486d48 T596: replace + in new version format by -
The new version scheme was introduced in commit d2e4f63f03 ("T596: use a more
descriptive dev build version format.". It superseeded the old
999.something version numbers.

New version numbers for rolling releases are in the form of
vyos-1.2.0-rolling+201806062125-amd64.iso but the '+' sign will be
replaced by '%2B' when e.g. downloading the file via http(s), this may be
confusing.
2018-06-06 21:52:30 +02:00
Daniil Baturin
17de291859 T561: split vyos and debian repos. 2018-05-20 10:04:31 +02:00