bb479125d3
cleanup nameing of Raspberry Pi firmware packages
...
- drop the 3 suffix, they contain generic firmware
- rename the "firwmare" package to "vc" as it contains stuff for the
video core
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-04-03 18:22:57 +02:00
843300f583
Raspberry Pi: Move config.txt and commandline.txt to bsp layer
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-04-03 16:43:13 +02:00
815f42cf6d
Split RPI device tree files into seperte package, remove debug files
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-04-03 16:42:15 +02:00
56cf428a1d
cleanup: merge firmware-rpi3 and boot-rpi3 packages
...
Make boot-rpi a sub package of firmware-rpi3.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-04-03 16:42:11 +02:00
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
268c0a605b
Integrate prefered provider mechanism of pkg utility
...
This commit renames the release packages so they all produce a single
package named "release", creates a preference listing from the
PREFERED_PROVIDER array and lets `pkg buildstrategy` decide what package
to build.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 14:34:28 +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
d17315439e
Bump pkg-tools version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 13:43:00 +02:00
24a9b0f819
Add sqlite3 development package and shell package
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 13:02:53 +02:00
f962a88bba
Bump sqlite3 version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 13:02:11 +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
dcbc6e1b58
Add development package for Raspberry Pi 3 firmware
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:19:56 +02:00
531fffec23
Bump Raspberry Pi 3 firmware version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:13:43 +02:00
a83e98f350
Bump main line Linux version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:05:56 +02:00
6b94d37f06
Bump tzdata version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-31 12:01:58 +02:00
55463cf428
Cleanup dependencies to toolchain
...
- crt-dev is a dependency of toolchain
- basefiles is a dependency of toolchain
- libstdc++ is (now also) a dependency of toolchain
This commit removes direct build dependencies to the above and replacest
them with dependencies to the toolchain package.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 23:28:30 +01:00
8369295b24
tzdata: generat file listing dynamically
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 16:33:59 +01:00
6c24bad53b
Add helper function to produce a file listing from a directory
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 16:18:11 +01:00
e8542cacc0
inotify-tools: fix check_update
...
Remove empty lines from results so cut doesn't choke on them.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 11:15:08 +01:00
94ccf6d7e2
cleanup: add common implementation of check_update
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-30 10:40:54 +01:00
013692b999
Cleanup: overlay mount setup
...
- initrd can use the handy wrapper script from the rootfs
- we don't need to initialize the overlay dir, the wrapper script does that
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-29 21:03:09 +01:00
e0de98bf7d
Bump init version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-29 21:03:09 +01:00
1c8a421015
Add inotify tools package
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-24 17:22:59 +01:00
1ecddf718f
cleanup: initrd: no need to install anything
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-24 16:45:27 +01:00
b2c4934145
Bump gcc version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 18:03:28 +01:00
5fb95add30
Bump binutils version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:35 +01:00
9e62e69969
Bump mpfr version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00
b8cf6afa52
Bump main line Linux version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00
374d9c3072
Bump musl version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:44:45 +01:00
7d9000260c
Bump nginx version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:40:29 +01:00
746049b0a0
Bump busybox version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:37:14 +01:00
11762a1c75
Bump btrfs-progs version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:34:46 +01:00
d396468fba
Bump dhcpcd version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:28:56 +01:00
f5bfcf2567
Bump iw version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:27:19 +01:00
353daaee5d
Bump kmod version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:26:00 +01:00
2ed2152e29
Bump ntp version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:22:46 +01:00
bf628d2e31
Bump OpenSSL version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:17:57 +01:00
fbbca097f3
Bump pcre version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:09:30 +01:00
8510fbce52
Bump file verions
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:03:00 +01:00
c52ff65486
Bump tar version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 23:00:42 +01:00
50ec44af01
Bump unbound version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 22:57:48 +01:00
01256c6ab9
Bump pkg-utils version
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-09 15:26:29 +01:00
31ca494ce8
cleanup: remove /usr/root setup from rootfs package
...
Add root home directory to basefiles, make every package that
touches /etc/skel also provide defaults for root home.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:15:08 +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
93a0cb1ca5
cleanup: remove symlink creation and file deletion from package build
...
We already have a micro managed list of files we include in the packages.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-07 20:12:19 +01:00
2184f4dae7
cleanup: make $BUILDROOT point to actual product output directory
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 16:12:08 +01:00
8fa44569d8
cleanup: remove deploy directory argument from package command
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00
b3529c8deb
cleanup: remove unneeded parameter from deploy_dev_cleanup
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 20:05:26 +01:00
2c741e06f3
Eliminate latent, per package deploy directory
...
Same process as for the build dir. We have one intermediate deploy directory
that the packaes installs it self to, then we package the contents, finally
we nuke the build and deploy directory before starting with the next package.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 15:09:34 +01:00
2afd8fc20b
cleanup: remove manual output directory clensing from tc-gcc2
...
We explicitly list every file that should be packaged, no need to manually
go over the ones we don't want.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-05 15:03:22 +01:00
d552141850
Fix musl subarch for ARM
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
5ca8069d5b
Explicitly tell gcc what assembler/linker to use
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
8a2d91a181
Make sure binutils ldscripts and binaries are packaged for toolchain
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
5307722cc2
Fix rpi3 build
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 23:54:47 +01:00
88f6542fad
Split libstdc++ into seperate package
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
bf23f1bdc7
Fix alix build
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
d7ae731c13
Split up unbound and util-linux into smaller packages
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
b556476d2f
Move *.so symlinks to dev packages
...
We only need them for linking, no need to have them in the target filesystem.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +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
a1d055c8e0
Add dummy package descriptions for toolchain packages
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
b7e5ce8118
Add package files for rootfs and rpi3 bootup files
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
5d019b5f14
Add development package descriptions
...
For every package that generates headers and static libraries in addition
to other binaries, add a *-dev package with propper dependencies.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
8483823e81
Generate a package for initrd
...
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
d2432c1d1e
Use pkg for managing binaries and their dependencies
...
- rewrite the rootfs_files.txt listings to the format used by pkg
- create package files from each package
- use "pkg install" to manage installation of packages and dependencies
into the rootfs and initrd staging dirs
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00
934a746b3f
Add pkgtool to cross toolchain
...
The dependency in tc-pkg-config is added to make sure the pkg tool is built
*before* pkg-config.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-01 10:01:05 +01:00
David Oberhollenzer
98bbfad989
Fix typo in OpenSSL build script, propperly add hardening flags
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-14 09:05:41 +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
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
92a84d6f79
Bump tzdb version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:29:22 +01:00
David Oberhollenzer
ed4e7347bd
Bump unbound version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:29:22 +01:00
David Oberhollenzer
bd533c9b93
Bump tar version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
447825b599
Bump sed version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
06c7532600
Bump readline version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
79d3c93219
Bump nginx version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
69a3dc4ed5
Bump iproute2 version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
8be2e06777
Bump hostapd version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
2c28a1466f
Bump gzip version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
234c9f12b3
Bump grep version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
e53204ad1c
Bump diffutils version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
4236040ede
Bump btrfs-progs version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-11 00:27:02 +01:00
David Oberhollenzer
488c7a56c7
Bump busybox version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-09 15:33:18 +01:00
David Oberhollenzer
3ff8310a0e
Bump bash version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-09 15:29:22 +01:00
David Oberhollenzer
7d88ca700a
Add PIC/PIE flags to bzip2 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2019-01-08 15:37:20 +01:00
David Oberhollenzer
1d8a794e1f
Bump sqlite3 version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-27 14:15:51 +01:00
David Oberhollenzer
03a1208f45
Bump Raspberry Pi 3 firmware version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-27 14:09:41 +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
56d947513a
Bump util-linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 20:52:51 +01:00
David Oberhollenzer
0f24aadc2a
Bump OpenSSL version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 20:46:39 +01:00
David Oberhollenzer
ad20a54ba1
Bump nginx version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 18:51:23 +01:00
David Oberhollenzer
80b7434352
Bump nano version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 18:47:34 +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
c2ed2e4e45
Bump libnftnl version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 16:23:25 +01:00
David Oberhollenzer
e7d13f8f55
Bump btrfs-progs version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-26 16:21:24 +01:00
David Oberhollenzer
14a74edcd1
Bump init version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-25 20:19:58 +01:00
David Oberhollenzer
3dc8e567c0
Bump init scripts version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-25 20:19:58 +01:00
David Oberhollenzer
52427236e7
Add gcron package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-25 01:34:32 +01:00
David Oberhollenzer
c5206e403b
Clenaup some less usefull or test programs from kbd
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-14 19:59:49 +01:00
David Oberhollenzer
118df82d67
Cleanup installed bash completions for util-linux
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-14 19:38:31 +01:00
David Oberhollenzer
6e3b2ab4f9
Cleanup shadow-utils installed programs
...
- Remove programs for converting shadow/regular files into each other
- Remove programs for working with group passwords
- Remove batch processing programs
- Remove namespace related programs
- Remove other convoluted group management programs
- Remove password expiry and finger information utilites
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-14 16:23:25 +01:00
David Oberhollenzer
2c394f4246
Bump init version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-05 21:55:15 +01:00
David Oberhollenzer
5e11afa1f6
Bump tzdb version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
3432245e78
Bump OpenSSH version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
6c0ec9a4ab
Bump iproute2 version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
41aa911d92
Bump ethtool version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
0645f44a1f
Fix /lib64 substitution pattern in tc-gcc1
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
45cc27ca40
Bump binutils version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
6ad8ed37f7
Cleanup binutils confgiure flags, add relro, PIC, deterministic ar
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
1aa829699c
Explicitly disable libquadmath in second stage gcc
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
544ac03d1f
Allways build libssp_noshared, even for non hardened toolchains
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
e87a8ec43c
Explicitly turn on size optimizations
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +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
35e72a4ae7
Bump Raspberry Pi 3 firmware 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
60f9a68807
Bump file version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
81f4f36044
Bump tzdata version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
e91029b64e
Bump unbound version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
0b5e2ccc38
Bump dnsmasq version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
1786c65c4c
Bump init version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-03 19:28:43 +01:00
David Oberhollenzer
d6030cd898
Replace gcc libssp with built musl builtins
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-20 12:52:06 +02:00
David Oberhollenzer
d06083c96d
Propperly process Linux package targets in deploy function
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 21:50:57 +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
69aa1d33e9
Set hardening options for packages with custom build system
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-19 00:18:51 +02:00
David Oberhollenzer
8063550d4e
Add libc agnostic fortify-headers package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-17 01:11:02 +02:00
David Oberhollenzer
52933c58c9
Enable hardening flags for stage-1 gcc
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-17 00:52:10 +02:00
David Oberhollenzer
0958272eb3
Export CROSS_COMPILE environment variable for Musl build script
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-17 00:52:10 +02:00
David Oberhollenzer
c16ff53c14
Remove overlay partition setup from release shell scripts
...
The initial ram disk does that for us (with the propper permissions
in the case of Qemu).
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
dcadff7637
Init version rebase
...
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
f3861b9df1
Add PCRE package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-06 17:25:52 +02:00
David Oberhollenzer
a71c45aec0
Fix final image copy in Linux LTS build script
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-06 17:25:52 +02:00
David Oberhollenzer
e7101d5400
Unfuck libtool archives for libnl3
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-06 17:25:52 +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
e61ca9decf
Another overlay mount overhaul
...
- Directly pass the device type to the mount command
- Use the special default type "hwdevice" to wait for a device node
before mounting it
- Initialize the overlay partition from the initrd script
- Do the bind mount setup as document
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-10-01 19:11:12 +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
59d01432b1
More sophisticated filesystem setup from initrd
...
- Let us specify the "type" of the root and overlay filesystem.
At the moment we have raw device that we wait for (default) and
qemu virtio 9pfs.
- If no squasfs image is specified, mount the root partition as
root filesystem.
- If no overlay device is specified, don't touch the new root
filesystem.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-29 21:32:58 +02:00
David Oberhollenzer
2d74caf06b
Remove perl scripts from ntp package installed files
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-29 17:10:07 +02:00
David Oberhollenzer
90fc4f4e9e
Patch gcc to install 64 bit libraries to /lib instead of /lib64
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-29 17:10:07 +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
8faae986b6
Bump psmisc version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-27 23:58:12 +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
de14b86043
Build coreutils as single call binary
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-22 21:29:29 +02:00
David Oberhollenzer
de90e7bcbb
Bump nano version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-21 22:27:18 +02:00
David Oberhollenzer
0b8ffdbb7f
Bump mainline LTS linux version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-09-21 22:25:49 +02:00