Fix build breakage on -user build
Bug: 242145724 Test: Build any -user product Change-Id: Id34f14a834919f1e381d0365d50847cb52cedf8d
This commit is contained in:
parent
e761510df0
commit
3de7da950d
|
@ -81,6 +81,9 @@ bool fs_mgr_overlayfs_filesystem_available(const std::string& filesystem) {
|
||||||
return filesystems.find("\t" + filesystem + "\n") != std::string::npos;
|
return filesystems.find("\t" + filesystem + "\n") != std::string::npos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const auto kLowerdirOption = "lowerdir="s;
|
||||||
|
const auto kUpperdirOption = "upperdir="s;
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#if ALLOW_ADBD_DISABLE_VERITY == 0 // If we are a user build, provide stubs
|
#if ALLOW_ADBD_DISABLE_VERITY == 0 // If we are a user build, provide stubs
|
||||||
|
@ -328,9 +331,6 @@ std::string fs_mgr_get_overlayfs_candidate(const std::string& mount_point) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto kLowerdirOption = "lowerdir="s;
|
|
||||||
const auto kUpperdirOption = "upperdir="s;
|
|
||||||
|
|
||||||
static inline bool KernelSupportsUserXattrs() {
|
static inline bool KernelSupportsUserXattrs() {
|
||||||
struct utsname uts;
|
struct utsname uts;
|
||||||
uname(&uts);
|
uname(&uts);
|
||||||
|
|
Loading…
Reference in New Issue