pmbootstrap/pmb/parse
Oliver Smith 1bf892f5eb
Close #453: Support mesa-dri-virtio in Qemu (#861)
The mesa driver, which ends up in the installation image, needs to be known
before the installation is done (in other words: when running the qemu action,
it is to late as the image has already been generated). That's why one can
choose the Qemu mesa driver in `pmbootstrap init` now:

```
Device [qemu-amd64]:
Which mesa driver do you prefer for your Qemu device? Only select something other
than the default if you are having graphical problems (such as glitches).
Mesa driver (dri-swrast/dri-virtio) [dri-virtio]:
```

It is still possible to select `dri-swrast`, because `dri-virtio` may not work
in all cases, and that way we could easily debug it or experiment with other
mesa drivers (e.g. the "vmware" one, which is supported by mesa and Qemu).

Other changes:
* `pmbootstrap qemu` accepts a `--display` variable now, which passes the value
  directly to `qemu`'s `display` option. It defaults to `sdl,gl=on` (@PureTryOut
  reported that to work best with plasma mobile on his PC). `--display` and
  `--spice` (which is still working) are mutually exclusive.
* Removed obsolete telnet port pass-through: We only use the debug telnet port
  since osk-sdl has been merged.
* Add show-cursor to the Qemu command line, so it shows a cursor in X11
* Refactored the spice code (`command_spice` only returns the spice command,
  because it has all necessary information already) and the spice port can be
  specified on the commandline now (previously it was hardcoded in one place and
  then always looked up from there).
* Start comments with capital letters.
* Keep the log on the screen a bit shorter (e.g. Qemu command is written to the
  "pmbootstrap log" anyway, so there's no need to display it again).
* linux-postmarketos-stable: Adjust kernel configs
x86_64, armhf: enable as modules:
CONFIG_DRM_VIRTIO_GPU, CONFIG_VIRTIO_PCI, CONFIG_VIRTIO_BALLOON
aarch64: all 3 options were already enabled as built-in (no change)
* Set '-vga virtio' for mesa-dri-virtio
2017-11-05 13:48:49 +00:00
..
__init__.py Close #554: kernel config checking (#589) 2017-09-18 21:36:54 +00:00
apkbuild.py Close #865: Check line endings in APKBUILDs (#868) 2017-11-04 16:12:33 +00:00
apkindex.py Fix #731: Create symlinks for noarch-subpackages (#740) 2017-10-11 15:11:25 +00:00
arch.py Add armv7l (armhf) as supported native arch. (#682) 2017-10-02 22:49:40 +00:00
arguments.py Close #453: Support mesa-dri-virtio in Qemu (#861) 2017-11-05 13:48:49 +00:00
binfmt_info.py Official support for aarch64 (#84) 2017-06-14 19:10:21 +02:00
depends.py Fix confusing error message for invalid makedepends (#540) 2017-09-19 19:51:43 +00:00
deviceinfo.py Close #327: Add initial setup.py (#443) 2017-09-02 19:30:40 +00:00
kconfig.py Close #554: kernel config checking (#589) 2017-09-18 21:36:54 +00:00
version.py Fix #342: don't use distutils.version.LooseVersion anymore (#364) 2017-08-12 14:03:40 +00:00