882ce4a8f4
Cleanup handling of linux packages and modules
...
- All linux packages generate "linux" and "linux-modules"
- Preference mechanism is used to select the right source package
- Rootfs depends on "linux-modules" to install the selected kernels
modules into the squashfs image
- The release pacakge depends on "linux" to install the appropriate
kernel to the boot partition
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 16:46:50 +02:00
06a23feb56
Rename "linux" package to "linux-lts"
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 14:42:09 +02:00
491d09f544
Merge various package variables into PREFERED_PROVIDER array
...
This commit merges LINUXPKG and RELEASEPKG into a single associative
array named PREFERED_PROVIDER.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 14:33:20 +02:00
6faf86b0d2
Bump Raspberry Pi 3 vendor kernel version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:27:18 +02:00
a83e98f350
Bump main line Linux version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:05:56 +02:00
b8cf6afa52
Bump main line Linux version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00
26a9b8002f
Cleanup rootfs package
...
- move the skeleton setup stuff out of the rootfs package into a
sperate package called "basefiles"
- remove manual unpacking from rootfs, we already have all the dependencies
installed in the toolchain sysroot.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:12:19 +01:00
706d4ac29f
Add missing /lib directory to Raspberry Pi 3 ldpath
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-04 23:02:05 +01:00
c8d01f966a
Use pkgtool to resolve and manage dependencies, add sub package support
...
Been working on this for too long, don't remember the specifics, will add
documentation.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
David Oberhollenzer
f34878ac01
Fix toolchain configuration for alix bsp
...
The new gcc 8.2 toolchain emits fancy new endbr32 instructions that the
Geode LX doesn't have. The system chokes during boot with an illegal
opcode in libmount. This commit disables cet for the Alix bsp.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-13 02:39:49 +01:00
David Oberhollenzer
f17e6f75b2
Add extra config flags for binutils
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-13 02:39:05 +01:00
David Oberhollenzer
9a49a8aac4
Update nftables ruleset syntax
...
Apparently the tooling is now more strict in what syntax it accepts.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 14:06:54 +01:00
David Oberhollenzer
8650c174f7
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:29:22 +01:00
David Oberhollenzer
5dd74ace1b
Bump Raspberry Pi 3 vendor kernel version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-27 14:07:33 +01:00
David Oberhollenzer
9802a80a8b
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 18:45:33 +01:00
David Oberhollenzer
cf2e438a45
Bump Raspberry Pi 3 vendor kernel version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
82a00e5a1b
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
8a7f8ea357
Disable libmpx on the ALIX board
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-20 01:05:41 +02:00
David Oberhollenzer
7dd6306b30
cleanup: derive LINUX_CPU from TARGET, merge linux packages
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +02:00
David Oberhollenzer
b5d4ece03d
cleanup: derive MUSL_CPU from TARGET in Musl package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +02:00
David Oberhollenzer
569f7d5e0c
cleanup: derive OPENSSL_TARGET from TARGET in OpenSSL package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +02:00
David Oberhollenzer
8e5c6d3a2e
Make toolchain and user space hardening configurable
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +02:00
David Oberhollenzer
cf60632398
Enable kernel hardening options
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-11 19:02:11 +02:00
David Oberhollenzer
2a1add41e7
Enable stack protection flags in GCC cross compiler
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-11 19:02:11 +02:00
David Oberhollenzer
f1be060f7c
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-07 16:35:25 +02:00
David Oberhollenzer
62345ef7bb
Cleanup nginx user and directory setup
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-07 16:35:25 +02:00
David Oberhollenzer
30cad432bf
Add an Nginx server landing page to the router product
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-07 02:16:28 +02:00
David Oberhollenzer
8d75cb83fd
Add nginx package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-06 20:32:44 +02:00
David Oberhollenzer
86dcb7d8c1
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-01 20:49:03 +02:00
David Oberhollenzer
121fee7e97
Add configuration for testing with qemu
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-30 01:28:33 +02:00
David Oberhollenzer
6ced6fc948
Minor fixes for main line Linux LTS build
...
- Patch the config first, don't touch it after running make oldconfig
- Add modules target to toolchain config, don't directly call it
- Only try to install modules if we actually have support for loadable
modules
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-29 17:10:07 +02:00
David Oberhollenzer
b0da273179
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-27 23:56:34 +02:00
David Oberhollenzer
5b17bc9526
Cleanup layer configuration
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-24 13:27:26 +02:00
David Oberhollenzer
c7231478d5
Restructure build system configuration
...
Add a generic, stackable layer based structure instead of special purpose
subdirectories with specific behaviour.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-23 16:19:52 +02:00