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

1076 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
61b0145f14 sony-pioneer: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
70e7259cdc pine64-pinephone-braveheart: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f17c31ece1 oneplus-oneplus3: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
86d08e3da2 motorola-addison: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
dde7cd4961 google-walleye: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
c3037f6bf7 google-marlin: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
a3e2bfc00b asus-z00t: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
53b4c5ccd4 asus-x018d: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f95f5f2df8 asus-flo: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
5deb826577 asus-dumo: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
ff49550c7b xiaomi-tissot: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
9356bbd9aa xiaomi-lavender: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
0b9b59776c xiaomi-begonia: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
b4e30da9e5 sony-pioneer: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
52f48851bf pine64-pinephone-braveheart: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
3c07e7f687 oneplus-oneplus3: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
ccd3a542fc motorola-addison: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
802c0fbb50 google-walleye: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
f01f499a02 google-marlin: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
7dc514e8ce asus-z00t: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
c15684ddca asus-x018d: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
8f59c5b441 asus-flo: Update usage of kernel builder 2020-10-02 19:49:11 -04:00
Samuel Dionne-Riel
47f6fc05b0 asus-dumo: Update usage of kernel builder 2020-10-02 19:06:02 -04:00
Samuel Dionne-Riel
e8cd8a95cc kernel-builder: minor fixups 2020-10-02 19:06:02 -04:00
Samuel Dionne-Riel
9bac03b2f3 kernel-builder: Encapsulate compressed images and dtb appended images 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
1889893a43 kernel-builder: implement QCDT configuration in the builder 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
62fe1409c6 kernel-builder: Rework its ergonomics 2020-10-02 03:27:49 -04:00
Samuel Dionne-Riel
ffdba8fecb
Merge pull request #210 from samueldr-wip/fix/204-fallout
Fix fallout from #204
2020-09-30 14:30:23 -04:00
Samuel Dionne-Riel
b4ff3a5fd1 asus-x018d: Pass postPatch and nativeBuildInputs as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
0edef3a2c4 asus-z00t: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
72fad2346a google-marlin: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4443108073 google-walleye: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
302ffc43ee motorola-addison: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
32381fdc9c oneplus-oneplus3: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
7337fbc8e1 sony-pioneer: Clean kernel derivation 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
ad24812595 xiaomi-begonia: Pass postPatch as argument rather than override 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
63b1643a0d xiaomi-lavender: Clean kernel derivation 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
b3f4390b1e xiaomi-tissot: Clean kernel derivation 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
387ce84721 kernel-builder: Add nativeBuildInputs as a parameter
This is a temporary measure. The last changes have proven that we can't
just overrideAttrs things willy-nilly like that, and that the whole
builder is in need of a revamp.

Let's wait for the revamp, and do the minimum work required to fix the
normalization for existing builds.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
c360820473 asus-flo: Fix build problem with postPatch 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
7f42b44a5c pine64-pinephone-braveheart: Normalize kernel configuration 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
0664076988 asus-dumo: Normalize kernel configuration 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
bbc73e40ed bin/menuconfig: Normalize after updating the kernel config
This is needed because the build environment differs in the kernel
normalization step compared to the build step.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
a2ef48313e bin/kernel-normalize-config: Use the kernel normalization build 2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
4060dd5af5 kernel-builder: Implement kernel normalization as a nix build
This uses the actual output expected by the build, rather than hoping
menuconfig gives the same result.

For kernels prior to 5.8 it wasn't an issue.

Starting with 5.8 the build environment will influence the actual
configuration used.

We're stripping some information when comparing.

The exact TEXT_VERSION string will change according to whether it's a
native or cross compilation.

Finally, minor version bumps are not relevant here.
2020-09-30 02:11:47 -04:00
Samuel Dionne-Riel
c708340e8e kernel-builder: Fix correctness with makeFlags and menuconfig 2020-09-29 20:46:14 -04:00
Samuel Dionne-Riel
5b14ef0650 kernel-builder: Prepend diff on normalization error 2020-09-29 20:40:20 -04:00
Samuel Dionne-Riel
bfac9ff7ae gitignore: Ignore old config files 2020-09-29 20:15:53 -04:00
Samuel Dionne-Riel
afdc907800
Merge pull request #209 from samueldr-wip/fix/docs-regression
Fix docs regression, and removes workarounds
2020-09-29 17:52:16 -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