systemd: Remove some plymouth calls
This commit is contained in:
parent
cdb2f64a35
commit
5a79974c81
@ -1,7 +1,7 @@
|
|||||||
From 0085f49cd0ba889e3db9102f328f6044ae3a2c18 Mon Sep 17 00:00:00 2001
|
From 0085f49cd0ba889e3db9102f328f6044ae3a2c18 Mon Sep 17 00:00:00 2001
|
||||||
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
Date: Tue, 8 Jan 2013 15:44:33 +0100
|
Date: Tue, 8 Jan 2013 15:44:33 +0100
|
||||||
Subject: [PATCH 1/5] Make "systemctl daemon-reexec" do the right thing on
|
Subject: [PATCH 1/6] Make "systemctl daemon-reexec" do the right thing on
|
||||||
NixOS
|
NixOS
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From 2b0a9106d3aabb365af0cc34b595a1e697120f37 Mon Sep 17 00:00:00 2001
|
From 2b0a9106d3aabb365af0cc34b595a1e697120f37 Mon Sep 17 00:00:00 2001
|
||||||
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
Date: Tue, 8 Jan 2013 15:45:01 +0100
|
Date: Tue, 8 Jan 2013 15:45:01 +0100
|
||||||
Subject: [PATCH 2/5] Ignore duplicate paths in "systemctl start"
|
Subject: [PATCH 2/6] Ignore duplicate paths in "systemctl start"
|
||||||
|
|
||||||
---
|
---
|
||||||
src/systemctl/systemctl.c | 7 +++++--
|
src/systemctl/systemctl.c | 7 +++++--
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From a013beb84f135cebf1c8c9363d5676c1c0a6be7a Mon Sep 17 00:00:00 2001
|
From a013beb84f135cebf1c8c9363d5676c1c0a6be7a Mon Sep 17 00:00:00 2001
|
||||||
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
Date: Tue, 8 Jan 2013 15:46:30 +0100
|
Date: Tue, 8 Jan 2013 15:46:30 +0100
|
||||||
Subject: [PATCH 3/5] Start device units for uninitialised encrypted devices
|
Subject: [PATCH 3/6] Start device units for uninitialised encrypted devices
|
||||||
|
|
||||||
This is necessary because the NixOS service that initialises the
|
This is necessary because the NixOS service that initialises the
|
||||||
filesystem depends on the appearance of the device unit. Also, this
|
filesystem depends on the appearance of the device unit. Also, this
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From b40d8783f94666035baae567882c0d4be82cda01 Mon Sep 17 00:00:00 2001
|
From b40d8783f94666035baae567882c0d4be82cda01 Mon Sep 17 00:00:00 2001
|
||||||
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
Date: Tue, 8 Jan 2013 15:48:19 +0100
|
Date: Tue, 8 Jan 2013 15:48:19 +0100
|
||||||
Subject: [PATCH 4/5] Set switch-to-configuration hints for some units
|
Subject: [PATCH 4/6] Set switch-to-configuration hints for some units
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From c5c8ac3a0420fb42ba2f629368fd5bd6ea1e753b Mon Sep 17 00:00:00 2001
|
From c5c8ac3a0420fb42ba2f629368fd5bd6ea1e753b Mon Sep 17 00:00:00 2001
|
||||||
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
Date: Tue, 8 Jan 2013 15:56:03 +0100
|
Date: Tue, 8 Jan 2013 15:56:03 +0100
|
||||||
Subject: [PATCH 5/5] sysinit.target: Drop the dependency on local-fs.target
|
Subject: [PATCH 5/6] sysinit.target: Drop the dependency on local-fs.target
|
||||||
and swap.target
|
and swap.target
|
||||||
|
|
||||||
Having all services with DefaultDependencies=yes depend on
|
Having all services with DefaultDependencies=yes depend on
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
From d3caa154098e215145679f38fa92a8bd482107be Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
|
||||||
|
Date: Tue, 8 Jan 2013 18:36:28 +0100
|
||||||
|
Subject: [PATCH 6/6] Don't call "plymouth quit"
|
||||||
|
|
||||||
|
NixOS doesn't use Plymouth (yet).
|
||||||
|
---
|
||||||
|
units/emergency.service.in | 1 -
|
||||||
|
units/rescue.service.m4.in | 1 -
|
||||||
|
2 files changed, 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/units/emergency.service.in b/units/emergency.service.in
|
||||||
|
index 442f0e0..6b7eafd 100644
|
||||||
|
--- a/units/emergency.service.in
|
||||||
|
+++ b/units/emergency.service.in
|
||||||
|
@@ -15,7 +15,6 @@ Before=shutdown.target
|
||||||
|
[Service]
|
||||||
|
Environment=HOME=/root
|
||||||
|
WorkingDirectory=/root
|
||||||
|
-ExecStartPre=-/bin/plymouth quit
|
||||||
|
ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.'
|
||||||
|
ExecStart=-/sbin/sulogin
|
||||||
|
ExecStopPost=@SYSTEMCTL@ --fail --no-block default
|
||||||
|
diff --git a/units/rescue.service.m4.in b/units/rescue.service.m4.in
|
||||||
|
index 269797a..2c640f4 100644
|
||||||
|
--- a/units/rescue.service.m4.in
|
||||||
|
+++ b/units/rescue.service.m4.in
|
||||||
|
@@ -16,7 +16,6 @@ Before=shutdown.target
|
||||||
|
[Service]
|
||||||
|
Environment=HOME=/root
|
||||||
|
WorkingDirectory=/root
|
||||||
|
-ExecStartPre=-/bin/plymouth quit
|
||||||
|
ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.'
|
||||||
|
ExecStart=-/sbin/sulogin
|
||||||
|
ExecStopPost=-@SYSTEMCTL@ --fail --no-block default
|
||||||
|
--
|
||||||
|
1.8.0.1
|
||||||
|
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
./0003-Start-device-units-for-uninitialised-encrypted-devic.patch
|
./0003-Start-device-units-for-uninitialised-encrypted-devic.patch
|
||||||
./0004-Set-switch-to-configuration-hints-for-some-units.patch
|
./0004-Set-switch-to-configuration-hints-for-some-units.patch
|
||||||
./0005-sysinit.target-Drop-the-dependency-on-local-fs.targe.patch
|
./0005-sysinit.target-Drop-the-dependency-on-local-fs.targe.patch
|
||||||
|
./0006-Don-t-call-plymouth-quit.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user