Commit Graph

610 Commits

Author SHA1 Message Date
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
zhuowei 94270a4fa5 aports: add kmscube for testing kernel modesetting (#724)
kmscube is a command line utility for testing KMS-capable GPU drivers,
which may be useful for validating DRM rendering and OpenGL ES acceleration
capabilities required by accelerated Weston/KWin on supported devices.
2017-10-09 19:00:35 +00:00
Oliver Smith 7455717e60 Fix #681: gnome-menus2 didn't compile for aarch64 (#698) 2017-10-09 16:38:32 +00:00
Pablo Castellano c2a1a4f1ed qemu-user-static-repack: fix download url (#728) (#730) 2017-10-09 15:33:56 +02:00
drebrez 4db9a1253e Add mkfs.ext2 and mkfs.ext4 binaries to the android-recovery-installer (#684) 2017-10-07 18:36:23 +00:00
Attila Szöllősi 33471255d2 Device motorola-osprey (#714) 2017-10-07 17:55:55 +00:00
zhenyolka 95e12f347c Added [lg-d285] (#694)
* Added [lg-d285]

* Added [device-lg-d285

* Added [device-lg-d285

* Added [device-lg-d285]

* Edit checksums

* Update APKBUILD

* Update APKBUILD
2017-10-07 19:23:58 +02:00
Larvitar 9605fce44f Fix htc-ace touchscreen + weston demo app (#715) 2017-10-07 16:29:37 +00:00
Pavel Machek ff1b96a8cc Add postmarketos-ui-xfce4 with touchscreen-optimized config (#695) 2017-10-07 16:27:42 +00:00
Pavel Machek 000abee768 Provide default mixer configuration, so sound works by default. (#702)
Sound level is set to 80%, because of rumors that the speakers
could be damaged otherwise. Details in:
https://github.com/postmarketOS/pmbootstrap/pull/702
2017-10-07 16:19:19 +00:00
drebrez dc28cbf90b Fix #199: Run weston with user instead of root (#707) 2017-10-07 16:14:49 +00:00
Oliver Smith cb09476139 Fix #710: linux-postmarketos: use "olddefconfig" (#712) 2017-10-06 18:45:47 +00:00
Oliver Smith 2e3ade3c9d Package postmarketos-ui-hildon (#649) 2017-10-06 18:34:51 +00:00
Oliver Smith c10dc03eb8 Automatically install X11 and mesa dependencies (using install_if) (#696)
* device-qemu-amd64: subpackages for x11 and mesa
* postmarketos-base: add x11 subpackage
2017-10-06 18:19:47 +00:00
clayton craft 71a244fca6 [ofono] update to 1.21 (#705)
This release (1.21) includes 3 patches upstreamed earlier. The 4th patch didn't make the cutoff, but has just been merged so it'll be in 1.22
2017-10-05 20:28:46 +00:00
clayton craft 6fc9265433 [linux-postmarketos] Update to 4.13.5 (#704) 2017-10-05 20:23:00 +00:00
Oliver Smith 29e1567813 Add grsec notice to README.md (see #107) (#697) 2017-10-04 18:17:22 +00:00
Martijn Braam 8ac425c21a Removed a lot of hardcoded modules in mkinitramfs (#691)
This removes a few globs from the mkinitramfs module copy part. This is an issue
in linux-postmarketos since it will copy gpu drivers for all possible hardware to the
initramfs.

This should be done in the deviceinfo variables for the modules instead and is
already done for the current devices that use module loading. This changes the
initramfs (uncompressed) from 16 MB to 11 MB just because the qemu graphics
drivers aren't included.
2017-10-04 18:16:31 +00:00
joris dd515ce395 Porting to samsung-i9305 (Galaxy SIII LTE) (#690) 2017-10-04 17:20:17 +00:00
Oliver Smith 792192a821 Fix #633: start postmarketos-demos with weston (#648)
* Remove udev trigger/settle, because we start it properly now
* Try for 10 seconds to start postmarketos-demos, wait 0.5s after each try
2017-10-04 15:28:39 +00:00
Pablo Castellano 3fb17225f6 Fix #436: Clean apkbuilds (#692)
* Remove empty build() functions
* Remove obsolete '|| return 1' statements
2017-10-04 15:05:00 +00:00
Pablo Castellano 7a519a911e Fix: cannot run 'pmbootstrap config' when specified device doesn't exist (#689) 2017-10-03 18:37:50 +00:00
Pavel Machek 4db27a2d91 Fix #669: Only do useradd via Python, properly install /etc/skel defaults (#685) 2017-10-03 18:10:28 +00:00
clayton craft 979be095aa [osk-sdl] update to 0.49 (#641) 2017-10-03 17:33:29 +00:00
clayton craft 2e71e336f9 Remove SDL2 package from aports (#640)
Now that SDL2 2.0.6 is out and updated in Alpine, there's no reason for
us to keep this package around, at least from an osk-sdl perspective!
2017-10-03 17:31:07 +00:00
clayton craft b371755089 Remove directfb from aports (#686) 2017-10-03 17:30:04 +00:00
clayton craft 5df4d2aa79 Remove tslib from aports (#687) 2017-10-03 17:29:10 +00:00
clayton craft d45c7d2d84 Add armv7l (armhf) as supported native arch. (#682) 2017-10-02 22:49:40 +00:00
clayton craft 2587e430ed Fix console blanking (#676)
So I was wrong.. /etc/issue needs to contain the escape sequence output
by setterm,  not the actual call to setterm itself. My previous testing
of this was faulty, which led me to believe the previous implementation
of this would work.
2017-10-02 22:41:19 +00:00
drebrez ce2fd6262e Fix postmarketos-splash version detection during generation of splash screens (#668) 2017-10-02 22:39:09 +00:00
drebrez 535dba0964 [huawei-y530] Add dev_touchscreen variable in deviceinfo (#667) 2017-10-02 22:37:38 +00:00
clayton craft 4204a86992 Fix #673: Only load loop module if it is not already loaded in the kernel (#675)
This checks for /sys/modules/loop before modprobing the loop module. My
understanding is that if this module is built into the kernel, that this
directory is still created. For a kernel without loop built in,
losetup.py will try to load the module using modprobe.
2017-10-02 21:53:01 +00:00
zhuowei ec77bdb1d3 aports: clean up APKBUILD for unicsy-demo, sdl_net, and chocolate-doom (#664)
* aports: unicsy-demo: pure Python program should have noarch set

Per https://wiki.alpinelinux.org/wiki/APKBUILD_examples:Python#arch,
pure Python programs should be marked as noarch in the APKBUILD instead
of all.

* aports: sdl_net: fix build on aarch64

The version of config.guess and config.sub predate aarch64, so
./configure errors out with instructions to update them.
Add a prepare section in APKBUILD to do this.

* aports: sdl_net+chocolate-doom: pass CHOST and CBUILD to configure

Other Alpine packages pass these options in to aid cross compling; for
example, the template APKBUILD from
https://github.com/alpinelinux/abuild/blob/master/newapkbuild.in#L43
uses them. Add them to chocolate-doom and sdl_net.
2017-10-02 20:47:26 +00:00