Samuel Dionne-Riel
3487b77503
fix build failure by providing kernel filename to internal NixOS option
...
The update from 29a10085f3
caused the
uncompressed kernel to not be installed anymore into the kernel output.
This meant that building the top-level argument failed as a file assumed
to exist wasn't there anymore.
We now provide the appropriate filename when we know it.
2020-12-31 16:21:38 -05:00
Samuel Dionne-Riel
798ae8526a
initrd-kernel: only build kernel into derivation when relevant
...
If stage-0 is not supported, default to not bundling a kernel into the
derivation.
This way, no useless builds of the kernels only to rebuild.
2020-12-29 17:59:09 -05:00
Samuel Dionne-Riel
e533ce8864
modules: Make kernel package nullable
...
This is to use the value in the documentation.
2020-12-27 17:50:30 -05:00
Samuel Dionne-Riel
c72fd544e8
initrd-kernel: Disable some NixOS verifications
...
Not great to outright disable, but we're not always using compatible
kernels :/.
2020-12-27 17:50:30 -05:00
Samuel Dionne-Riel
648eb09448
initrd-kernel: Allow disabling kernel for shared rootfs
2020-12-27 17:50:30 -05:00
JK
80412b7395
fix spelling
2020-10-13 16:23:24 -05:00
Samuel Dionne-Riel
a361e8e964
initrd: Provide firmwares through the specific option
...
The upstream NixOS make-initrd doesn't handle multiple content linking
to the same location.
2020-07-06 00:18:47 -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
a8ce7d0043
initrd-kernel: additional_modules -> additionalModules + document
2020-05-24 20:13:07 -04:00
Samuel Dionne-Riel
fad472bd06
initrd: Removes dead code from initrd-kernel
...
This already is part of boot/init
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
b5e3397783
(broken) removes initrd-order
...
This allows my staging area to become a bit cleaner.
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
fbe905b266
initrd-kernel: Pre-seed symlinks for modules and firmwares
2020-02-03 16:19:10 -05:00
Samuel Dionne-Riel
f40c8c1f08
modules: use types.str over types.string...
...
types.string having been formally deprecated, and having a likely
unwanted behaviour.
2019-09-18 15:28:51 -04:00
Samuel Dionne-Riel
a2620c06a3
initrd-kernel: Allows embedding modules.
2018-06-23 17:45:51 -04:00