pmaports/device
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
..
device-amazon-thor New device: amazon-thor (KFHDX 3rd Gen) (#823) 2017-10-29 21:33:52 +00:00
device-asus-flo Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-asus-grouper Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-fairphone-fp2 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-htc-ace Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-htc-bravo Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-huawei-angler Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-huawei-y530 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-d285 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-d855 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-dory Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-hammerhead Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-lenok Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-lg-mako Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-motorola-osprey Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-motorola-titan Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-nokia-rx51 pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
device-oneplus-bacon Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-qemu-aarch64 Add linux-postmarketos-mainline aport (#799) 2017-10-23 20:15:32 +00:00
device-qemu-amd64 Various small xfce4/Hildon fixes (#792) 2017-10-24 16:16:58 +00:00
device-qemu-vexpress Add linux-postmarketos-mainline aport (#799) 2017-10-23 20:15:32 +00:00
device-samsung-i9003 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-samsung-i9070 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-samsung-i9100 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-samsung-i9305 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-samsung-maguro Some kernel APKBUILD cleanup (#833) 2017-10-28 19:43:28 +00:00
device-samsung-n7100 Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-sony-amami Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-sony-aries Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-sony-castor-windy sony-castor-windy: Various updates (#826) 2017-10-26 18:13:18 +00:00
device-sony-yuga Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
device-t2m-flame Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
linux-amazon-thor New device: amazon-thor (KFHDX 3rd Gen) (#823) 2017-10-29 21:33:52 +00:00
linux-asus-flo asus-flo: rebase on 4.11.12 kernel upstream (#734) 2017-10-12 20:19:45 +00:00
linux-asus-grouper Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-fairphone-fp2 kconfig_check: disable CONFIG_PFT (#830) 2017-10-27 20:41:44 +00:00
linux-htc-ace Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-htc-bravo Some kernel APKBUILD cleanup (#833) 2017-10-28 19:43:28 +00:00
linux-huawei-angler Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-huawei-y530 Fix #737: Disable ANDROID_PARANOID_NETWORK for all devices (#742) 2017-10-11 15:11:05 +00:00
linux-lg-d285 kconfig_check: disable CONFIG_PFT (#830) 2017-10-27 20:41:44 +00:00
linux-lg-d855 kconfig_check: disable CONFIG_PFT (#830) 2017-10-27 20:41:44 +00:00
linux-lg-dory Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-lg-hammerhead Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-lg-lenok Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-lg-mako Cleanup linux-lg-mako APKBUILD (#825) 2017-10-26 18:11:31 +00:00
linux-motorola-osprey Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-motorola-titan Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-oneplus-bacon Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-samsung-i9003 New device: samsung-i9003 (#729) 2017-10-14 16:20:48 +00:00
linux-samsung-i9070 Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-samsung-i9100 linux-samsung-i9100: Bump pkgrel and explain change (follow up from #738) (#741) 2017-10-11 15:21:01 +00:00
linux-samsung-i9305 Fix #737: Disable ANDROID_PARANOID_NETWORK for all devices (#742) 2017-10-11 15:11:05 +00:00
linux-samsung-maguro Some kernel APKBUILD cleanup (#833) 2017-10-28 19:43:28 +00:00
linux-samsung-n7100 Fix #737: Disable ANDROID_PARANOID_NETWORK for all devices (#742) 2017-10-11 15:11:05 +00:00
linux-sony-amami Fix #808: Add SYSVIPC kernel config check (#809) 2017-10-23 19:25:40 +00:00
linux-sony-aries Some kernel APKBUILD cleanup (#833) 2017-10-28 19:43:28 +00:00
linux-sony-castor-windy sony-castor-windy: Various updates (#826) 2017-10-26 18:13:18 +00:00
linux-sony-yuga Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
linux-t2m-flame Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00