Skip to content

Prototype path keyword for depend()#62

Open
willmmiles wants to merge 2 commits intoOpenRC:mount-servicefrom
willmmiles:mount-service
Open

Prototype path keyword for depend()#62
willmmiles wants to merge 2 commits intoOpenRC:mount-servicefrom
willmmiles:mount-service

Conversation

@willmmiles
Copy link
Copy Markdown

This adds a prototype 'path' keyword for depend() functions that will look up where the specified path is mounted and emit an appropriate mount.xxx dependency line.

Testing was minimal, but it seemed to work OK on my QNX system.

This patch adds a new 'path' keyword for depend() blocks.  When invoked,
it resolves the path name specified to the mounted filesystem, and emits
a need line for the relevant mount.fs service.
TODO: documentation
navi-desu added a commit that referenced this pull request Apr 4, 2025
the cache now lives in /var, if /var is not mounted that early, no cache
will be restored, so deptree regen will happen as if it's outdated

Closes: #455
Closes: #62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants