Samuel Dionne-Riel
45802604c9
boot/init: Always build with backtrace info
2022-10-21 16:53:05 -04:00
Samuel Dionne-Riel
2a4d4a71e1
Merge pull request #539 from samueldr-wip/feature/docs-support-level
...
docs: Add support level
2022-10-21 01:39:32 -04:00
Samuel Dionne-Riel
6eb701c10e
uefi-x86_64: Mark as supported (??!)
2022-10-21 01:37:29 -04:00
Samuel Dionne-Riel
1957173407
asus-dumo: Mark as best-effort
2022-10-21 01:37:02 -04:00
Samuel Dionne-Riel
f332135c85
pine64-pinephone: Mark as supported
2022-10-21 01:36:49 -04:00
Samuel Dionne-Riel
8b34419fc6
doc: Generate devices list with support-level
2022-10-21 01:36:34 -04:00
Samuel Dionne-Riel
8fedb1afa4
mobile-device: Add supportLevel config for docs
2022-10-21 01:36:14 -04:00
Samuel Dionne-Riel
d736329bb9
Merge pull request #522 from samueldr-wip/wip/installer
...
Mobile NixOS Guided Installer
2022-10-21 00:39:43 -04:00
Samuel Dionne-Riel
4c6cadc50e
pine64-pinephone: Add note about boot image
2022-10-21 00:21:57 -04:00
Samuel Dionne-Riel
5fd4c7a673
doc: Add generic snippet for boot image build
2022-10-21 00:21:27 -04:00
Samuel Dionne-Riel
fa4564d4c2
examples/installer: Fix maxJobs config name
2022-10-21 00:04:38 -04:00
Samuel Dionne-Riel
786647594e
examples/installer: Work around race with network data
...
I believe that what happened on that single spurious crash
trace (most recent call last):
[9] main.rb:11:in load
[8] /nix/store/3rz0mxranci93ps7fwb8a0w9zzn0wjxl-lib/lvgui/lvgui/__init.rb:131:in main_loop
[7] /nix/store/3rz0mxranci93ps7fwb8a0w9zzn0wjxl-lib/lvgui/lvgl/hacks.rb:92:in handle_tasks
[6] ./gui/status_icons.rb:103:in initialize
[5] ./gui/status_icons.rb:108:in update_text
[4] ./gui/status_icons.rb:27:in get_data
[3] ./gui/status_icons.rb:28:in get_data
[2] ./gui/status_icons.rb:69:in data_wifi
[1] ./lib/hardware/network.rb:129:in current_wifi
./lib/hardware/network.rb:133:in current_wifi: undefined method 'merge' (NoMethodError)
is that the wifi got disconnected "between" the `#wifi` and
`#wifi_list` calls.
Either that, or the network wasn't listed in the networks listing.
Anyway, the error is obviously there, let's ensure it won't happen
again.
2022-10-20 23:11:21 -04:00
Samuel Dionne-Riel
32d06a8850
examples/installer: Fix papercuts in wifi passphrase window
2022-10-20 22:10:29 -04:00
Samuel Dionne-Riel
2dd431c7a6
examples/installer: Begin working on locale info window...
...
... but not use it for now.
There's too many timezones, the user interface sucks here.
Let's re-think that later.
Furthermore, languages would be really hard to implement.
2022-10-20 21:53:07 -04:00
Samuel Dionne-Riel
5790eaf259
lvgui: Optimize option selection a bit
...
Don't needlessly rebuild it.
2022-10-20 21:52:47 -04:00
Samuel Dionne-Riel
9b81725b94
examples/installer: Drop torture test
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
26195eaea9
lvgui-native: Fix lv_task_create bindings
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
1043004412
examples/installer: Add stateVersion to generated config
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
133bbe159d
examples/installer: Minor fixes
...
- be quiet
- update comments
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
e97603a2dd
examples/installer: Enable zram in opinionated config
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
88d46a7886
examples/installer: Expand in the SD card
...
This will prevent builds from failing due to the rootfs filling-up.
There's not many builds that happen on the device, but it still may
happen otherwise.
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
a813b40a97
examples/installer: Fix bogus TerminalPuppet padding
...
Other fixes in layouting fixes made this padding unneeded.
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
9272089d48
examples/installer: Add a terminal test window for the simulator
...
Easier to test against than running the installer stuff locally.
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
e8291189fe
examples/installer: Fix wifi selection page with Font Awesome 5
...
The "radio button" icons weren't working as they did with v4... *sigh*
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
a438b65693
release.nix: Build installer for the pine64-pinephone
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
366774715e
pine64-pinephone: Expose installer link
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
3d069720f5
doc: Make outputs list configurable
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
4c8610afe0
pine64-pinephone: Update README for the installer
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
43f9e2e16d
doc: Update getting started with mention of the installer
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
8a2f8715d3
system-types/u-boot: Add Hydra build products to image
2022-10-20 20:43:27 -04:00
Samuel Dionne-Riel
bf78ef0ecf
image-builder/makeGPT: Add postProcess
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
abb07c7232
examples/installer: Add configuration name
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
07e98229e8
system-types/u-boot: Use configurationName in image name
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
55da340c25
modules/mobile: Add configurationName internal option
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
9353790f03
examples/installer: Improve wired networking icon
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
12c88475ae
examples/installer: Drop passphrase values when toggling FDE
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
155a87a1cf
examples/installer: Add information for the Pinephone Pro
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
383f3e5776
examples/installer: Copy channels when installing
...
This mirrors the default for the NixOS installer.
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
6f9412c782
examples/installer: Rewrite Nix wrapper in installer
...
This makes the code easier to grok, and dropping the quirky "build
everything twice" here also helps a lot with perfs.
See also what's coming next...
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
62657f9158
examples/installer: Expose installer scripts to the system
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
d240ec8b27
examples/installer: Drop json usage from installer script
...
It should be self-sufficient to point it to a config file.
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
04a59a81bb
examples/installer: Ensure wifi passphrase isn't a dead-end
...
This is important to improve the experience of the installer: always
have a clear "let's continue" option to follow. Backing out through the
few pages of network setup is plain rude.
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
0682a1063d
examples/installer: Revise how phone environment config is handled
...
The goal here is to ensure the configuration used will not deviate from
the examples system. This, in turn, ensures there is cache coverage for
the given Nixpkgs/Mobile NixOS eval pair.
In other word, if the `tested` jobset passes, we know the installer will
be able to use the cache.
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
696cd2368c
examples/installer: Build with zram
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
15b7d02ecf
examples/installer: Log installation to journald
...
Coupled with `adb`, this will make getting information a cinch!
A good dose of `journalctl -b0 --identifier installer` and BLAMMO you
know what the installer wrote *all the way*!
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
af2c9654cb
examples/installer: Pass through logging options with TerminalPuppet
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
77acbbfa3d
examples/installer: Allow logging to journald with tmux puppeteering
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
2cc4e198df
examples/installer: Don't leak passphrase in install log
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
e0d7acec34
examples/installer: Add channels to system
...
The installer relies on the angled-brackets syntax to refer to Nixpkgs
and the Mobile NixOS repositories.
2022-10-20 20:43:26 -04:00
Samuel Dionne-Riel
dd39fc3e24
examples/installer: Add missing tools to system
2022-10-20 20:43:26 -04:00