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

116 commits

Author SHA1 Message Date
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
9e361a4cd3 Use config.guess to determine the host tuple
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
b36d66bb9b Move checkfile test to package main loop
- Only one checkfile per package, not per stage
 - Have to rebuild entire package on failure anyway
 - Faster build since we can simply guard toolchain restore
   with checkfile test

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
3c7334056f Alix kconfig: move some networking features to modules
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
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