Commit Graph

863 Commits

Author SHA1 Message Date
Oliver Smith 3c59126bc1
Remove timestamp based rebuilds (#1174)
If you want to build a package without changing the version number,
please use `--force` from now on. For example:

    pmbootstrap build --force hello-world

Prior to this commit, changes were detected automatically (timestamp
based rebuilds). However, that feature does not work as expected with
the binary package repository we have now, and depending on how you use
git, it has never worked. Close #1167, close #1156, close #1023 and
close #985. This commit also mentions --force when a package is up to date,
but the user requested to build it.
2018-01-28 23:27:33 +00:00
Pavel Machek bdeec7a255 Optional --rsync parameter for pmbootstrap install only copies the diff (#1151)
Should reduce wear of sd card. Example usage:
pmbootstrap install --sdcard=/dev/mmcblk0 --no-fde --rsync
More rsync output with pmbootstrap -v.
2018-01-28 23:25:21 +00:00
Oliver Smith cd7280e1ee
Bump version (last version has been tagged) 2018-01-27 18:53:27 +01:00
ashirviskas e203c42d5b Nextbit Robin booting. SSH over USB working (#1145) 2018-01-27 14:52:34 +00:00
Oliver Smith 566da1718d
version.py: fix validation of 6.0_0002 (#1160) 2018-01-25 18:23:55 +00:00
Alfie Day cad39be733 Enable xwayland on t2m-flame (#1168)
postmarketos-demos runs fine with xwayland enabled
2018-01-25 18:12:45 +00:00
Oliver Smith 0479031f7e
Remove lots of legacy 'challenge' code (#1162)
Preparation for #1122.

* `pmb.parse.apkindex.parse()`, removed strict parameter: This used to raise
  an exception when two entries in the apkindex provided the same package.
  Turns out this is *not* invalid after all, two packages can provide the same
  soname for example (e.g. libhybris, mesa-egl). In an APKINDEX, sonames are
  listed as they were packages ("so:libjpeg.so.8" etc.).
* Remove `pmbootstrap challenge` leftover code from reproducible builds effort,
  which was a dead end. This code uses the broken strict feature.
2018-01-25 18:08:39 +00:00
Ryan Murthick 7f9fc68729 Add initial support for the Moto G 2013 (falcon) (#1165)
Currently working:
 - flashing both kernel and system
 - boots into weston with touch support
 - can also ssh in via usb
2018-01-24 23:52:27 +00:00
Bart Ribbers 3c827885a2 Update KDE Frameworks to 5.42.0 (#1164)
Fixes #979: Top drawer and background missing on first boot
2018-01-24 23:23:36 +00:00
Oliver Smith 34d46b2fe3
static_code_analysis.sh: Find CHANGEMEs in APKBUILDs (#1161) 2018-01-24 21:31:07 +00:00
NotKit 67eac031b1 Update Maemo packages (fixes #1148) (#1157) 2018-01-24 20:45:47 +00:00
Oliver Smith 759c41dba0
testcases_fast.sh: Make sure we have a valid device (#1140) 2018-01-24 20:14:43 +00:00
Oliver Smith 1678d089c9
aportgen linux: Also remove -Werror in Kbuild files (#1139)
We discovered that one kernel had it in a Kbuild file in #1124.
2018-01-24 20:07:47 +00:00
Daniele Debernardi 845d946389 Enable running pmbootstrap on x86 architecture (#1155) 2018-01-24 00:56:11 +00:00
Daniele Debernardi 3a01537332 Delete remaining legacy "repack" code path (#1154) 2018-01-23 21:23:33 +00:00
Oliver Smith e5ed3f86d0
Fix error message suggesting to run invalid command "zap -a" (#1132)
The message showed up, when you apk-static download could not be
verified. What the user needs to do instead is checking if openssl
is installed, and possibly delete the http cache ("zap -hc").
2018-01-23 01:03:31 +00:00
Oliver Smith 3c8a93fa7b
Improved pmbootstrap init (#1095)
This PR makes the workflow faster and pmbootstrap will
produce less traffic. Details:
* Check if it's possible to create and read from a device
  node directly when initializing a chroot (closes #472)
* Copy the Qemu binary into the forign-arch chroots
  before initializing them, so the post-install script
  directly work during the chroot setup and we don't need
  to call apk fix afterwards
* Use pmb.helpers.repo.update(), which only updates the
  APKINDEX files if they are older than 4 hours, instead
  of using apk's repo update function which always
  downloads the APKINDEX files
* Chroot initialization
  * Getting the initial APKINDEX to download apk-tools-static
  * Updating the APKINDEX at the start of pmbootstrap install
* Fixed a bug in from_chroot_suffix: the buildroot_x86_64 has
  architecture x86_64, not x86.
2018-01-23 00:54:48 +00:00
Vadim Rutkovsky 6763627633 asus-flo: enable namespaces support (#1152)
Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
2018-01-23 00:43:05 +00:00
Daniele Debernardi 8ec9eec080 Allow to build musl/binutils/gcc for x86 architecture (#1150) 2018-01-23 00:26:33 +00:00
Oliver Smith db3f1f36a7
kimageformats: soname bump of dependency: libIlmImf-2_2.so.22 2018-01-23 00:59:46 +01:00
Oliver Smith f2340ebcd4
Odin export: make sure temp folder is empty (#1141) 2018-01-22 22:35:07 +00:00
Pavel Machek 64d757945d Rename Nokia rx51->n900 and rm-696->n9 (#1146)
Closes #1143.
2018-01-21 15:09:37 +00:00
Oliver Smith 0c3ce04a62
libsamsung-ipc: update to 6.0.0003 and fix pkgver
Unfortunately pmbootstrap did not detect, that we had an invalid
pkgver in this package. See bug #1144.
2018-01-20 19:28:15 +00:00
Oliver Smith 9f674675eb
Don't compile cross-compiler packages for the host arch
Example: Building gcc-armhf for armhf does not make sense, so this
commit changes arch="all" to arch="aarch64 x86_64". This helps to
simplify the repository scripts (#970).
2018-01-20 19:17:23 +01:00
Martijn Braam 17122cf242 linux-samsung-s6500d: Fixed kernel version number and upstream url (#1142) 2018-01-20 17:42:42 +00:00
Bradley Gamble 2efc1750a2 Google Nexus 10: Initial Support (#1138)
Uses watchdog-kick dependency to stop periodic (30s) reboots.
2018-01-20 00:50:14 +00:00
Daniele Debernardi 32a2599ac3 Add qemu-user-static-repack all architectures (#1136)
Also don't build "-repack" packages in native chroot anymore.
This was a legacy hack, which has no use anymore, and it prevented
the package from being built for different architectures.
2018-01-19 21:30:16 +00:00
Oliver Smith 0ae23afa60
Fix #839: Check pkgver after parsing APKBUILD / various small improvements (#854)
Small improvements:
* Allow to specify multiple packages to `pmbootstrap parse_apkbuild`
* Specifying no package will parse all packages (like kconfig_check)
  (also `parse_apkbuild`)
* JSON output is sorted of `parse_apkbuild`
* Make pkgver check optional, so we can disable it in the device wizard test case
* Parse_apk* -> apk*_parse
* Don't let the user mess with globs (disallow '*' in pkgname)
2018-01-18 22:05:27 +00:00
Daniele Debernardi 0bc60138f3 Add musl/binutils/gcc for cross-compiling to x86_64 (#1130) 2018-01-18 21:48:04 +00:00
Daniele Debernardi 10fe759213 abootimg: arch=all (#1131) 2018-01-18 00:58:50 +00:00
Oliver Smith 0e99d81bc0
kimageformats: bump pkgrel (soname bump: libIlmImf.so) 2018-01-18 01:31:39 +01:00
Chinmaya Krishnan Mahesh 0937d5a659 (motorola-potter) Add display support (#1129)
using msm-fb-refresher
2018-01-17 17:57:24 +00:00
Mayeul Cantan 00aa65f2d0 pmbootstrap: add qcdt generation to the linux aportgen APKBUILDs (#1125)
* pmbootstrap: __config_.py - update the deviceinfo_attributes table

Add missing attributes:
 * "screen_width"
 * "screen_height"
 * "dev_touchscreen"
 * "dev_touchscreen_calibration"
 * "dev_keyboard"
 * "bootimg_qcdt"

Reorder the list to correspond to pmb/aportgen/device.py

Add a comment in the aforementioned file to avoid forgetting to update
this list.

Signed-off-by: Mayeul Cantan <mayeul.cantan@gmail.com>

* pmbootstrap: add qcdt generation to the linux aportgen APKBUILDs

This checks the next box in #688
When the device has bootimg_qcdt set to true, the following is done to
the linux APKBUILD:

 * Add dtbtool to makedepends
 * Call dtbTool during build() to generate dt.img
 * Add the generated dt.img in the package's boot/dt.img

Signed-off-by: Mayeul Cantan <mayeul.cantan@gmail.com>
2018-01-17 17:53:58 +00:00
Chinmaya Krishnan Mahesh 8373294266 Initial support for Moto G5 Plus (potter) (#1126) 2018-01-16 20:55:23 +00:00
Oliver Smith 9a3ce3ee70
Wrap Alpine's newapkbuild (#894)
Closes #836.
2018-01-15 22:00:11 +00:00
Oliver Smith 4715c0f1bf
pmbootstrap: Disallow running as root (#1120) 2018-01-14 08:13:35 +00:00
Oliver Smith 1992f37036
Gracefully handle packages breaking because of soname bumps (#1116)
Fixes #893. Changes:
* New action: "pmbootstrap pkgrel_bump"
* pmbootstrap detects missing soname depends when trying to install
  anyting, and suggests "pkgrel_bump --auto" to fix it
* Testcase test_soname_bump.py checks the pmOS binary package repo
  for soname breakage, so we see it when CI runs for new PRs
* libsamsung-ipc: bump pkgrel because of soname bump
2018-01-14 01:26:42 +00:00
rrooij 219aee8ab7 pmbootstrap export: add blob as symlink (#1121)
The blob for tf101 should be exported as symlink too.
2018-01-14 00:39:26 +00:00
rrooij 7b6733f707 deviceinfo: add blobtools options (#1118)
Add a blobtools option to the deviceinfo file for creating specific
blobs for the Asus TF101 tablet. This will make it easier to flash
afterwards with ADB.
2018-01-13 20:38:29 +00:00
rrooij 71d21a20c8 Add blobtools as package for tf101 (#1115)
This is for making a kernel image for the TF101 easier. See also:
ttps://github.com/postmarketOS/pmbootstrap/pull/1103#issuecomment-357035481

The TF101 does not support normal Android boot images and instead needs
a blob to be created.
2018-01-13 00:33:48 +00:00
Eric Hosmer 3eff2eda14 motorola-shamu: Fix black screen after splash (#1112) 2018-01-12 22:01:55 +00:00
Attila Szöllősi 75bfddbc3b [recovery-installer] Copy contents of /etc/skel to home directory (#1114) 2018-01-12 21:53:15 +00:00
Alex Roth 95ed32bd4e postmarketos-artwork-wallpapers: Update to pull in JPG wallpapers (#1113) 2018-01-12 21:32:59 +00:00
Alex Roth 2abddfaed9 Luna: Fix startup by bumping the nodejs packages (#1111) 2018-01-11 19:46:06 +00:00
Olgierd Nowakowski e068342a6d postmarketos-artwork: Spaces -> Tabs (#1110) 2018-01-10 19:00:55 +00:00
Oliver Smith fca465dd4a
cross-compile native: Properly install native depends (#1102) 2018-01-09 22:18:07 +00:00
Daniele Debernardi 80107912df [samsung-i9070] Add proper fix for framebuffer (#1106)
- Removed the framebuffer configuration in the initramfs hook
- Added patch for fixing the framebuffer mode in the kernel source
- Cleanup linux-samsung-i9070 APKBUILD
2018-01-09 19:42:52 +00:00
rrooij b7596de61d samsung-i9195: fix weston pixman type (#1105) 2018-01-09 18:23:10 +00:00
Filip Matijević bba6f9f7db Add basic support for Nokia N9 (#1101)
Also added the watchdog-kick package:
Some devices (namely Nokia N9/950) use more than one watchdog, and
watchdog-kick package kicks all of /dev/watchdogs? every 10 seconds so
they don't reset the device
2018-01-09 16:42:55 +00:00
Olgierd Nowakowski ed813bcd27 Artwork packages (corrected) (#1097)
* Packaged wallpapers and added a postmarketos-artwork metapackage

* Added artwork packages

* Spaces -> Tabs

* Merged postmarketos-artwork-wallpapers-extra to be a subpackage
Corrected maintainer email
2018-01-09 14:01:27 +01:00