David Oberhollenzer
d049b3a9d1
Bump musl version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-05 20:30:20 +02:00
David Oberhollenzer
72512d6bac
Bump init version
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-05 20:30:20 +02:00
David Oberhollenzer
3907b48c1f
Add eudev package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 21:14:29 +01:00
David Oberhollenzer
d458890335
Add dhcpcd package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 21:14:29 +01:00
David Oberhollenzer
f5a62aef6a
Replace OpenRC with custom init system
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00
David Oberhollenzer
94cc2d2c46
Implement board/product config schema
...
- build needs a pair of product and board name
- some products can only be built for some boards
- Config files in product/<name> directory override those in board/<name>
- For some config files, like LDPATH or ROOTFS, the files are merged
- product/common provides defaults
Add default config for various services:
- Add default config for unbound
- Add default config for dnsmasq
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00
David Oberhollenzer
372fc76053
Bump busybox version to 1.28.1
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00
David Oberhollenzer
80353cf9a3
Use xz compression for root squashfs
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00
David Oberhollenzer
2fbfbbe059
Fix gcc child package symlinks
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-03-24 18:28:29 +01:00
David Oberhollenzer
96966bf73b
Minor cleanup
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-24 22:45:00 +01:00
David Oberhollenzer
b0e2497a99
Greatly simplify initrd setup
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-24 22:45:00 +01:00
David Oberhollenzer
4e9e0e26f1
Fix local version name in linux_modules
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-24 22:44:59 +01:00
David Oberhollenzer
fc0b587074
Cleanup deployed files and directories
...
- Remove empty directories installed to / by install targets
- Make sure we strip everything
- Remove charset.alias file installed by every pacakge, add
centralized version to rootfs package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-24 22:44:59 +01:00
David Oberhollenzer
2147fbb3b2
Remove "-dev" prefix for development files
...
Instead of adding a prefix, move development files to a different
deploy directory.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00
David Oberhollenzer
93ade05725
Remove tc- prefix from musl and linux header packages
...
They no longer contain anything specific to the toolchain
build process.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00
David Oberhollenzer
4a919ad209
Merge bbstatic busybox configurations
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00
David Oberhollenzer
fc278364e5
Cleanup package command arguments
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:16 +01:00
David Oberhollenzer
05ae80634c
Don't keep build directory
...
Use $PKGBUILDDIR for building packages. Delete it again after
the deploy is done. If the build fails, the script aborts and it
is kept. If the build and deploy pass, there is no reason to keep
it around.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:15 +01:00
David Oberhollenzer
30aa5ce395
Use regular packaging for toolchain packages if applicable
...
- Store musl & kernel headers in dev packages
- Store musl dynamic headers in regular package,
shared libs in dev package
- Carefully seperate headers and libaries installed by second GCC
into packages
- libgcc_files.txt no longer needed
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-17 03:02:15 +01:00
David Oberhollenzer
1636fc8aac
Merge management of regular and toolchain packages
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 23:47:54 +01:00
David Oberhollenzer
dbe75332e5
Take care of libtool archives in split_dev_deploy
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 16:16:52 +01:00
David Oberhollenzer
fa95db618e
Add utility function for manually stripping files
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 16:16:52 +01:00
David Oberhollenzer
84076865ba
Bump rpi3 firmware and kernel versions
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
59f6ab6242
Port release script fixes from alix to rpi3
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
204603dce1
Versioning support for Raspberry Pi
...
- Use shipped device tree binaries instead of our own
- Install kernel + rootfs to $OS_RELEASE subdirectory
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
9640f87899
Release alix: remove debug prints, check if image file exists
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
5dd2790a67
Add os-name & release
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
2c37ffd018
Add console to alix boot loader kernel command line
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
e8711e2104
Bump linux version to recent LTS
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
3aa370e527
Add nftables package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
f1460ffc46
Add libnftnl package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
aae7925ee2
Add OpenSSH package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
822d34418b
Add kbd package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:13:24 +01:00
David Oberhollenzer
0e116aad27
Add dosfstools package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-11 19:13:34 +01:00
David Oberhollenzer
ed3c97c9be
Add btrfs-progs packge
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-11 19:00:31 +01:00
David Oberhollenzer
9010231b75
Add lzo package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-11 18:40:55 +01:00
David Oberhollenzer
73aad9f191
Add iana-etc package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-11 18:16:23 +01:00
David Oberhollenzer
2235d8e6a0
Upgrade package versions
...
Upgrade the following packages to newer releases:
- bash
- busybox
- coreutils
- ethtool
- iproute2
- libbsd
- nano
- ncurses
- sqlite3
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00
David Oberhollenzer
525b36aa89
Cleanup deploy/devdeploy split
...
- Don't duplicate shared objects, use the ones from the deploy
directory when building dependend packages
- Add helper function for moving headers, static libraries
and pkgconfig data to devdeploy directory
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00
David Oberhollenzer
8dca35930b
Add utility function for applying patches
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00
David Oberhollenzer
52fb22a291
Move archiecture/target variables to TOOLCHAIN file
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-10 19:59:51 +01:00
David Oberhollenzer
ae57b55b9c
Rename board configuration directory to "board"
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-09 18:06:16 +01:00
David Oberhollenzer
63fc33657d
Filesystem skeleton cleanup
...
- move all bash related files to bash package
- don't clutter files in package directory, structure
in directory hierarchy
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-09 13:43:17 +01:00
David Oberhollenzer
dd394b0970
Add file package
...
The file utility needs a version of itself for cross compiling,
so we also have to add it to the toolchain.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-09 00:41:59 +01:00
David Oberhollenzer
e5576005e3
Add psmisc package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-09 00:16:25 +01:00
David Oberhollenzer
6bb6755393
Add procps-ng package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-09 00:04:10 +01:00
David Oberhollenzer
ed18073698
Launch from initrd directly into OpenRC
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:22 +01:00
David Oberhollenzer
241fcdf497
Add dummy shadow file with default password
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:22 +01:00
David Oberhollenzer
03881316b5
Rootfs fixup
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:22 +01:00
David Oberhollenzer
dec32445a1
Revamp/improve vfs setup in initrd
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:22 +01:00
David Oberhollenzer
86f9c7ba87
Enable agetty in util-linux
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:21 +01:00
David Oberhollenzer
5eddadf32b
Enable hostname binary in inetutils
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:21 +01:00
David Oberhollenzer
131a4446e2
Add OpenRC package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-08 21:07:21 +01:00
David Oberhollenzer
994b2cc435
Add libseccomp pacakge
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-04 17:42:16 +01:00
David Oberhollenzer
c03fe1aea0
Add shadow-utils package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-04 17:41:46 +01:00
David Oberhollenzer
8faea456c6
Populate /etc/passwd and /etc/group with reasonable defaults
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-04 17:41:46 +01:00
David Oberhollenzer
0ad59dd239
Fix ownership & flags for root overlay
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
bcd68ce86a
Merge base-files package with rootfs package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
875a348d2d
Fix release package paths
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
015cb894cd
Major cleanup
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
0932c5ae0b
Merge rootfs packages
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
ffacb26218
Remove depends file
...
Instead of having a "depends" file with a list of packages, add a
"DEPENDS" variable to the build script.
Generate the rootfs dependencies from a config file stored in the
cfg directory.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
78c616ca27
Simplify dependency handling
...
- dependencies() accepts a single package name instead of a list.
Is used only that way anwayway.
- Remove most temporary packge lists
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
077f72f529
Some rootfs restructuring
...
- Dedicate home directory for root user (classic /root)
- Root homedirectory is overlay mounted
- Allows us to have an empty user directory that we directly
mount, i.e. without using overlay fs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
2426f1f32c
Add dnsmasq package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
babb60e124
Add unbound package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
45b9ddce17
Add expat package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
70babae4f3
Add libbsd package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
1c05be209c
Add libevent package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
2c0abfca2e
Add OpenSSL package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
e8faa75cdd
Add libidn2 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
d07977c81f
Add libunistring package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
0776aea175
Add libiconv pacakge
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
5d17b04f52
Add libtasn1 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
7c15b288ff
Add nettle package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
931157747d
Add gmp package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
8469ee6660
Add SQLite3 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
049495fd2f
Add bash-completion package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
b363b49a56
Add basic system files
...
- passwd and group files with entries for "root"
- user directory for "root"
- hosts and hostname files
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
8230c3996b
Add bash startup files, fix bash startup
...
- Add startup files
- Fix initrd to no leak environment variables
- Start bash from initrd as login shell (for now)
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
9b7c8c5730
Add overlayfs setup for /etc and /var/lib
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
2f569eee34
Remove terminfo for archaic old terminals
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
aea46b2b14
Remove translation files
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
5c8effa301
Remove unneccessarry prepare() hooks
...
- Packages that don't download anything don't need a prepare() hook
- Packages that inherit the source from other packages should leave
it untouched. If they get downloaded first, they should use the
hook from the original package.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
297b0a3254
Cleanup release packages
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
57cf673125
Move rpi3 boot loader config to its package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
d979842663
Add packages for release
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
40fd03640c
Remove magic squashfs path variable
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
4039cd1c81
Move rootfs generation to dedicated packages
...
Add rootfs-<cfg> packages that create the skeleton system, copy
the files and create the squashfs images. Old "SQUASHFS" package
list is depends file of rootfs-<cfg> package.
This removes some of the special case code.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
4ca9d6b14c
Add iproute2 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
2f5c23d9e8
Add libmnl package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
b420eea0bc
Add berkeley DB package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
637bbb6e8c
Add ethtool package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
3c626bbd91
Add inetutils package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
9aa664e52a
Add gawk package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
944a1c7f65
Add sed package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
4343a8d8b6
Add findutils package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
10f53cd3dd
Add diffutils package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
8b7511ff55
Add tar package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
0fe341f8ec
Add bzip2 package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
112f2b823b
Add gzip package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
105b7edb56
Add less package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
4c6fbb59f2
Add grep package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00
David Oberhollenzer
2eac83ddf5
Add kmod package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:08 +01:00
David Oberhollenzer
fe28879bf2
Add XZ package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:08 +01:00
David Oberhollenzer
6efa1bd5f2
Add util-linux package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:08 +01:00
David Oberhollenzer
984adfd14e
Add zlib package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-29 10:17:30 +01:00
David Oberhollenzer
5e7a7669eb
Add nano package
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-29 10:17:30 +01:00
David Oberhollenzer
dbbb1889f4
Initial commit
...
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-29 10:17:30 +01:00