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

103 commits

Author SHA1 Message Date
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
7b1d236e16 Merge libgcc and toolchain meta packages
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 23:16:39 +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
6d44a92258 Remove --broken from git describe
Older git versions apparently don't know that (SuSe, CentOS, ...)

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +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
8f030cb6ca Alix: add USB network adapter support
Add WLAN stack and enable module based support for all kinds of
USB wireless dongles, network adapters and modems.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
3ca1ff524a Enable more sophisticated networking in alix kconfig
- Enable IPv6
 - Enable IPSEC
 - Enable MACSEC
 - Enable GRE tunneling
 - Disabled xtables
 - Enable nftables
 - Enable bridge device
 - Enable macvlan/macvtap device
 - Enable VLAN configuration

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
e5533d9166 Further alix kernel clamp down
- Disable legacy compatibillity system calls
 - Disable 16 bit support syscalls
 - Disable all input & graphics support
 - Disable virtual terminal support
 - Disable /dev/mem device
 - Disable more debugging options

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
a3354247cd alix-kernel: enable embedded system config
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-02-15 13:56:16 +01:00
David Oberhollenzer
12e251c8a0 Some alix specific kernel config changes
- Alix has VIA network cards, remove all other vendors
 - Remove swap support (where should we swap to?)
 - Remove uselib syscall
 - Remove BSD accounting
 - Remove in-kernel config & boot command line
 - Disable non-wintel-bios partition layouts
 - Remove support for file systems we don't use
 - Disable test cases
 - Use only XZ compression for kernel & initramfs

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
b61bfcc519 Bump toolchain package versions
- Upgrade to newer binutils version
 - Upgrade to newer gcc version
 - Upgrade to newer mpc version
 - Upgrade to newer mpfr version
 - Upgrade musl package to perfere HTTPS download

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