Commit graph

35 commits

Author SHA1 Message Date
Daniele Debernardi
6798ff9666
main/linux-postmarketos-stable: enable CONFIG_SND_HDA (!794) 2019-12-24 00:03:32 +01:00
Danct12
0ff1dadc82
main/linux-postmarketos-*: upgrade to the latest (!660)
[ci:skip-build]: does not finish in time on CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-10-08 00:34:09 +02:00
Daniele Debernardi
34507896c7
linux-postmarketos-stable: enable audio for N900 (!629)
This MR enable the new CONFIG_SND_SOC_NOKIA_RX51 kernel option which
replaces the old CONFIG_SND_OMAP_SOC_RX51, enabling the audio on the
N900 again (just tested).

[ci:skip-build]: won't finish in time
2019-09-14 05:45:46 +02:00
Luca Weiss
82b143f3f0
Fix spelling mistakes (!466)
codespell --skip="./.git,*.patch,*.diff,config-*.*"

[ci:skip-build]
[ci:skip-vercheck]
2019-06-30 01:40:02 +02:00
Danct12
bbf3e19294
main/linux-postmarketos-*: upgrade mainline to 5.2-rc2, stable to 5.1.5 (!392)
[ci:skip-build]: Takes more than an hour to build on CI.

Signed-off-by: Danct12 <danct12@disroot.org>
2019-06-02 04:52:45 +02:00
Danct12
9ea0ca4de7
main/linux-postmarketos-*: upgrade mainline (5.2-rc1) and stable (5.1.4) (!367)
Tested with qemu. Tested on N900 by ollieparanoid.

[ci:skip-build]: kernel takes more than an hour to compile on CI.
2019-05-25 01:55:57 +02:00
Oliver Smith
ffbbe41d63
main/kernel-scripts: remove (!329)
This package was a workaround for out-of-tree modules (wireguard). We
have dropped the wireguard kernel module package already, and since
kernel-scripts is failing to build now (it would need to be updated),
let's drop it as well.

If somebody wants to bring back *and maintain* the wireguard
out-of-tree kernel module, I've documented how we had done it here:
https://wiki.postmarketos.org/wiki/Out-of-tree_kernel_modules

[ci:skip-build]: building the kernels that have been adjusted to drop
                 kernel-scripts related code would take too long for CI,
                 but I'm making sure that everything still builds before
                 merging.
2019-04-19 19:31:06 +02:00
Martijn Braam
f5b9af638e main/linux-postmarketos-stable: Fix ARMv7
This makes the linux-postmarketos-stable kernel generate an armv7 package instead of armhf. The contents
of the package were armv7 already but now it can be correct with the new Alpine support.
2019-02-27 14:09:53 +00:00
Grant Miller
3fe8d0e053
Use openssl for all kernels (!111)
This is a followup to !109 (merged). Affected packages:
* device/linux-samsung-p4wifi
* device/linux-sony-tulip
* device/linux-teclast-x80pro
* main/linux-postmarketos-allwinner
* main/linux-postmarketos-mainline
* main/linux-postmarketos-qcom
* main/linux-postmarketos-stable

