pmaports/main
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
..
0xffff Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
abootimg aports: packaged abootimg (fixes #135) (#539) 2017-09-10 10:18:31 +00:00
chocolate-doom aports: clean up APKBUILD for unicsy-demo, sdl_net, and chocolate-doom (#664) 2017-10-02 20:47:26 +00:00
dtbtool Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
extract-dtb extract-dtb: update to v1.1 (#431) 2017-08-21 15:06:44 +00:00
heimdall Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
hello-world Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
hello-world-wrapper Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
kmscube aports: add kmscube for testing kernel modesetting (#724) 2017-10-09 19:00:35 +00:00
libsamsung-ipc Add libsamsung-ipc to device-samsung-i9100 (#564) 2017-09-14 18:18:12 +00:00
libsparse Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
linux-postmarketos-mainline [linux-postmarketos-mainline] Avoid name conflict when downloading patches (#817) 2017-10-24 16:41:33 +00:00
linux-postmarketos-stable Add linux-postmarketos-mainline aport (#799) 2017-10-23 20:15:32 +00:00
mkbootimg Initial support for mozilla flame (#356) 2017-08-09 20:57:52 +00:00
msm-fb-refresher Add msm-fb-refresher package and initfs config (#587) 2017-09-18 19:17:30 +00:00
osk-sdl [osk-sdl] Update to 0.50 (#764) 2017-10-14 09:50:09 +00:00
postmarketos-android-recovery-installer [recovery-installer] Don't fail when reflashing after fail (#786) 2017-10-18 18:58:58 +00:00
postmarketos-base Install dbus by default (#783) 2017-10-18 19:02:28 +00:00
postmarketos-demos Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
postmarketos-mkinitfs Implement cache for initramfs-extra (#796) 2017-10-22 21:00:39 +00:00
postmarketos-mkinitfs-hook-usb-shell Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
postmarketos-splash Fix #436: Clean apkbuilds (#692) 2017-10-04 15:05:00 +00:00
postmarketos-ui-hildon Various small xfce4/Hildon fixes (#792) 2017-10-24 16:16:58 +00:00
postmarketos-ui-weston Fix #499: Don't generate weston.ini from the deviceinfo anymore (#739) 2017-10-20 00:07:00 +00:00
postmarketos-ui-xfce4 Various small xfce4/Hildon fixes (#792) 2017-10-24 16:16:58 +00:00
postmarketos-update-kernel pmbootstrap init: Wizard for new port device- and linux-packages (#821) 2017-10-30 19:56:38 +00:00
sdl_net aports: clean up APKBUILD for unicsy-demo, sdl_net, and chocolate-doom (#664) 2017-10-02 20:47:26 +00:00
unicsy-demo Update Unicsy-demo to v0.4 (#743) 2017-10-11 15:18:53 +00:00
unpackbootimg Close #194: Aports subfolders! See migration guide in the wiki (#227) 2017-07-28 22:34:40 +00:00
wcnss-wlan [huawei-y530] Add firmware-huawei-y530 package with wifi required files (#781) 2017-10-17 16:25:38 +00:00
weston Fix #199: Run weston with user instead of root (#707) 2017-10-07 16:14:49 +00:00