From e0805f88314a85c59eb6e3c5acf08d7aa41a8815 Mon Sep 17 00:00:00 2001 From: Silke Hofstra Date: Wed, 7 Aug 2024 15:51:37 +0200 Subject: [PATCH] usysconf-epoch: Clean up service file --- .../u/usysconf-epoch/files/usysconf-epoch.service | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/packages/u/usysconf-epoch/files/usysconf-epoch.service b/packages/u/usysconf-epoch/files/usysconf-epoch.service index f8287183c8b6..be7a752ec822 100644 --- a/packages/u/usysconf-epoch/files/usysconf-epoch.service +++ b/packages/u/usysconf-epoch/files/usysconf-epoch.service @@ -1,16 +1,17 @@ ## This runs the epoch script very early in the boot, after the local filesystem are mounted but before anything else -## To test this script create /etc/sysconfig/epoch with I_UNDERSTAND_THAT_THIS_SCRIPT_CAN_BREAK_MY_SYSTEM defined to do the usr-merge -## and I_WANT_TO_TEST_THE_EPOCH_TRANSITION_WORKS defined if you want it to create the eopkg marker file at the end - - +## To test this script, create /etc/sysconfig/epoch with the following content: +## +## I_UNDERSTAND_THAT_THIS_SCRIPT_CAN_BREAK_MY_SYSTEM=1 +## I_WANT_TO_TEST_THE_EPOCH_TRANSITION_WORKS=1 +## +## This will perform the usr merge and create an read/write the epoch transition flag files. [Unit] Description=Usysconf Epoch script DefaultDependencies=no After=local-fs.target systemd-tmpfiles-setup.service -Before=sysinit.target +Before=sysinit.target shutdown.target initrd-switch-root.target Conflicts=shutdown.target initrd-switch-root.target -Before=shutdown.target initrd-switch-root.target [Service] EnvironmentFile=-/etc/sysconfig/epoch