pmaports/device/device-nokia-rx51
Oliver Smith b786a5a157 pmbootstrap init: Wizard for new port device- and linux-packages (#821)
* pmbootstrap init: Generate new port device- and linux-package
* adds `pmbootstrap aportgen device-*` and
  `pmbootstrap aportgen linux-*`
* ask for confirmation when selecting a non-existing device
* generate the packages directly from init
* refactor aportgen code
* fixed some easy things in the linux- APKBUILD (more to come in
  follow-up PRs!)

Testing:
* Test all questions to the user from pmb.config.init and pmb.aportgen.device
  (except for the timezone question, because we would need to monkeypatch the
  os.path.exists() function, which messes up pytest, so we'd need to refactor
  the timezone function to be more testsuite friendly first)
* Run the device wizard in a testcase a few times and check the output, that
  pmbootstrap.aportgen.device and pmbootstrap.aportgen.linux create by parsing
  the resulting APKBUILDs and deviceinfo and checking its contents.
* Build the generated device package once in the same testcase

Thanks a lot to @drebrez for all the help with this one:
<https://github.com/postmarketOS/pmbootstrap/pull/821>

See also the updated porting guide:
<https://wiki.postmarketos.org/wiki/Porting_to_a_new_device>
2017-10-30 19:56:38 +00:00
..
keymaps Add setting for device keymap for devices with keymaps (#379) 2017-08-19 21:40:20 +00:00
udev [rx51] Update udev rules for proper detection of modem in ofono (#636) 2017-09-27 17:18:09 +00:00
acpi.map Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
acpi_handler.sh Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
APKBUILD pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
asound.state Provide default mixer configuration, so sound works by default. (#702) 2017-10-07 16:19:19 +00:00
backlight-enable.sh Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
device-nokia-rx51.post-install postmarketos-base: Write /boot to /etc/fstab (#653) 2017-09-30 21:52:33 +00:00
deviceinfo pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
pointercal Add device-specific configs for osk-sdl (#615) 2017-09-23 01:05:54 +00:00
uboot-script.cmd Feature/rx51 ofono (#567) 2017-09-13 19:20:46 +00:00
weston.ini Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00