b786a5a157
* 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>
24 lines
817 B
Text
24 lines
817 B
Text
# Reference: <https://postmarketos.org/deviceinfo>
|
|
# Please use double quotes only. You can source this file in shell scripts.
|
|
|
|
deviceinfo_format_version="0"
|
|
deviceinfo_name="Nokia N900"
|
|
deviceinfo_manufacturer="Nokia"
|
|
deviceinfo_date=""
|
|
deviceinfo_keyboard="true"
|
|
deviceinfo_keymaps="us/rx51_us"
|
|
deviceinfo_nonfree="????"
|
|
deviceinfo_dtb="omap3-n900"
|
|
deviceinfo_modules_initfs="tsc2005 tsc200x-core omap_wdt twl4030_wdt omap-sham"
|
|
deviceinfo_external_disk="true"
|
|
deviceinfo_external_disk_install="true"
|
|
deviceinfo_flash_methods="0xffff"
|
|
deviceinfo_generate_legacy_uboot_initfs="true"
|
|
deviceinfo_arch="armhf"
|
|
deviceinfo_dev_touchscreen="/dev/input/event3"
|
|
deviceinfo_dev_keyboard="/dev/input/event1"
|
|
deviceinfo_swap_size_recommended="1024"
|
|
|
|
# Splash screen
|
|
deviceinfo_screen_width="800"
|
|
deviceinfo_screen_height="480"
|