pmaports w/ reMarkable 1 packages
Find a file
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
cross Fix: #842: qemu-user-static-repack download URL didn't work (#844) 2017-10-29 14:00:02 +00:00
device pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
firmware Firmware packages: fix checksums, use commit in distfiles, general refactoring (#788) 2017-10-19 22:40:14 +00:00
kde Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
maemo Fix #681: gnome-menus2 didn't compile for aarch64 (#698) 2017-10-09 16:38:32 +00:00
main pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00