Commit Graph

642 Commits

Author SHA1 Message Date
drebrez b1c86d4586 Fix #808: Add SYSVIPC kernel config check (#809)
* Add SYSVIPC kernel config check
* Add SYSVIPC kernel config option to all linux-device packages
2017-10-23 19:25:40 +00:00
drebrez 14299899f6 Implement cache for initramfs-extra (#796)
Partially implements:
<https://github.com/postmarketOS/pmbootstrap/issues/411>
2017-10-22 21:00:39 +00:00
clayton craft db857ff708 [linux-postmarketos] Update to 4.13.9 (#802) 2017-10-21 20:17:47 +00:00
clayton craft 98cf80d6ad [ofono] delete, in favor of Alpine upstream (#803)
Alpine accepted the 1) update to 1.21 and 2) the patch to fix initialization on the n900 (which will be in ofono 1.22)
2017-10-21 20:17:03 +00:00
Oliver Smith 8ba2964b64 Fix #800: Menuconfig didn't build dependencies (#801) 2017-10-21 14:34:43 +00:00
Oliver Smith 0da9e05fad
Update busybox-static-* to upstream (1.27.2-r2) 2017-10-21 15:54:19 +02:00
clayton craft 05b271d2e3 Fix #708: Detect existing pmOS install on sd card, show different warning(#766)
The method of 'install detection' used here is to look for a partition with pmOS_boot in the partition label. It's not a guarantee, but it works when FDE is enabled without having to unlock the partition to read files within it.
2017-10-21 00:33:58 +00:00
clayton craft e1cfbc4776 Fix #774: Don't create device-mapper mapping without subpartitions (#775)
This causes initramfs to skip calling 'kpartx' when pmOS has been
installed on an external disk (e.g. sdcard). Fixes mounting pmOS_boot
by label (#774).
2017-10-20 17:20:40 +00:00
Oliver Smith 3ba6f372b5
Update musl-* to upstream (1.1.17) 2017-10-20 16:22:17 +02:00
clayton craft e7dfe9b904 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739)
@drebrez deserves much credit for this one for all the testing,
bisecting and for fixing everything. Thank you very much!
---
* devices which need a custom weston.ini ship it with a install_if
  subpackage, so it only gets installed when weston is installed. This
  sounds complicated, but is actually pretty clean in the APKBUILD.
* postmarketos-ui-weston: has a weston.ini.default, which enables
  xwayland and uses fbdev as backend (because that's what most
  devices use!). It defaults to the weston.ini.default if there is no
  weston.ini (as installed by the device package).
* changed spaces to tabs for consistency, general minor refactoring of
  device-APKBUILDs
2017-10-20 00:07:00 +00:00
drebrez 8f93c13cfd Firmware packages: fix checksums, use commit in distfiles, general refactoring (#788) 2017-10-19 22:40:14 +00:00
clayton craft 9a9b7beb49 [linux-postmarketos] Update to 4.13.8 (#794) 2017-10-19 22:31:28 +00:00
clayton craft 7ab85bc4a5 Install dbus by default (#783)
Since we are starting it on boot, and wpa_supplicant is being run in 'dbus mode', it makes sense to have it installed by default.
2017-10-18 19:02:28 +00:00
Attila Szöllősi 576e21a04f [recovery-installer] Don't fail when reflashing after fail (#786) 2017-10-18 18:58:58 +00:00
Martijn Braam 87c794f925 Fix #790: pkgdesc for postmarketos-ui-xfce4 said it was GTK+3 already (#791) 2017-10-18 18:57:08 +00:00
Oliver Smith deeb81be0f Weston: log to syslog instead of /tmp/weston.log (#762)
Placing such files in /tmp/ is an unnecessary attack vector, as
@pavelmachek showed. All udev rules, which mentioned /tmp/weston.log
do not contain any path anymore.

Logs can be read with:
logread -f /var/log/messages | grep weston

See also: <https://wiki.alpinelinux.org/wiki/Syslog>
2017-10-17 20:38:47 +00:00
clayton craft caf6471902 [linux-postmarketos] Enable support for namespaces (#759)
See #693
2017-10-17 16:27:36 +00:00
drebrez 8be1439470 [huawei-y530] Add firmware-huawei-y530 package with wifi required files (#781) 2017-10-17 16:25:38 +00:00
Martijn Braam c6990d9e92 Fixed username in flasher output (#784) 2017-10-17 16:24:34 +00:00
Oliver Smith 92e55ae1cd pmbootstrap init: Show pkgdesc for each postmarketos-ui package (#763)
This way we could give the user a rough idea what will be installed,
and also use this to display a short warning about long compile times
(e.g. until the plasma mobile stuff is upstreamed).
2017-10-16 20:01:21 +00:00
Kevin Liu 34ac1c1538 Fix kconfig check exception, rename samsung_tuna -> samsung-tuna (#777)
The kconfig checker expects linux-$_flavor = $pkgname. Thus, just make it so.
2017-10-16 18:54:49 +00:00
zhenyolka 7e5c73c2e0 [lg l65 d285] fix laggy screen (#778) 2017-10-16 18:51:22 +00:00
Attila Szöllősi 9e99ff6f23 Package firmware-sony-amami (wifi firmware) and wcnss-wlan (#770) 2017-10-15 16:32:12 +00:00
Attila Szöllősi 477f4c9497 Add kernel updater script (#625) 2017-10-14 23:17:49 +00:00
Oliver Smith 2322bf5876 postmarketos-base-x11: Less dependencies (#720) 2017-10-14 23:14:19 +00:00
clayton craft de84ec61a4 Add osk-sdl as default luks unlock mechanism on boot (#476)
More information: <https://postmarketos.org/osk-port>
2017-10-14 18:10:12 +00:00
clayton craft 383e3c8ab8 [linux-postmarketos] Update to 4.13.7 (#772) 2017-10-14 17:01:39 +00:00
Davide Gessa f3052c2088 New device: samsung-i9003 (#729) 2017-10-14 16:20:48 +00:00
drebrez 9f4522069a [android-recovery-zip] Add missing apk keys (#747) 2017-10-14 15:41:12 +00:00
drebrez f00c857611 [htc-desire] Add configuration for osk-sdl (#765) 2017-10-14 09:51:47 +00:00
clayton craft 3d6e89bd69 [osk-sdl] Update to 0.50 (#764) 2017-10-14 09:50:09 +00:00
Pablo Castellano 9529fd3c53 Fix #757: titan: enable msm-fb-refresher (#767) 2017-10-14 09:49:00 +00:00
clayton craft 816cc9f625 Fix #588: Add chrony ntp client & timezone config (#674)
This adds chrony as the ntp client (starting on boot), and also adds a
prompt in the init step for configuring the timezone.
2017-10-13 19:18:24 +00:00
clayton craft 9f0c884188 Generating rootfs image is now 110% less scary (#758)
This adds a check to make sure there is enough disk space for creating the device image.
One of the two proposed improvements of #708.
2017-10-13 18:52:43 +00:00
Oliver Smith a13623bbfb Fix #754: abuild keys did not get copied (#755) 2017-10-12 22:01:59 +00:00
drebrez 7679c3c819 Delete broken symbolic links during `pmbootstrap zap --mismatch-bins` (#746) 2017-10-12 20:40:25 +00:00
montvid 00999546de asus-flo: rebase on 4.11.12 kernel upstream (#734)
*  Rebase on 4.11.12 kernel upstream

I took the relevant patches from https://git.linaro.org/people/john.stultz/flo.git/log/?h=flo-v4.11 and
compiled with upstream kernel.org 4.11.12 kernel. 4.12rc1 and later have not fixed yet problems
with freedreno gpu hanging. So we now have an upstream source for the kernel and John Stultz
patches separately. 
Set this to y as it does not seem to have problems in Alpine - CONFIG_HW_RANDOM_MSM=y
Enable USB OTG in kernel. I still need to find out how to enable it in Alpine.

* Use pkgver instead of hash and other changes
* Add dependencies for X11 and osk

Added pointercal. Added dependencies so Xfce would work out of the box. Made changes in
90-android-touch-dev.rules as they are needed for proper X11 touchscreen calibration.
2017-10-12 20:19:45 +00:00
clayton craft 9b8ad01d1e [linux-postmarketos] Update to 4.13.6 (#752) 2017-10-12 20:14:15 +00:00
Pablo Castellano b4dd7a89d2 Close #709: Improve user creation (#725)
* Allow to specify a custom username in "pmbootstrap init"
* Build chroots have "pmos" instead of "user" as username now
* Installation user UID is 1000 now (as in all other Linux distributions)
* Adjust autologins
* postmarketos-base: enable wheel group for sudo, removed previous sudoers file
* Implement safe upgrade path:
We save the version of the work folder format now, in $WORK/version.
When this file does not exist, it defaults to 0.
In case it does not match the currently required version
(pmb.config.work_version), then ask the user if it should
automatically be upgraded.
2017-10-12 20:08:10 +00:00
Oliver Smith 75210b5cb5
Version bump to 0.3.0 2017-10-12 22:02:13 +02:00
Pablo Castellano 5321fdf5e7 Update musl-* to upstream (#748) 2017-10-12 17:53:39 +02:00
Pablo Castellano e9dd7d65b3 linux-samsung-i9100: Bump pkgrel and explain change (follow up from #738) (#741) 2017-10-11 15:21:01 +00:00
Pavel Machek 0d4689481f Update Unicsy-demo to v0.4 (#743) 2017-10-11 15:18:53 +00:00
Oliver Smith 1285f74c5f Fix #731: Create symlinks for noarch-subpackages (#740)
* apkindex:
  * Also parse the architecture field
* symlink_noarch_package:
  * Renamed to symlink_noarch_packages
  * Always work on all packages (so we don't need to guess which
    subpackages have been generated after a certain build)
  * Get invoked when running 'pmbootstrap index'
  * Use 'apk index' to generate one index, where the architecture
    does not get rewritten (abuild does that by default, due to
    Alpine's repos not having a 'noarch' folder and diverging from
    that doesn't make things easier for us). That goes super fast,
    and then we know which packages are noarch packages and can
    create the symlinks.
* Made output less verbose:
  * Use -q for 'apk index' when calling it directly (when it gets
    called by abuild we can't control that)
  * Output that the APKINDEXes get reindexed only to the 'pmbootstrap
    log'.
2017-10-11 15:11:25 +00:00
Luca Weiss 0cc7869576 Fix #737: Disable ANDROID_PARANOID_NETWORK for all devices (#742)
* Disable ANDROID_PARANOID_NETWORK for all devices
* Add APKBUILD comments
* Bump pkgrels

This was done with a script, see:
<https://github.com/postmarketOS/pmbootstrap/pull/742#issuecomment-335608932>
2017-10-11 15:11:05 +00:00
Luca Weiss 1418c71247 Fix weston arguments (#736)
See "man 1 weston". Fixes dc28cbf.
2017-10-10 19:40:20 +00:00
Oliver Smith a44ddf2c05 postmarketos-ui-xfce4: depend on xorg-server (#721)
* postmarketos-ui-xfce4: depend on xorg-server
* Source archive must not contain pkgrel
2017-10-10 19:39:07 +00:00
bhuvi 4838bb1379 [samsung-i9100] Fix for non root users not able to access network #737 (#738)
Unset CONFIG_ANDROID_PARANOID_NETWORK as it is useful only on android systems.
2017-10-10 19:18:31 +00:00
clayton craft e7eace3dd3 Set swclock to use recent date/time on first boot (#723) 2017-10-09 19:10:28 +00:00
Pablo Castellano 42f88c2b32 Fix: crash when running running `zap -m` after `zap -p` (#726) 2017-10-09 19:03:07 +00:00