From fff09df83a5167f211fc652a40746c55f0d2ce30 Mon Sep 17 00:00:00 2001 From: Valentin David Date: Tue, 28 Jan 2025 19:41:25 +0100 Subject: [PATCH] eos-installer: Make run-mount-eosimages.mount not before local-fs.target Because it has to run after eos-images-loop.service, and eos-images-loop.service has to run after usdisks2. Means i cannot run before local-fs.target. --- elements/iso-deps/eos-installer.bst | 2 ++ .../eos-images-not-before-local-fs-target.patch | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 patches/eos-installer/eos-images-not-before-local-fs-target.patch diff --git a/elements/iso-deps/eos-installer.bst b/elements/iso-deps/eos-installer.bst index 1928924533..62a37b83ae 100644 --- a/elements/iso-deps/eos-installer.bst +++ b/elements/iso-deps/eos-installer.bst @@ -27,6 +27,8 @@ sources: path: patches/eos-installer/0001-polkit-rules-tweak-to-be-ecma-5-compatible.patch - kind: patch path: patches/eos-installer/usrfs.patch +- kind: patch + path: patches/eos-installer/eos-images-not-before-local-fs-target.patch depends: - freedesktop-sdk.bst:bootstrap-import.bst diff --git a/patches/eos-installer/eos-images-not-before-local-fs-target.patch b/patches/eos-installer/eos-images-not-before-local-fs-target.patch new file mode 100644 index 0000000000..0bc2ae79f1 --- /dev/null +++ b/patches/eos-installer/eos-images-not-before-local-fs-target.patch @@ -0,0 +1,13 @@ +diff -ur eos-installer.old/eos-installer-data/run-mount-eosimages.mount eos-installer/eos-installer-data/run-mount-eosimages.mount +--- eos-installer.old/eos-installer-data/run-mount-eosimages.mount 2025-01-28 19:37:13.842287198 +0100 ++++ eos-installer/eos-installer-data/run-mount-eosimages.mount 2025-01-28 19:38:54.481123860 +0100 +@@ -1,5 +1,9 @@ + [Unit] + Description=Endless OS reformatter images partition ++DefaultDependencies=no ++Before=umount.target ++Conflicts=umount.target ++After=local-fs-pre.target + + [Mount] + What=LABEL=eosimages -- GitLab