Commit Graph

1348 Commits

Author SHA1 Message Date
Oliver Smith 946417d314
Make --gcc6 work with fish; add 'source' to usage 2018-10-11 07:22:09 +02:00
Robert Yang a2484f2492 Add envkernel.sh argument to use gcc6 cross compiler 2018-10-10 19:02:25 -04:00
Robert Yang e27f11a705 Parse shell arguments passed to envkernel.sh 2018-10-10 19:02:25 -04:00
Oliver Smith 1e495baa3c bump version to 1.0.1
I'll tag a new version, because installing with pip is fixed now.
2018-10-09 04:35:03 +00:00
Luca Weiss 120822aa2f
Restore not-redundant "include_package_data" line
Due to build caches removing that line still installed the files but in
a clean build, the directive is needed.

Fixes #1661 (again)
2018-10-08 21:41:45 +02:00
Robert Yang 9d198f1ea4 Clean kernel source directory before setting up make alias
When kbuild is using a separate directory for output files then it will
check if the kernel source directory is clean.
The build will throw an error when the source directory is not clean:

  .. is not clean, please run 'make mrproper'

Once envkernel.sh has aliased the make command then make mrproper will
be run in the context of .output directory. If the source directory is not
clean then user may be wondering why make mrproper doesn't clean it.

This change will ensure that the source directory is clean when envkernel
is setup.
2018-10-08 05:21:21 +00:00
Oliver Smith 87384aace6 increase min. required pmaports version
After all the GCC6-as-extra-package related changes.
2018-10-08 05:06:59 +00:00
Oliver Smith f54f96069e
aportgen linux: make compatible with GCC8
* create symlinks to the GCC8 patches (introduced in pmaports!35)
* link to the new vendorkernel reference wiki page
* use SPDX license in the license= field
* add comment above the compiler section of the APKBUILD
* remove empty line at the end of the APKBUILD
2018-10-05 09:07:57 +02:00
Oliver Smith 46d7891a22
When copying aports to chroots, resolve symlinks
When doing it this way, we can share patches between kernels the aports
(pmaports!35, pmaports#95).
2018-10-05 09:05:31 +02:00
Luca Weiss 09fcdba597 Fix detection of an aport in multiple subfolders 2018-10-02 07:14:02 +00:00
Robert Yang 277854e80f Kill the child processes spawned by a run command
When the timeout occurs it is important to ensure clean up of child
processes. Killing only the direct process created by a command can
leave child processes running.

For example a pmbootstrap.py install will run apk add. This run command
creates multiple processes as follows:
(cmd line arguments snipped for readability)

  $ ps -e -o pid,ppid,pgid,cmd
  PID  PPID  PGID CMD
  31738 23247 31738 python3 ./pmbootstrap.py -t 15 install --no-fde
  31746 31738 31738 sudo env -i /bin/sh -c ... ;apk --no-progress add
  31747 31746 31738 /bin/sh -c ... ;apk --no-progress add
  31748 31747 31738 apk --no-progress add

The root process of the run command is PID 31746. We want to kill
the child processes too. Otherwise only running kill -9 31746 will leave
the processes 31747 and 31748 running.
2018-10-02 07:06:46 +00:00
Oliver Smith 3e7c95e8b4
Support cross compiling kernels with GCC6
* aportgen: modify code to allow generating gcc6-armhf and other gcc6
  cross compiler packages
* package: when 'gcc6' is in the depends of a package, and the cross
  compiling mode is "native" (as we do it with kernels), install the
  gcc6 cross compiler instead of the usual one (gcc8)

Related: pmaports#103
2018-09-30 04:30:36 +02:00
Oliver Smith f68a7a6baa Link to wiki page if first git clone fails 2018-09-26 05:58:11 +00:00
Oliver Smith 8eb3b5d5c6
bump version to 1.0.0
(imagine epic music playing in background)
2018-09-19 09:51:01 +02:00
Oliver Smith 1f8832c4cc install apk keys and binfmt data with setup.py 2018-09-17 10:06:57 +00:00
Oliver Smith cff9185401
Update minimum required apk version to 2.10.1-r0
Max Justicz found a clever way to exploit apk, which is fixed in the
latest version:

<https://justi.cz/security/2018/09/13/alpine-apk-rce.html>
2018-09-14 06:26:46 +02:00
Luca Weiss 840931884b Recreate deleted aports symlink 2018-09-13 07:55:29 +00:00
Martijn Braam d88a09e6bd Added write_uboot_spl deviceinfo variable 2018-09-11 07:05:04 +00:00
Oliver Smith 3ce00de710 Move aports into own repository (pmaports) 2018-09-05 05:57:38 +00:00
Oliver Smith 520f34a253
main/libphonenumber: bump pkgrel (soname bump)
so:libprotobuf.so.15 does not exist anymore in Alpine edge
2018-09-04 08:17:10 +02:00
Oliver Smith e027a8a93c
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-03 09:48:41 +02:00
Oliver Smith 5ad6302b3c
temp/xorg-server: not needed anymore
Update happened upstream in Alpine edge:
https://github.com/alpinelinux/aports/pull/4983
2018-09-02 00:01:14 +02:00
raingloom 3eb80a3e55 don't install qemu when using --host-qemu 2018-09-01 13:14:52 +02:00
Oliver Smith 6991c1351d main/postmarketos-ui-plasma-mobile: bump pkgrel 2018-08-28 19:08:04 +00:00
Jonah Brüchert 17fe95c11f
Add aport for angelfish 2018-08-28 20:32:14 +02:00
Grant Miller 7eaf9de000 Implement bash tab completion 2018-08-27 21:35:05 +00:00
Oliver Smith d53550cdc6 pmb: give loop module time to initialize 2018-08-27 21:14:48 +00:00
ryang c9fc3d9b85 envkernel: Don't use alias commands in the script itself
The pmbootstrap alias cannot be used within the script.
The reason is that aliases are not expanded in non-interactive shells.
reference: https://unix.stackexchange.com/q/1496

To fix this replace references to the pmbootstrap alias with
the $pmbootstrap variable
2018-08-27 20:31:32 +00:00
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