-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include elemental partitions in mount command #1918
Include elemental partitions in mount command #1918
Conversation
Signed-off-by: David Cassany <dcassany@suse.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1918 +/- ##
==========================================
+ Coverage 73.83% 73.91% +0.07%
==========================================
Files 71 71
Lines 7759 7762 +3
==========================================
+ Hits 5729 5737 +8
+ Misses 1611 1600 -11
- Partials 419 425 +6 ☔ View full report in Codecov by Sentry. |
f1324c3
to
452a05c
Compare
Signed-off-by: David Cassany <dcassany@suse.com>
452a05c
to
6ae5596
Compare
@@ -4,6 +4,8 @@ DefaultDependencies=no | |||
After=initrd-root-fs.target | |||
Requires=initrd-root-fs.target | |||
Before=initrd-fs.target | |||
ConditionKernelCommandLine=!rd.cos.disable | |||
ConditionKernelCommandLine=!elemental.disable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on my tests, not sure why, but once got this service running and failing for live ISO, not sure why 🤷🏽♂️ In any case this doesn't hurt.
Confirmation run done at https://github.com/rancher/elemental/actions/runs/7691982270/job/20958173282 |
This PR essentially adds an additional step in mount command to mount elemental partitions before hand (OEM, Persistent, EFI, etc.). Elemental partitions should already mounted and prepare at initramfs stage and even before the persistent paths are set (otherwise instead of being defined in a persistent area they are on
/run
's tmpfs).