Commit graph

12 commits

Author SHA1 Message Date
Luca Weiss
dbb9cc144a Kernel updates (#1357)
* linux-postmarketos-mainline 4.16_rc6 [skip ci]
* linux-postmarketos-lts 4.14.29 [skip ci]
* linux-postmarketos-stable 4.15.12 [skip ci]
2018-03-21 21:59:35 +00:00
Luca Weiss
e917f5f013 Kernel updates (#1348)
* linux-postmarketos-stable 4.15.11 [skip ci]
* linux-postmarketos-lts 4.14.28 [skip ci]

NOTE: linux-postmarketos-mainline 4.16_rc6
has a regression, not updated yet (#1352)
2018-03-20 21:02:12 +00:00
Luca Weiss
a3a5a35de0 Kernel updates (#1312)
* linux-postmarketos-stable 4.15.8 [skip ci]
* linux-postmarketos-lts 4.14.25 [skip ci]
2018-03-10 15:43:29 +00:00
Luca Weiss
44c74fc28f Kernel updates (#1295) [skip ci]
* linux-postmarketos-mainline 4.16_rc4
* linux-postmarketos-lts 4.14.24
2018-03-06 22:32:56 +00:00
Luca Weiss
ef9cd3d784 Kernel updates (#1280)
* linux-postmarketos-stable 4.15.7
* linux-postmarketos-lts 4.14.23
2018-03-01 23:53:19 +00:00
Luca Weiss
6dd916d6c7 Kernel updates (#1267) [skip ci]
* linux-postmarketos-stable 4.15.6
* linux-postmarketos-lts 4.14.22
* linux-postmarketos-mainline 4.16_rc3
2018-02-26 23:27:28 +00:00
Luca Weiss
c44c78d2de Kernel updates (#1253)
* linux-postmarketos-lts 4.14.21
* linux-postmarketos-stable 4.15.5
2018-02-24 08:34:42 +00:00
Luca Weiss
9660d13ea2 Kernel updates (#1240)
* linux-postmarketos-mainline 4.16-rc2
* linux-postmarketos-stable 4.15.4
* linux-postmarketos-lts 4.14.20
2018-02-21 19:19:37 +00:00
Oliver Smith
b2495a917b linux-*: Don't depend on postmarketos-mkinitfs
Binary packages are rebuilding. If your kernel is not rebuilt yet, and
you don't want to build it yourself, just checkout the previous
pmbootstrap commit.

This commit also changes the arch from the postmarketOS kernels from
"all" to the ones where we actually have a kernel config.

Fixes #1229.
2018-02-17 18:26:31 +01:00
Oliver Smith
6aba5f73d4 Package kernel-scripts separately (#1234)
We have two methods of cross-compiling:
* native: everything runs with the host architecture, QEMU is not
  involved. This is the fastest, but requires the build system to be
  working with it. We use this for all linux-* packages currently.
* distcc: everything runs through QEMU emulating the target arch,
  *except* for the compiler. This is the most compatible approach
  working with all packages.

When compiling `linux-*` packages natively, kernel scripts needed
during the build process get generated. Some of these are C files that
get compiled as executables. In native mode, these get compied to the
native architecture, in distcc mode to the target architecture.

The problem is, that we need these scripts compiled for the target
architecture in the kernel's dev package in order to compile kernel
modules outside of the kernel's package (e.g. wireguard).

It is not possible to just rewrite this logic to generate target-arch
binaries when running in native mode, because these binaries require
musl-dev, linux-headers and some other packages to be installed for the
target architecture inside the native chroot.

We solve this by introducing a new `kernel-scripts` package. which
contains just the binary scripts. In case the dev package was
cross-compiled, it depends on `kernel-scripts` and symlinks these
binaries. The `kernel-scripts` package always gets compiled in distcc
mode since it does not have a `linux-` prefix.

Fixes #1230.
2018-02-16 22:00:37 +01:00
Oliver Smith
f05438b4e4 Various linux packages: Fix broken dev subpackage (#1228)
Fixes #1227.
This also updates the hash in linux-postmarketos-mainline, because the
hash changed upstream (they updated their git version server-side?).
2018-02-15 00:20:40 +01:00
Oliver Smith
9fe445af36 device-qemu-amd64: Use LTS kernel (#954) 2017-12-01 19:10:58 +00:00