Commit Graph

1320 Commits

Author SHA1 Message Date
Krait Bosheit Takoj e413d39db7 Update APKBUILD 2018-08-26 21:37:31 +00:00
Krait Bosheit Takoj 40f10ae127 added xorg.conf: explicitly declares to not use glamor, which was causing slowdown 2018-08-25 15:17:32 -07:00
C0rn3j de9e42ba9b make FDE set_passwd notice more flashy 2018-08-24 12:58:13 +02:00
Luca Weiss 1981372fc2 Refresh Fairphone 2 packages 2018-08-23 18:40:19 +00:00
Oliver Smith b5d17abed9
linux-pmos: update stable to 4.18.4, mainline to 4.18
[skip ci]
2018-08-23 03:16:34 +02:00
Oliver Smith f10ac0eadd deviceinfo: prepend manufacturer to device name 2018-08-23 00:44:46 +00:00
Grant Miller d00f4998ea Rename samsung-i9505 to samsung-jflte 2018-08-22 22:34:11 +00:00
Oliver Smith 417b00e184
cross/binutils-*: update to upstream (2.31.1-r0) 2018-08-22 23:46:33 +02:00
Grant Miller 8c9c0ce999 Check if device was renamed 2018-08-22 21:30:16 +00:00
Oliver Smith d3780364c1
temp/qemu: bump pkgrel (soname bump) 2018-08-17 00:52:24 +02:00
Oliver Smith 8ea5737255
main/libphonenumber: bump pkgrel (soname bump) 2018-08-17 00:35:41 +02:00
Martin 3f95aca46a recovery zip: support twrp.fstab filename in addition to recovery.fstab (fix for compatibility with TWRP on sony-yuga) 2018-08-16 21:21:45 +00:00
JBBgameich 86bc0cf5c2 Update kernel config from Halium 2018-08-15 21:35:16 +00:00
JBBgameich e65b285b5c BQ Aquaris U (chaozu) support 2018-08-15 21:35:16 +00:00
Martijn Braam 2ef014eb4a aports: device-samsung-manta: Changed flasher to heimdall 2018-08-15 21:22:53 +00:00
Oliver Smith acc35b93c3
temp/xorg-server: update to 1.20.1
Fixes #1625.
2018-08-15 21:49:34 +02:00
Oliver Smith 48a530dd8b
increase pkgrel 2018-08-14 04:55:02 +02:00
mgulin de724a8acb
nokia-rm885: add dev_touchscreen & weston_pixman_type 2018-08-14 04:53:36 +02:00
Oliver Smith 2b63684283
luna: bump aports depending on outdated sonames 2018-08-14 04:41:27 +02:00
Oliver Smith ffc33ff39e
main/libphonenumber: pkgrel bump
Rebuild libphonenumber, because a soname it depends upon does not exist
anymore: so:libboost_system-mt.so.1.66.0
2018-08-14 04:30:21 +02:00
Bart Ribbers a5e4ae4df2 Update plasma-phone-dialer to the latest upstream 2018-08-14 02:13:13 +00:00
Marti Raudsepp b380323769 Add initramfs error message when charging-sdl fails to run
There are devices where charging-sdl/directfb fails (osk-sdl#77).

It's nicer to give an error message than display "Loading..." forever.
2018-08-14 02:02:13 +00:00
Bart Ribbers ee4db11e2c Update KDE Frameworks to 5.49 2018-08-14 01:29:10 +00:00
Martijn Braam 3069b96745 aports: Updated busybox-static-aarch64 to 1.28.4-r2 for upstream compatability 2018-08-13 02:23:00 +02:00
Martijn Braam 474ccef18b aports: Updated busybox-static to 1.28.4-r2 for upstream compatability 2018-08-12 22:07:17 +02:00
Martin Rys da2b0f7c55 [Samsung-kminilte] Fix orange screen in FDE
Fixes #1639
2018-08-11 14:33:48 +02:00
Oliver Smith 68e1feef17 pmb: qemu-user-static from aport, not from Debian
Overview:
In order to execute foreign arch binaries on the host system, we are
using the Linux kernel's binfmt_misc feature in combination with
static builds of QEMU. Before this patch, the statically compiled
QEMU binaries were taken from Debian (mostly because I did not realize
that Alpine ships them as well). Now we can use the ones from the aport.

Benefits:
This allows us to easily update and patch the QEMU executables, we
don't need to be in sync with Debian's versions anymore.

Alpine's package is more modular, so we can save some download,
install, zap time, as well as disk space: setting up an armhf chroot
with pmbootstrap took ~102 MB before, now it's ~18 MB.

Detailed changes:
* Remove `cross/qemu-user-static-repack` aport
* Add `data/qemu-user-binfmt.txt` with the binfmt_misc flags for ELF
  binaries of various arches (extracted from Debian's packaging)
* When parsing that file, don't write verbose messages to
  `pmbootstrap log` anymore, only to the verbose log (can be enabled
  with `pmbootstrap -v`)
* Rename `pmb.parse.arch.alpine_to_debian()` to ...`alpine_to_qemu()`
* Rename `arch_debian` to `arch_qemu`
2018-08-10 15:11:21 +00:00
Kieran Elmes 8643198a04 Xiaomi Cancro support 2018-08-02 22:14:59 +00:00
Oliver Smith 7cb471cb42 aports/kde: test case for framework versions
This commit adds a test case, which makes sure that the KDE framework
and plasma framework version are always the same.

Additional changes:
* APKBUILD parser parses the URL now (that's the best way I found to
  categorize the KDE aports in frameworks and other)
* Changed single quotes to double quotes in KDE APKBUILDs, so the
  parser doesn't include the single quotes in the parsed result
* Added the test case to the gitlab CI config
2018-08-02 20:33:20 +00:00
Bart Ribbers a4b56c748d
Update Plasma to 5.13.4 [skip ci] 2018-08-02 22:24:18 +02:00
NotKit e22ba8caea Change default user uid to 10000 2018-08-02 20:10:56 +00:00
ryang e82b7e427d qemu: Don't use chroot based env variables when running spice client
We are running the Spice client installed on the host system. It doesn't
need to be run with env variables that point to chroot libraries.
2018-08-01 22:24:34 +00:00
Marti Raudsepp 7a569ca3dc Migrate remaining GitHub URLs to GitLab 2018-08-01 14:13:23 +03:00
Grant Miller 2eaccb8bbb Update CONTRIBUTING.md 2018-08-01 09:30:24 +00:00
Magnus Gulin 9944ffd0c5 Add initial support for nokia-rm885 / Nokia Lumia 720 2018-07-30 23:30:21 +00:00
Grant Miller 1c79944603 Detect androidboot.bootchg=true
Observed on Samsung Galaxy S4
2018-07-29 17:54:16 -05:00
Bart Ribbers 9a55962ae0 Upgrade Plasma to 5.13.3 2018-07-29 18:04:52 +00:00
joshas 17c9912455 osk-sdl support for semc-smultron 2018-07-28 22:06:50 +00:00
joshas b827196887 Copy directfbrc config to initfs-extra image 2018-07-28 15:25:47 +03:00
Oliver Smith f75586208f pmb: unsupported arch: link to wiki page
The old message was outdated and incomplete, added a link to this wiki
page instead: <https://postmarketos.org/newarch>
2018-07-26 22:00:25 +00:00
Xinayder bc7f6ba7e6 motorola-ghost: Fix rendering and add touchscreen support 2018-07-26 20:31:58 +00:00
Oliver Smith b0d4244b38 pmb: flasher: require action argument
With this patch, "pmbootstrap flasher" will fail with "the following
arguments are required: action_flasher". Without it, it just prints
"Done" and quits.
2018-07-26 10:09:35 +00:00
Oliver Smith 4844719b1d pmb: adjust to distcc 3.3 and wrap it with sshd
Overview:
Since Alpine updated to distcc 3.3 last week, pmbootstrap wasn't able to use
distcc for cross compilation anymore. It always falled back to running the
compiler in QEMU (which works, but is a lot slower). The reason for that is,
that distcc requires all compilers that are being used in a whitelist now.

This partially fixes CVE-2004-2687 in distccd, which allowed trivial remote
code execution by any process connecting to the distccd server. We only run
distccd on localhost, but still this can be used for privilege escalation of
sandboxed processes running on the host system (not part of pmbootstrap
chroots).

Because the CVE is only partially fixed (see the comment in
`pmb/chroot/distccd.py` for details), we make sure that only the building
chroots can talk to the distcc server by running distcc over ssh.

Details:
* Completely refactored `pmb/chroot/distccd.py` to run distcc over ssh
  * Store the running distcc server's arguments as JSON now, not as INI
* Make debugging distcc issues easy:
  * Set DISTCC_BACKOFF_PERIOD=0, so the distcc client will not ignore the
    server after errors happened (this masks the original error!)
  * New pmbootstrap parameters:
    * `--distcc-nofallback`: avoids falling back to compiling with QEMU and not
	   throwing an error
	* `--ccache-disable`: avoid ccache (when the compiler output is cached,
	  distcc does not get used)
  * `--verbose` prints verbose output of the distcc too
  * New test case, that uses the new pmbootstrap parameters to force
	compilation through distcc, and shows the output of distcc and distccd in
	verbose mode on error (as well as the log of sshd)
2018-07-26 09:47:23 +00:00
Oliver Smith d648794f7a test/aports: detect linux-firmware-* in depends
All firmware packages go into subpackages nowadays, so we have them
optional. The `test/test_aports.py` file has a test case, that makes
sure that there are no firmware packages in the `depends` of a device
package. So far we have only checked for `firmware-*` and
`linux-firmware`, this commit makes it check for `linux-firmware*` as
well.

In addition, the URL displayed in the "Please use kernel subpackages"
message has been fixed (points to devicepkg instead of deviceinfo now).
2018-07-25 20:13:37 +00:00
Oliver Smith 2399cbb373 Don't uninstall depends when build --strict fails
Alpine's `abuild` will uninstall all dependencies by default, when a
package build fails.

Leaving this configuration unchanged leads to unexpected behavior with
pmbootstrap: when executing `pmbootstrap build --strict` and pressing
`^C` during the build, pmbootstrap will stop, but an `apk` process
will be started in the background to remove the dependency packages.

Running `pmbootstrap shutdown` at this time will not work, because the
`apk` process is still running.

With this commit, dependencies don't get cleaned up from the chroots.
2018-07-25 19:52:46 +00:00
Ashymad 4d770cee85 Add support for Samsung SIII mini VE (gt-i8200) 2018-07-25 13:30:06 +00:00
Xinayder 838a17b84b Add new device: motorola-ghost (Moto X) 2018-07-24 23:41:06 +00:00
Oliver Smith ed59e38e62
pmb: fix kconfig edit
Using the default UI (menuconfig) was broken since 8268dc0e, where
logging was rewritten. The wrong output mode has been used, "tui" is
the right one.
2018-07-25 00:46:22 +02:00
Oliver Smith 74bf43cf5f
main/kernel-scripts,temp/weston: don't build x86
They don't build for x86 (in case of weston, because the dependency
libunwind does not exist for x86).
2018-07-22 23:57:39 +02:00
Oliver Smith 0e2c7507cd
Wiki CI: require all devices to be booting
In gitlab, there is no extra CI job running for commits in a merge
request (MR). This means, we can't run different code in a MR against
"master".

So instead of only checking whether all devices are booting if there's
a MR against master, always perform this check.

I've edited the message slightly, so it's clear that it's only required
to have the devices booting when making a merge request against master.
2018-07-22 23:19:02 +02:00