summary refs log tree commit diff
path: root/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2022-06-30 12:54:47 +0300
committerK900 <me@0upti.me>2022-07-22 10:01:21 +0300
commitc9183d37385787ae2afd5a7550d119c7bb9b1fe6 (patch)
tree50bee48720539afbc15aa885fefe76cf8ed28350 /pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
parentf3bfbd3dc2f65ada79ccd5876604889127cb416f (diff)
downloadnixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar.gz
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar.bz2
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar.lz
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar.xz
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.tar.zst
nixpkgs-c9183d37385787ae2afd5a7550d119c7bb9b1fe6.zip
nixos/systemd: make sure all the device nodes are created in stage1
The ConditionFileNotEmpty override patch wasn't correct for stage1, which
does have the modules in /lib. So, remove the patch and set
the right path with overrides in the final system.

Also, make sure systemd-tmpfiles-setup-dev is pulled in to create
all the necessary symlinks.
Diffstat (limited to 'pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch')
-rw-r--r--pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch b/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
index 21cbde9a92d..4add87267dd 100644
--- a/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
+++ b/pkgs/os-specific/linux/systemd/0013-systemd-shutdown-execute-scripts-in-etc-systemd-syst.patch
@@ -1,7 +1,7 @@
-From 67434c58caddf7dd3cef66dd3e3f704d39e4bcb0 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Nikolay Amiantov <ab@fmap.me>
 Date: Thu, 25 Jul 2019 20:45:55 +0300
-Subject: [PATCH 13/18] systemd-shutdown: execute scripts in
+Subject: [PATCH] systemd-shutdown: execute scripts in
  /etc/systemd/system-shutdown
 
 This is needed for NixOS to use such scripts as systemd directory is immutable.
@@ -22,6 +22,3 @@ index 2c3cbec02c..1b876203c6 100644
  
          /* The log target defaults to console, but the original systemd process will pass its log target in through a
           * command line argument, which will override this default. Also, ensure we'll never log to the journal or
--- 
-2.36.1
-