1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 13:10:29 +03:00
Commit Graph

80 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
479f431883 doc: List stage-0 support on the device page
The support is according to the default device configuration. For now
this means the kernel version, but a device can also configure it as
needed.
2020-12-27 17:50:30 -05:00
Samuel Dionne-Riel
00f81fa95c boot/init: Handle hung tasks
The way we're handling them is to have a global timer that is reset at
any point a task is ran.

This gives a maximum amount of chances to any task to have its
dependencies resolve.

A minimum of 60s is given, but in reality the chances are the conditions
for trying to resolve were already present before the timeout started
counting towards that particular dependency.

Note that a long running task, when successfully ran, does not cause the
timeout to be reached.

E.g. at 10s of timeout a task is started, the loop is not executed until
the task exits. When it exits the branch followed is for a task that
ran, which means that even if the task took 70s total (which gives us 80
seconds) a timeout of 60s wouldn't apply here.

Though, please, don't make your tasks take that much time to run!
2020-11-07 20:13:31 -05:00
Samuel Dionne-Riel
fb4984cb90 s/boot-gui/boot-recovery-menu/g
The applet is specifically written to show what we call the "recovery
menu". Yes, it's also the boot selection, but it will get confusing with
the upcoming boot tracking splash UI that's upcoming.
2020-10-27 15:23:40 -04:00
Samuel Dionne-Riel
0dc9f84afc kernel-builder: Work around kernels getting compiled two times
It looks like this is not a regression from the latest changes to the
kernel builder. Testing on top of ffdba8fecb
exhibits the same issue.

This change works around the issue by doing it with one invocation of
`make`, rather than doing it twice.

It has not been figured out at which exact version of the kernel this
stops being an issue, and if it is an issue from mainline Linux
outright, or something that came from Android-specific modifications.

Though it has been verified that for 3.18, both Qualcomm and Mediatek
source trees exhibit the same issue.

Fixes #216
2020-10-04 01:10:27 -04:00
Samuel Dionne-Riel
36a99a3711 doc: Add kernel-builder documentation 2020-10-02 20:43:44 -04:00
Samuel Dionne-Riel
bfd44cf05f doc: Handle eval issues coming from "default" values
"default" values in Nixpkgs manual can *somehow* be escaped by the
documentation back to their original string form.

The following ends up escaped into the manual as `"${pkgs.hello}"`.

```
default = "${pkgs.hello}";
```

The methods for this magic have not been found.

Instead, we just change the default strict `handleEvalIssue` so that it
does absolutely nothing and lets them through.

