1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 13:31:36 +03:00
Commit Graph

867 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
350f8549cb asus-flo: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
879505199a asus-dumo: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5da15c36db system/qemu: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
64cf2ec076 system/u-boot: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
58e2a0709f system/depthcharge: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
d60f3a501b system/android: Fix for new kernel package option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
92324964d1 initrd-kernel: Add options for kernel package
We cannot use a "linuxPackagesFor" attrset due to older OEM kernels.
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
6f7567d0d6 mobile-device: Remove device.info 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
52ea0fb075 initrd: Cleanup accidental cruft from messy device info 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
c26105eabf release-tools: Eval using imports to get the file name
Instead of the following error message:

```
error: The option `mobile.device.info' defined in `<unknown-file>' does not exist.
(use '--show-trace' to show detailed location information)
```

We now get:

```
error: The option `mobile.device.info' defined in `.../mobile-nixos/devices/asus-z00t' does not exist.
(use '--show-trace' to show detailed location information)
```
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
a8ce7d0043 initrd-kernel: additional_modules -> additionalModules + document 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
86f850104c xiaomi-tissot: Fix build using new options
(and minor cleanup)
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
ab90426563 xiaomi-lavender: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
f9e0364e49 qemu-x86_64: cleanup device description 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
7d087b8028 pine64-pinephone-braveheart: cleanup 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
08f30c43a6 oneplus-oneplus3: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5ce9b7977d motorola-addison: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
9d039a300b google-walleye: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
16893c00f9 google-marlin: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
0c1a9d23f2 asus-z00t: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
5044aaeaef asus-flo: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
fa8fbd58de asus-dumo: Fix build using new options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
65bb1e8a35 system/android: Provide replacements for freeform device.info options 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
e125c6ab2f system/depthcharge: Provide option and fix build
The depthcharge build doesn't rely on the freeform option anymore.
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
a4358472b0 system/u-boot: Use NixOS boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
ed873e606c vendor: Provide an option for the vendor partition 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
45f9736fac usb: Provide proper gadgetfs functions option 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
114f545889 device: Add device.firmware to allow a device to provide firmware files 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
596a7891e4 device: Drop most of the messy "device.info" option
The last option will be cleaned up last.
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
8a5df088b9 system/u-boot: Use boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
2d0d5810cc system/qemu: Use boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
b928b20e2a system/depthcharge: Use boot.kernelParams
(and fix device_info.arch)
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
84906bb8e4 system/android: Use boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
ef141f83c2 devices: Drop kernel_cmdline in favour to boot.kernelParams 2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
a35863e641 devices: Use device identity 2020-05-23 18:13:02 -04:00
Samuel Dionne-Riel
ab35b1bf4c devices: Add device identity option 2020-05-23 17:28:36 -04:00
Samuel Dionne-Riel
4396ee43ee devices: Use new device identity options 2020-05-23 17:27:57 -04:00
Samuel Dionne-Riel
4408bc2ead devices: Drop unused device information
This is the first step in actually dropping all device information.
2020-05-23 17:10:54 -04:00
Samuel Dionne-Riel
1442bcba8b system/android: Review recovery build
Instead of borrowing some of its system.build products, rely instead on
a full system.build for the recovery.img.

This allows us to better make use of the implicit declarativeness of the
system configuration. At some point the recovery "system" will be moved
out of that file and things will continue to work.
2020-05-23 15:59:43 -04:00
Samuel Dionne-Riel
8cb9b07be2
Merge pull request #151 from samueldr-wip/fix/leftover-container-hack
initrd: Remove leftover hack from when isContainer was used
2020-05-23 15:21:16 -04:00
Samuel Dionne-Riel
f71dbbb804
Merge pull request #148 from samueldr-wip/feature/families
Document and fixup the "taxonomy"
2020-05-23 15:20:58 -04:00
Samuel Dionne-Riel
15d3f1fdbb initrd: Remove leftover hack from when isContainer was used 2020-05-23 01:58:26 -04:00
Samuel Dionne-Riel
dcbda16fc5 system-types: Rename kernel-initrd -> qemu-startscript
In addition, put the implementation of the build side-by-side with the
system type definition. It made no sense to keep those where they were,
as it was baggage from the earlier implementation of the project.
2020-05-15 16:10:43 -04:00
Samuel Dionne-Riel
b1870eb331 modules: Move depthcharge build implementation into its system type
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.

This is a *part* of depthcharge system type, so why stuff it into `system`
at the root??
2020-05-15 15:53:28 -04:00
Samuel Dionne-Riel
e7b68c834a modules: Move bootimg into its system type
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.

This is a *part* of android system types, so why stuff it into `system`
at the root??
2020-05-15 15:49:38 -04:00
Samuel Dionne-Riel
f019d84c88 modules: Move rootfs into the modules hierarchy
It didn't make sense to stuff that into systems anyway, it's baggage
from the first steps of making Mobile NixOS.
2020-05-15 15:49:15 -04:00
Samuel Dionne-Riel
10f38adb09 doc: Document devices, families, platforms and systems 2020-05-14 17:22:28 -04:00
Samuel Dionne-Riel
5ba8fea8b8 families: Create empty directory with docs link
This is a bit of a premature optimization, as we don't have a family
to implement and validate _just yet_, but we're still making the
structure ready as both `asus-dumo` and `google-taimen` are subject to
receive family members as soon as someone can test them.
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