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

421 commits

Author SHA1 Message Date
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