Anyway we won't be building them.
2020-09-29 17:31:18 -04:00
Samuel Dionne-Riel
3abeff8474 doc/pkgs.nix: Use <nixpkgs> rather than hardcoded channel 2020-09-29 17:30:40 -04:00
Samuel Dionne-Riel
3baf77089e doc: Workaround new failure on unstable
Actual work should be done to figure out why those `default = pkgs.___`
cause issues *only* with our docs generation, and don't fail the NixOS
channels :/
2020-07-07 17:22:12 -04:00
Samuel Dionne-Riel
fe9a6ad93e doc: Fix 404 in in-depth devices doc 2020-06-18 17:30:03 -04:00
Samuel Dionne-Riel
10f38adb09 doc: Document devices, families, platforms and systems 2020-05-14 17:22:28 -04:00
Samuel Dionne-Riel
ffb915de2e doc: Copy svg files, too, but not source svg files 2020-05-14 17:10:34 -04:00
Samuel Dionne-Riel
c266d96b7a doc: Add styles for footnotes 2020-05-14 17:10:19 -04:00
Samuel Dionne-Riel
78ac52af46 doc: Add styles for some utility image classes 2020-05-14 17:10:00 -04:00
Samuel Dionne-Riel
f3783bba8e Remove attempt at fixing spacing with inline code
It's only causing issues. It's not that big of a deal.
2020-05-06 02:25:00 -04:00
Samuel Dionne-Riel
446eec1fd5 doc: Fix weirdness with inline code first on newlines 2020-05-06 01:33:27 -04:00
Samuel Dionne-Riel
232053d4cd doc: Fix article without image 2020-05-06 01:33:01 -04:00
Samuel Dionne-Riel
a27fc719cf doc: Fix README build 2020-05-04 21:47:27 -04:00
Samuel Dionne-Riel
6d327eec53 doc: Fix multi-paragraphs admonitions 2020-05-04 19:44:30 -04:00
Samuel Dionne-Riel
080cd06c21 doc: Add about page 2020-05-04 19:29:31 -04:00
Samuel Dionne-Riel
d65177ae2f doc: Fix for nested lists 2020-05-04 19:28:41 -04:00
Samuel Dionne-Riel
6ca5e5b649 doc: Add link to contributing guide in getting started 2020-04-29 18:02:34 -04:00
Samuel Dionne-Riel
39861a335e doc: Add a contributing document 2020-04-29 18:02:34 -04:00
Samuel Dionne-Riel
8d1ee27e14 doc: Document importing Mobile NixOS in your configuration.nix 2020-04-07 15:01:25 -04:00
Samuel Dionne-Riel
c298ad12c9 doc: Add notes about revisions in Getting Started 2020-04-06 19:58:16 -04:00
Samuel Dionne-Riel
297f4538e9 doc: Re-do commands in getting started 2020-04-06 19:58:02 -04:00
Samuel Dionne-Riel
5bac890028 doc: Add missing language to fenced code blocks 2020-04-06 19:57:40 -04:00
Samuel Dionne-Riel
65e91c5701 doc: Add link to README in resources 2020-04-06 19:57:23 -04:00
Samuel Dionne-Riel
b9c9e1c781 doc: Add a basic theme for rouge
Inspired by my colour scheme.
2020-04-06 19:51:49 -04:00
Samuel Dionne-Riel
3cec71790e doc: Use rouge 2020-04-06 19:51:26 -04:00
Samuel Dionne-Riel
072562d770 doc: Add rouge to the converter gems 2020-04-06 19:34:11 -04:00
Samuel Dionne-Riel
50ab717ccb doc: Add "Resources" section, a top-level section
This replaces the embryonic "Porting Guide" link from the top menu, and
the new page links back to it.

This, in turn, allows us to make more resources easily accessible in a
curated page, rather than hoping users will use the Site Map.
2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
40140b677b doc: Add options list link to Getting Started 2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
1f63ca03f8 doc: Add the options to the docs build 2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
bed68b4e50 doc: Generate the options listing 2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
a68bf86f87 doc: Fix <dl><dt><dd> styles for options listing 2020-04-06 18:32:45 -04:00
Samuel Dionne-Riel
bbbcbf4b8f doc: Add note about using NixOS options 2020-04-06 14:50:57 -04:00
Samuel Dionne-Riel
3dc77771e5 doc: Add note about using a pre-build rootfs 2020-04-06 14:50:05 -04:00
Samuel Dionne-Riel
94a9bde0f2 doc: Remove system-specific from Getting Started 2020-04-05 18:07:01 -04:00
Samuel Dionne-Riel
8f09f86057 doc: Fix side-bar background 2020-04-04 20:30:47 -04:00
Samuel Dionne-Riel
edaa1ee675 doc: Add Hydra build output URL to devices 2020-04-04 20:30:36 -04:00
Samuel Dionne-Riel
05d2983a59 doc: Add support for system-specific notes
Using Erb they are templated.
2020-04-04 20:30:12 -04:00
Samuel Dionne-Riel
96b82fc9f1 doc: Generate the device-specific docs via a script
Rather than use ugly nix-templated bash.
2020-04-04 17:01:24 -04:00
Samuel Dionne-Riel
81b0e737c1 doc: Add architecture to the device pages 2020-04-04 15:19:44 -04:00
Samuel Dionne-Riel
b503267c8e doc: Remove custom eval, rely on true release eval for devices 2020-04-04 15:19:44 -04:00
Samuel Dionne-Riel
ae2be46466 doc: Rework the devices table
Put the identifier first, since this is what they're sorted on.

Then, put Manufacturer and Name in their own column.
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
5a91f406f8 doc: Fix header detection for device-specific notes 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
ec34156376 doc: Use the full name for the device 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
86065c8d96 doc: Build a per-device page 2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
df373d7d23 doc: Build a table for devices
Still linking to the GitHub pages, but still a step forward.
2020-04-04 00:26:41 -04:00
Samuel Dionne-Riel
fc5d5f0bbd doc: Add styles for the devices table 2020-04-04 00:26:41 -04:00