Searched refs:kPostinstallApexDir (Results 1 – 1 of 1) sorted by relevance
195 static constexpr const char* kPostinstallApexDir = "/postinstall/apex"; in otapreopt_chroot() local214 if (mount("tmpfs", kPostinstallApexDir, "tmpfs", MS_NODEV | MS_NOEXEC | MS_NOSUID, nullptr) in otapreopt_chroot()216 PLOG(ERROR) << "Failed to mount tmpfs in " << kPostinstallApexDir; in otapreopt_chroot()219 if (selinux_android_restorecon(kPostinstallApexDir, 0) < 0) { in otapreopt_chroot()220 PLOG(ERROR) << "Failed to restorecon " << kPostinstallApexDir; in otapreopt_chroot()223 if (chmod(kPostinstallApexDir, 0755) != 0) { in otapreopt_chroot()224 PLOG(ERROR) << "Failed to chmod " << kPostinstallApexDir << " to 0755"; in otapreopt_chroot()227 if (chown(kPostinstallApexDir, 0, 0) != 0) { in otapreopt_chroot()228 PLOG(ERROR) << "Failed to chown " << kPostinstallApexDir << " to root:root"; in otapreopt_chroot()