pmbootstrap/pmb
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
..
aportgen pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
build Support multiple architectures in `pmbootstrap menuconfig` command (#814) 2017-10-24 16:18:42 +00:00
challenge Fix #271: properly resolve symlinks in all paths (#329) 2017-08-15 14:08:48 +00:00
chroot Fix #818: Clean up updated repo list after zapping chroots (#867) 2017-11-04 02:43:06 +00:00
config Close #453: Support mesa-dri-virtio in Qemu (#861) 2017-11-05 13:48:49 +00:00
export Close #709: Improve user creation (#725) 2017-10-12 20:08:10 +00:00
flasher Add "flash_fastboot_vendor_id" deviceinfo variable for fastboot flash method (#857) 2017-11-03 23:20:55 +00:00
helpers Add argument to zap (-o) older versions of packages from all chroots (#841) 2017-11-02 17:33:14 +00:00
install Close #453: Support mesa-dri-virtio in Qemu (#861) 2017-11-05 13:48:49 +00:00
parse Close #453: Support mesa-dri-virtio in Qemu (#861) 2017-11-05 13:48:49 +00:00
qemu Close #453: Support mesa-dri-virtio in Qemu (#861) 2017-11-05 13:48:49 +00:00
__init__.py pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00