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

552 commits

Author SHA1 Message Date
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
618c79f02e Cleanup DHCP client/server configuration
Make sure dhcpcd does not interfere with resolv.conf. For the router
product we have a dnsmasq running that forwards to a local root
resolver (i.e. unbound).

For the ALIX board, we want to run a DHCP client on one port and a
DHCP server on the other two.

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
c3918b4f50 Add rough writeup on how the build system works
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-11 22:16:19 +02:00
David Oberhollenzer
b472ff031a Move file override functions to seperate helper script file
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-10 16:01:53 +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
71ae37640f Mention default root password in README so other people can use the system too
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-10 14:20:18 +02:00
David Oberhollenzer
e11477b9cf Remove common product configuration
The simplification of the overide behaviour may be worth the slight
duplication overhead.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-10 14:15:44 +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
a18968fca1 Cleanup network configuration
- board configuration does not configure network interfaces,
   only handles renaming
 - router product for Raspberry Pi 3 configures DHCP for ethernet port
 - router product for Alix board configures DHCP for third ethernet port,
   static addresses for the other two

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-06 00:28:36 +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
David Oberhollenzer
b7de7a0ccb cleanup: remove w flag from all read only files
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-20 13:24:36 +02:00
David Oberhollenzer
2df0ef2945 cleanup: remove /opt and /srv from default filesystem
Let packages decide if they want to install something to /opt or /srv,
but there is no reason to have empty directories by default in the read
only root filesystem.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-20 13:24:30 +02:00