1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 11:37:10 +01:00
Commit graph

185 commits

Author SHA1 Message Date
David Oberhollenzer
2c73c4b9c6 Make sure local DNS queries are resolved by dnsmasq
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-19 18:33:30 +02:00
David Oberhollenzer
1e3cf6eaac Remove obsolete tools from kbd package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-18 18:49:15 +02:00
David Oberhollenzer
05076009ca Remove bash-completions for distro package managers
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-18 18:48:40 +02:00
David Oberhollenzer
5bea71e0a2 Remove useless and broken dhcpcd hooks
We don't need some of those hooks anyway, and some others are generated
based on tools we have installed on the build system, so we would need
a workaround anyway if we needed them.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-18 00:47:50 +02:00
David Oberhollenzer
8c2af75243 Bump bash-completion version, fix upstream URL
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 23:14:51 +02:00
David Oberhollenzer
7204b9dd75 Cleanup: strip executables in mk.sh
Automagically strip all executables (recursively for subdirectories in lib
and bin) inside the mk.sh build loop.

This removes the necessity in the build scripts to strip the files. This also
allows us to remove the error prone install-strip target from the build
scripts.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 20:22:10 +02:00
David Oberhollenzer
3d30afef75 Remove dev deploy split
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 20:22:10 +02:00
David Oberhollenzer
90b2586ea4 Restructure assembly of root filesystem image
Every package now has or generates a rootfs_files.txt containing a list
of files that should be packed into the rootfs, their permissions and
their owner.

This gives us fine grained controll over the owners and permissions of the
rootfs files (by generating a squashfs pseudo file).

In subsequent steps, this allows us to remove the deploy/devdeploy split and
actually simplifiy most of the build scripts.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 20:22:10 +02:00
David Oberhollenzer
878f4360f1 Bump init version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 20:22:02 +02:00
David Oberhollenzer
5dd03bd5fb Add raw service list to enable for init package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-17 01:45:27 +02:00
David Oberhollenzer
8c76110586 Fix unbound directory setup
- Move root.key into /etc/unbound directory
 - Remove pid file from config, it is baked into the configure options
 - Make sure unbound does not try to chroot anywhere

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-04 16:27:10 +02:00
David Oberhollenzer
750d53d82d Generate trust anchor file for unbound
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-06-04 09:09:15 +02:00
David Oberhollenzer
5128a00400 Fix raspberry pi 3 kernel check_update version comparison
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
c0027fbaf7 Bump raspberry pi 3 kernel version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
8052eaf596 Bump raspberry pi 3 firmware version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
17d31e5f70 Bump procps-ng version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
bb5445a3e1 Bump libidn2 version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
3e22e24004 Bump libbsd version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
3f0c67b4cd Bump BusyBox version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
2a1519ea2c Bump nano version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-25 18:36:59 +02:00
David Oberhollenzer
2d57db89d9 Simplify unbound build
- Remove libevent dependency
 - Since we only have a single config file anyway,
   use it as main unbound.conf
 - We also need libbsd as build dependency
2018-05-25 18:36:36 +02:00
David Oberhollenzer
86120862c5 Add some usefull bash aliases
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-19 23:05:30 +02:00
David Oberhollenzer
d5c8fce58b Add helper function to fixup libtool files
When "libdir" is not the final path where we install the library,
libtool will mess up the relinking process and prepend the global
library directories to the linker search path.

If we fix the libdir path, libtool will insert it into the rpath
in the binary, which is also pretty bonkers.

Maybe, there is a way to do this correctly, but the various GNU
mailing lists, Debian wiki, etc.. could not provide a better
alternative than patching up libtool scripts.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-19 23:05:30 +02:00
David Oberhollenzer
e97e355b64 Explicitly specify library search path when building cross binutils
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-19 00:31:01 +02:00
David Oberhollenzer
d9e5af3644 mainline kernel: only check for newer LTS versions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-14 18:31:24 +02:00
David Oberhollenzer
5e2a443ae5 Minor util-linux build script fixes
- Remove extra back slash
 - The good old "install uses build systems strip tool and it doesn't know
   what to do with ARM binaries"

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-14 00:04:32 +02:00
David Oberhollenzer
e82eda5bef bash: don't link against the build systems readline library
If we tell bash to used the installed readline library, it defaults
to adding -L/lib for the readline and history library prefixes.

This prepends the local systems search path to the toolchain search
path and makes bash build break on some systems.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-14 00:04:32 +02:00
David Oberhollenzer
8d9e25b8d0 Bump nftables version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-11 23:30:07 +02:00
David Oberhollenzer
c6ae50eb40 Add helpers for override behaviour based shell inclusion
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-10 16:01:53 +02:00
David Oberhollenzer
e8371806cd Bump procps-ng version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-10 12:21:33 +02:00
David Oberhollenzer
a21ae85b50 Bump gcc version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
02f73edff8 Bump libnftnl version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
191b5f82d8 Bump sqlite3 version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
b110b7d0e1 Bump btrfs-progs version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
645881d071 Bump dhcpcd version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
7009e9554a Bump ethtool version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
c94b7320dd Bump nano version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
74ea27e37c Bump nftables version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
ab2492ea6a Bump shadow version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
f464aeb721 Bump unbound version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
dcee71aa34 Bump file version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
6746f5c033 Bump XZ version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
b1bdce20a9 Add automatic update chacking script
Crunch project websites and try to find the latest version for each
package without having to do the work manually.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00
David Oberhollenzer
acd2a1f57f Fix dhcpcd service
First of all, fix the dependency name in the per-interface service file.

Second, we allow the master services daemonize itself and change the target
to wait. This way, we block init until we are sure the dhcpcd master
is running. Otherwise we have a race condition if init gets scheduled
for some reason and immediately starts the dhcpcd interface daemon that
cannot see the master and decides that *it* is the msater now.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 14:59:13 +02:00
David Oberhollenzer
5388c0f925 Cleanup file override behaviour
Look for board specific product files in product/$product/$board/

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-06 00:21:09 +02:00
David Oberhollenzer
b0a3baf8bb Add dhcpcd configuration
- Service file for dhcpcd master service
 - Service template file for interfaces
 - Service symlink for each configured interface
 - Get DHCP address on raspberry pi 3 for ethernet port

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 21:53:34 +02:00
David Oberhollenzer
e65f40e01f Add network configuration
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 18:27:57 +02:00
David Oberhollenzer
387281fae4 Add configuration for deterministic network interface names
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 18:27:57 +02:00
David Oberhollenzer
1389c74f95 Add pygos specific init setup to init package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 18:27:57 +02:00
David Oberhollenzer
390c1e6a15 Bump init version
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-05 18:27:57 +02:00