Commit Graph

540 Commits

Author SHA1 Message Date
Oliver Smith e60eee7dfa Fix #151: git ambiguous argument error (#531)
We check if origin/HEAD is present. In case that reference is
missing, we show a meaningful error message now, with an explanation
on how to add it. Also moved find_out_of_sync_files_tracked() to
pmb.helpers.git
2017-09-25 22:05:29 +00:00
montvid 1416ce241d asus-flo: wifi & freedreno support + new firmware-asus-flo (#627)
* firmware-asus-flo: packaged all flo firmware
* device-asus-flo: depend on firmware-asus-flo package
* default android wifi config
* Add wifi and freedreno support
* change to console=ttyMSM0 - as per https://dflund.se/~triad/krad/nexus7-flo/
* Add current kernel config as it is currently working with wifi.
* Increase pkgrel to account for changes in the kernel config.
2017-09-25 20:39:11 +00:00
clayton craft 8272ba2d52 Enable dbus service by default (#628)
Quite a few things use dbus (plasma, hildon, ofono, connman,
networkmanager, etc) that I think it makes sense to just have this
started by default in pmOS rather than have every device package
implement this on their own.

In case someone shows up with a use-case, where dbus by default
is not desired, please speak up. Possible solutions are in #628.
2017-09-25 20:33:04 +00:00
clayton craft 5671609d07 [gtk+2.0-maemo] add missing py-six makedepend (#622) 2017-09-24 18:19:23 +00:00
drebrez c2028e3ae7 Implement cache for generated splash screens (#620) 2017-09-24 14:24:56 +00:00
clayton craft 1939e929c2 [maemo] fix packages with broken source links (#623) 2017-09-24 14:05:37 +00:00
clayton craft d98cb50347 Improve message for SSH key copying during install (#624)
This only displays the ssh key note if no keys are found, since it's
confusing if a user has 1 key but not the other. In that case, the
message would be displayed despite copying one of the keys over.
2017-09-24 14:02:17 +00:00
Martijn Braam df0566538e Deterministic dhcp lease (#619)
* Ensure leased ip is always 172.16.42.2
* Bumped version for postmarketos-mkinitfs
2017-09-23 14:23:38 +00:00
montvid 3c4e709657 [asus-flo]: Fix udev rule (Remove \) (#611)
* remove \ because of udev warning

* fix hash for changed udev rules

* device-asus-flo: Increase pkgrel
2017-09-23 01:31:38 +00:00
clayton craft eab6ca4e32 [osk-sdl] Update to 0.48 (#612) 2017-09-23 01:12:12 +00:00
clayton craft 4e3054a852 [sdl2] Update package to prevent installing upstream updates (#613) 2017-09-23 01:10:31 +00:00
clayton craft 6e402c4d36 [directfb] add gfx init patch and adjust configure options (#614) 2017-09-23 01:09:29 +00:00
clayton craft e0b673d838 Add device-specific configs for osk-sdl (#615) 2017-09-23 01:05:54 +00:00
Martijn Braam 84ef2d18e3 Update musl from upstream (#617) 2017-09-23 00:48:07 +00:00
montvid 65d57e279b Add Nexus 7 2013 flo support 4.11 kernel (#608)
Nexus 7 2013 flo support with Linaro flo-WIP kernel. Touchscreen, weston, usb internet working.
2017-09-21 22:23:54 +00:00
Luca Weiss b7b0011195 postmarketos-base: Update wiki link (#607) 2017-09-21 19:56:59 +00:00
Luca Weiss 3667517c60 Fairphone 2 support (#602)
* Started with stock kernel config (fairphone-perf_defconfig)
* Enabled DEVTMPFS
* Deactivated MSM_KGSL
* Enabled the serial console
* Enabled USB networking
2017-09-21 17:21:21 +00:00
drebrez 98f3b09194 [htc-bravo] Reduce kernel size & remove touchscreen calibration (#605)
* [htc-bravo] Reduce kernel size
* [htc-bravo] Remove unnecessary touchscreen calibration
* [htc-bravo] Bump linux-htc-bravo version
2017-09-21 17:13:25 +00:00
Jean Lucas a8cdb455f3 Support for Ed25519 SSH keys (#571) 2017-09-21 17:11:20 +00:00
clayton craft f2200ecdb9 [linux-postmarketos] update to 4.13.3 (#606) 2017-09-21 14:06:00 +02:00
clayton craft 20920aebc2 [rx51] Add libinput calibration matrix (#600) 2017-09-20 18:40:50 +00:00
clayton craft 0f9b45dbd8 Improve copy in mkinitfs (#599)
'install' does not properly handle symlinks, it copies the entire file
instead of a symlink to it. This PR uses `cp -a` to preserve symlinks.

For example, with `install`, the files libc.musl-armhf.so.1 and
ld-musl-armhf.so.1 are the same size, despite the fact that in rootfs
libc.musl-armhf.so.1 is actually a symlink to ld-musl-armhf.so.1.

According to @drebrez research, the initramfs size shrunk from 
1 567 930 to 1 168 591.
2017-09-20 18:36:22 +00:00
clayton craft 220cd7b442 Close #574: swap file support/encrypted swap on rx51 (#585)
This adds a custom swap file service, which allows specifying a
recommended swap size in the deviceinfo file via
`deviceinfo_swap_size_recommended`. For the N900 this defaults
to 1024 MB now. As the swap file is created in the root partition,
we have encrypted swap now (unless encryption is disabled with
`--no-fde`).
2017-09-20 18:32:19 +00:00
Oliver Smith bf6f5cb884 Fix confusing error message for invalid makedepends (#540)
This happens currently, when a makedepend is invalid:
ERROR: UnboundLocalError: local variable 'pkgname' referenced before assignment

With this patch, you get the meaning full error that should have been printed instead:
ERROR: Could not find package 'invalid-package' in the aports folder and could not find it in any APKINDEX
2017-09-19 19:51:43 +00:00
clayton craft 558cd40fbf Adjust luksFormat options to reduce time to open luks device on boot (#430)
This is a workaround for #429, until the iteration count can be
specified directly in cryptsetup.

* Add default iter-time option, and option to override
* set SHA1 default hash for luksFormat, add option to override
* [RX51] load omap-sham in initramfs for HW accel. sha1
2017-09-19 19:46:18 +00:00
Tomas Safarik 70aa50ff50 set system partition for flashing with heimdall (#596)
* add firmware for samsung-i9100

* add firmware package as dependecy for device package

* fix sha sums

* fix checksums

* APKBUILD fixes

* hopefully correct pkgrel versions

* set kernel config for postmarketos firmware location

* bump pkgrel

* update checksum for linux-samsung-i9100

* fix path for downloading firmware files

* update checksums

* set device system partion for flash to FACTORYFS ( issue#422 )
(please check that I merged master correctly in previous commit)
2017-09-19 01:20:02 +02:00
drebrez 1493575905 Add LG G Watch (dory) support (#595)
* Add LG G Watch (dory) support

* Use github.com mirror instead of googlesource.com to have fixed checksum

* Fix kernel compilation and remove unnecessary initfs-hook for framebuffer settings
2017-09-19 01:15:04 +02:00
Attila Szöllősi ae6a58b6ed Close #554: kernel config checking (#589)
* Check kernel config
* Allow specifying multiple kernel packages, and also no packages
  which defaults to scanning all kernel configs (it is super fast
  anyway)
* Add the check to Travis CI
* Adjust existing kernel configs, so they pass the kconfig_check.
(We've had to put in a lot of defaults in the aarch64
linux-postmarketos configs, that's why the diff is a bit unclean.)
* Increase modified kernel pkgrels
2017-09-18 21:36:54 +00:00
clayton craft 7349874925 Add msm-fb-refresher package and initfs config (#587)
* Add msm-fb-refresher package and initfs config
* Bump version for pmos-mkinitfs
* Create msm-fb-refresher openrc service
* kill refresher when initfs is done
2017-09-18 19:17:30 +00:00
Martijn Braam 12e4eaa899 Added base offset to hammerhead deviceinfo (#556) 2017-09-18 18:46:29 +00:00
drebrez 82e6775c1d Take kernel config from "startdir" when copying back to aport folder (#594) 2017-09-18 18:38:52 +00:00
clayton craft 72c350d635 [postmarketos-base] Fix typo in sed statement (#586) 2017-09-16 00:01:25 +00:00
clayton craft 26d34531a6 Fix wpa_supplicant configuration (#578) 2017-09-15 17:44:50 +00:00
clayton craft e89aca07d7 [linux-postmarketos] Update to 4.13.2 (#582) 2017-09-15 15:44:14 +00:00
Brian Otto 19531d518d Added a new option that allows you to increase the system image size for qemu (#568) 2017-09-15 15:41:40 +00:00
Jean Lucas 8ef89accd8 bacon: Get display output & touchscreen working (#583)
- Revert to LineageOS 14.1 kernel
- Enable virtual terminal
- Update touchscreen settings

At the moment, display output works, but only when the following is run:
while [ ! ]; do cat /sys/class/graphics/fb0/modes >
/sys/class/graphics/fb0/mode; done.
2017-09-15 15:31:17 +00:00
Yuval Adam 9c0eadc732 Fix build error in device-t2m-flame (#580) 2017-09-14 18:52:32 +00:00
Pavel Machek 8a88881a6a Reorder entries in the menu, so that shutdown is always available, (#569)
* Reorder entries in the menu, so that shutdown is always available,
even on N900.
* increase `pkgrel`
2017-09-14 18:42:39 +00:00
drebrez 207c200229 zap: add `-d`/`--distfiles` argument to clear downloaded files cache (#576) 2017-09-14 18:28:10 +00:00
drebrez c6e210d4e7 [huawei-y530] Add kernel modules (#579) 2017-09-14 18:24:33 +00:00
Tomas Safarik c1b01cee7b Add libsamsung-ipc to device-samsung-i9100 (#564)
* add libsamsung-ipc (from upstream replicant repository)
* add libsamsung-ipc as dependecy for device-samsung-i9100
* change device path for loading modem firmware on i9100
* add mounting of EFS to fstab
2017-09-14 18:18:12 +00:00
drebrez 0ccb2512bd Fix checksums (GitHub generates different archives now) (#577) 2017-09-14 18:16:16 +00:00
Yuval Adam 10a163c265 T2M Flame updates (#560)
* Fix t2m-flame MDSS driver issues
* Fix path in firmware-t2m-flame
* Remove unneccesary FB hacks
* Fix touchscreen on T2M Flame
* Remove unneeded initfs-hook.sh
* Add patch number prefixes
2017-09-13 19:46:45 +00:00
bhuvi 20bd12e3a9 Fix #572: checksum linux-samsung-i9100 (#573) 2017-09-13 19:40:17 +00:00
zhuowei a5174d5a33 Fix #562: `zap -m` on Python 3.4 (#566)
os.scandir was introduced in Python 3.5.
2017-09-13 19:25:40 +00:00
clayton craft 07ab405cc3 Feature/rx51 ofono (#567)
* [rx-51] remove pm=0 for nokia-modem
* Add ofono-1.20 + n900/isimodem fixes
* [rx51] Enable ofono support
2017-09-13 19:20:46 +00:00
drebrez a31cd0897b flasher flash_system: add possibility to select partition (#565)
Usage example:
pmbootstrap flasher flash_system --partition=userdata
2017-09-13 17:50:06 +00:00
drebrez d7cc7085f2 Strip kernel modules for all kernels except for linux-postmarketos (#561)
Adding INSTALL_MOD_STRIP will cause modules to be stripped after
they are installed (option --strip-debug will be used)
In case someone isn't happy with it, please open a PR that reverts
it for your device, or start a discussion as a new issue.
2017-09-13 17:47:53 +00:00
clayton craft 9281b4744f [linux-postmarketos] update to 4.13.1 (#563) 2017-09-12 21:33:46 +02:00
Tomas Safarik a6b1074641 Add libsamsung-ipc (#522) 2017-09-12 15:37:30 +00:00