-
Notifications
You must be signed in to change notification settings - Fork 291
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
sysroot: Detect "live" system on /run/ostree-live #1995
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,16 @@ G_BEGIN_DECLS | |
#define OSTREE_IS_SYSROOT(obj) \ | ||
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), OSTREE_TYPE_SYSROOT)) | ||
|
||
/** | ||
* OSTREE_SYSROOT_LIVE_PATH: | ||
* | ||
* The existence of this file declares that the system | ||
* is booted "live" (fully in RAM). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think one important thing worth noting here is that unlike the seemingly similar
? |
||
* | ||
* Since: 2020.1 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2020.4 |
||
**/ | ||
#define OSTREE_SYSROOT_LIVE_PATH "/run/ostree-live" | ||
|
||
_OSTREE_PUBLIC | ||
GType ostree_sysroot_get_type (void); | ||
|
||
|
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.
Minor: how about prefixing with
found /run/ostree-live
?