pmbootstrap/pmb/parse
Minecrell f536fd9cb9
pmb.qemu: use current device instead of requiring --arch (!1886)
When using pmbootstrap, you usually select the device you want to work
on using 'pmbootstrap init', generate the rootfs and can then run more
commands in the context of the device.

The same needs to be done before using QEMU (to generate the rootfs).
But for some reason 'pmbootstrap qemu' requires setting the --arch
parameter when running QEMU for a foreign architecture, even when the
device is still selected in pmbootstrap.

Even more confusing is that setting "--arch arm" always selects
device-qemu-vexpress, but this is not immediately clear from the name.

Let's make this a lot more intuitive by making sure there is a QEMU
device selected when running 'pmbootstrap qemu'. We can then use the
device information to infer the architecture automatically.
2020-03-14 08:05:32 +01:00
..
__init__.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
_apkbuild.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
apkindex.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
arch.py pmb.qemu: use current device instead of requiring --arch (!1886) 2020-03-14 08:05:32 +01:00
arguments.py pmb.qemu: use current device instead of requiring --arch (!1886) 2020-03-14 08:05:32 +01:00
binfmt_info.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
bootimg.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
depends.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
deviceinfo.py pmb: replace deviceinfo_date with deviceinfo_year, add to wizard (!1888) 2020-03-14 00:33:22 +01:00
kconfig.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00
version.py Cosmetic: use SPDX license header (!1877) 2020-02-24 03:11:10 +03:00