645 Commits

Author SHA1 Message Date
Christian Poessinger
9c59725539 Add helper to list individual package architectues
Required for migration to a new Jenkins Pipeline to see which package requires
arm64/armhf builds and which are cross-platform.

$ scripts/list-package-arch
vyos-build
vyatta-bash              Architecture: any,
vyatta-cfg               Architecture: any,Architecture:any,Architecture: any,
vyatta-op                Architecture: all,
vyatta-cfg-system        Architecture: any,
vyatta-cfg-firewall      Architecture: all,

- 'all' is platform independent!
- 'any' is platform dependent!
2019-09-23 20:56:26 +02:00
John Estabrook
29dc679dd0 T1602: add options to default to vyos packages over debian 2019-08-21 11:39:19 -05:00
Daniil Baturin
12189cca7b Merge branch 'current' into equuleus 2019-08-19 12:43:42 -04:00
Christian Poessinger
b8be8d2815 Packages: remove obsolete vyatta-openvpn 2019-08-17 02:26:41 +02:00
Christian Poessinger
e7366172e5 Packages: remove obsolete vyatta-openvpn 2019-08-17 02:24:50 +02:00
Donny Maasland
ff7f28f359
Fix default key path 2019-08-10 13:09:41 +02:00
Christian Poessinger
90759a092e T1562: change version scheme on current branch used for rolling releases 2019-08-05 14:21:22 +02:00
Daniil Baturin
3c9071dcc1 Adjustments for the new equuleus repository. 2019-07-30 09:03:37 -04:00
Runar Borge
6056acfa06 Merge remote-tracking branch 'origin/current' into equuleus
fixed merge errors in:
    * scripts/live-build-config
      - kernel parameters

    * scripts/build-packages
      - fixed list of packages to compile
2019-07-22 21:54:20 +02:00
Christian Poessinger
b229f0bd95 Packages: remove vyatta-op-dhcp-server 2019-07-20 21:20:30 +02:00
Christian Poessinger
7ac3f58540 Packages: default to equuleus branch 2019-07-20 20:30:40 +02:00
Daniil Baturin
3305dca496
Typo fix
s/security updated/security updates/
2019-06-25 22:27:14 +07:00
Runar Borge
3da6afd6a5 T1413: T1412: compilation of netplug and xe-guest-utilities is now fixed in equuleus 2019-06-20 09:39:35 +02:00
Christian Poessinger
14a398d3de T1327: add serial console (115200,8n1) to ISO kernel command-line 2019-06-16 13:06:43 +02:00
Runar Borge
e9d561ad53 Update kernel arguments, enable isolinux serial and disable systemd ifnames
* The kernel is now sending console to ttyS0, this makes debugging with `qemu -nographic` hard, this is fixed by this commit
* Buster activates systemd ifname'ing, this needs to be disabled to make our naming scheme work
2019-05-28 23:01:55 +02:00
Christian Poessinger
e91ac330b7 Packages: clean, fetch and keep options are mutually exclusive
... as it makes no sense to keep and clean a package or any other combination.
2019-05-28 20:38:32 +02:00
Christian Poessinger
8cec5a3794 Packages: add '--keep' option to not clean packages
By default all git repos are reset using 'git reset --hard' and cleaned using
'git clean -x -d -f'. A developer sometimes would like to keep his
changes and thus the --keep option was added.
2019-05-28 20:37:36 +02:00
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