config.logging.persistent enables /dev/pmsg0
- whatever's written to /dev/pmsg0 appears as /sys/fs/pstore/pmsg-ramoops-0 after reboot - only works on devices with the relevant device tree support (gl-ar750 and whatever has it by default) - nothing in the system is actually writing this file yet - or reading it at boot time, for that matter
This commit is contained in:
@@ -52,8 +52,9 @@
|
||||
|
||||
'';
|
||||
|
||||
module = {pkgs, config, lim, ... }:
|
||||
module = {pkgs, config, lim, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
openwrt = pkgs.openwrt;
|
||||
firmwareBlobs = pkgs.pkgsBuildBuild.fetchFromGitHub {
|
||||
owner = "kvalo";
|
||||
@@ -119,6 +120,9 @@
|
||||
includePaths = [
|
||||
"${openwrt.src}/target/linux/ath79/dts"
|
||||
];
|
||||
includes = mkIf config.logging.persistent.enable [
|
||||
./pstore-ramoops.dtsi
|
||||
];
|
||||
};
|
||||
|
||||
networkInterfaces =
|
||||
|
Reference in New Issue
Block a user