diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2019-06-12 08:50:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 08:50:39 -0700 |
commit | da3ec20a72115e6343e8b98ec396bed80642b917 (patch) | |
tree | a752a5006e020b4324362dc9a28d84588e93fd8b /nixos | |
parent | 7953a6526938ad25b25bd9216060a9d349ae4653 (diff) | |
parent | fb657d7d15cf99a6fc39c6bc49cd0011f51d1bdf (diff) |
Merge pull request #63035 from rvolosatovs/update/go
go: 1.12.5->1.12.6, 1.11.10->1.11.11
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index b7e5b99a9e01b..0ccdac30d9158 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -258,6 +258,11 @@ foreach my $path (glob "/sys/class/{block,mmc_host}/*") { } } +# Add bcache module, if needed. +my @bcacheDevices = glob("/dev/bcache*"); +if (scalar @bcacheDevices > 0) { + push @initrdAvailableKernelModules, "bcache"; +} my $virt = `systemd-detect-virt`; chomp $virt; |