[skip ci] I have confirmed that all 7 kernels still compile.
2018-12-22 23:30:02 +01:00
Oliver Smith
a9bca26633
main/linux-postmarketos-*-dev: fix kernel-scripts
When cross compiling, the kernel scripts would be in the native arch
again. That was already fixed in !1234, however the mime type of the
binaries has changed, so we couldn't detect them properly anymore
(#1659).

This commit fixes it again, and also adds a checks so this won't
silently fail in the future.

[skip ci] because this would not run through anyway (building these
packages takes too long). Fixes #1659.
2018-09-04 09:00:57 +02:00
Oliver Smith
dabc26f1c6 linux-pmos: update stable to 4.18.4, mainline to 4.18
[skip ci]
2018-08-23 03:16:34 +02:00
Oliver Smith
046bcb7728 main/linux-postmarketos-stable: pkgrel=1 [skip ci] 2018-07-08 21:31:30 +00:00
ryang
8957ce8c3b linux-postmarketos: Enable hypervisor and vmmouse configs for x86_64
The vmmouse driver makes the guest mouse as smooth as native. It is enabled
when running under a hypervisor such as kvm.
2018-07-04 14:11:47 -04:00
ryang
7a06206b24 linux-postmarketos-mainline: regenerate configs for 4.16.2 2018-07-04 14:11:44 -04:00
steamport
aff6137268 menuconfig: add gconfig/xconfig support (#1509)
* change "pmbootstrap kconfig_check" to "pmbootstrap kconfig check"
* change "pmbootstrap menuconfig" to "pmbootstrap kconfig edit [-x|-g]"
  (with legacy alias, because the first syntax was referenced to a lot)
* enable X11 interfaces: -x: xconfig, -g: gconfig
* new function to copy the xauthority file:
  pmb.chroot.other.copy_xauthority()
* remove menufconfig() function from the kernel template and all kernel
  aports ([skip ci] because it would rebuild all kernels and run out of
  time). Alpine has dropped this as well, and it wouldn't work with the
  new code anyway.
2018-06-09 06:52:24 +00:00
Nikk Saan
1acb17b164 Upgrade linux-pmos-stable to 4.16.2 (#1435)
Fix for n900 audio not working
2018-04-21 16:21:35 +00:00
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
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
Martijn Braam
fa0dae0838 Wireguard for postmarketos-stable (#1231)
* Added modified wireguard APKBUILD from alpine
* Add required kernel options to postmarketos-stable
2018-02-19 16:51:00 +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
clayton craft
d1c97617d6 linux-postmarketos-stable: Update to 4.14.9 (#1053) 2017-12-29 13:51:52 +00:00
clayton craft
9b30cd6a46 [linux-postmarketos-stable] update to 4.14.2 (#946) 2017-11-28 19:09:17 +00:00
clayton craft
15d2dc6f97 [linux-postmarketos-stable] Update to 4.14 (#903)
Note, I have removed the rx51 DRM patch that worked around the boot display issue (#208), this issue should be resolved in this kernel.
2017-11-14 16:13:35 +00:00
clayton craft
5304b91935 [linux-postmarketos-stable] Update to 4.13.12 (#883) 2017-11-08 19:40:04 +00:00
Oliver Smith
12b5b1ebec Close #453: Support mesa-dri-virtio in Qemu (#861)
The mesa driver, which ends up in the installation image, needs to be known
before the installation is done (in other words: when running the qemu action,
it is to late as the image has already been generated). That's why one can
choose the Qemu mesa driver in `pmbootstrap init` now:

```
Device [qemu-amd64]:
Which mesa driver do you prefer for your Qemu device? Only select something other
than the default if you are having graphical problems (such as glitches).
Mesa driver (dri-swrast/dri-virtio) [dri-virtio]:
```

It is still possible to select `dri-swrast`, because `dri-virtio` may not work
in all cases, and that way we could easily debug it or experiment with other
mesa drivers (e.g. the "vmware" one, which is supported by mesa and Qemu).

Other changes:
* `pmbootstrap qemu` accepts a `--display` variable now, which passes the value
  directly to `qemu`'s `display` option. It defaults to `sdl,gl=on` (@PureTryOut
  reported that to work best with plasma mobile on his PC). `--display` and
  `--spice` (which is still working) are mutually exclusive.
* Removed obsolete telnet port pass-through: We only use the debug telnet port
  since osk-sdl has been merged.
* Add show-cursor to the Qemu command line, so it shows a cursor in X11
* Refactored the spice code (`command_spice` only returns the spice command,
  because it has all necessary information already) and the spice port can be
  specified on the commandline now (previously it was hardcoded in one place and
  then always looked up from there).
* Start comments with capital letters.
* Keep the log on the screen a bit shorter (e.g. Qemu command is written to the
  "pmbootstrap log" anyway, so there's no need to display it again).
* linux-postmarketos-stable: Adjust kernel configs
x86_64, armhf: enable as modules:
CONFIG_DRM_VIRTIO_GPU, CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_BALLOON
aarch64: all 3 options were already enabled as built-in (no change)
* Set '-vga virtio' for mesa-dri-virtio
2017-11-05 13:48:49 +00:00
clayton craft
d87aed4903 [linux-postmarketos-stable] Update to 4.13.11 (#858) 2017-11-03 18:50:46 +01:00
clayton craft
3579c4086d [linux-postmarketos-stable] Update to 4.13.10 (#847) 2017-11-01 15:56:57 +00:00
Attila Szöllősi
a31d168635 Add linux-postmarketos-mainline aport (#799)
* Rename linux-postmarketos to linux-postmarketos-stable
* Adjust all device-* packages using linux-postmarketos and bump pkgrel
2017-10-23 20:15:32 +00:00