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

1085 Commits

Author SHA1 Message Date
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
031a8f8b4b
Merge pull request #214 from samueldr-wip/device/asus-x018d/fix-boot-too-large
asus-x018d: Compress stage-1 with xz
2020-10-02 22:03:38 -04:00
Samuel Dionne-Riel
15c39820a0 asus-x018d: Compress stage-1 with xz 2020-10-02 21:52:42 -04:00
Samuel Dionne-Riel
481c6a93ea
Merge pull request #212 from samueldr-wip/feature/refreshed-kernel-builder
Review the kernel builder ergonomics
2020-10-02 21:52:24 -04:00
Samuel Dionne-Riel
36a99a3711 doc: Add kernel-builder documentation 2020-10-02 20:43:44 -04:00
Samuel Dionne-Riel
9210f716d3 overlay: Dropped now unused defaultKernelPatches 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
0143cecfa0 xiaomi-tissot: drop unused kernelPatches argument 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
6b2482578e xiaomi-lavender: drop unused kernelPatches argument 2020-10-02 19:49:12 -04:00
Samuel Dionne-Riel
7bff0070d9 xiaomi-begonia: drop unused kernelPatches argument 2020-10-02 19:49:11 -04:00
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