This commit is contained in:
Your Name
2024-04-28 18:54:56 -05:00
parent a40c766dea
commit e92a8ae6f8

View File

@@ -86,6 +86,8 @@ def set_consistent_flag(consistent: bool) -> None:
os.sync() os.sync()
def parse_release_notes(basedir: str) -> bytes: def parse_release_notes(basedir: str) -> bytes:
# CLEARPILOT
return b""
try: try:
with open(os.path.join(basedir, "RELEASES.md"), "rb") as f: with open(os.path.join(basedir, "RELEASES.md"), "rb") as f:
r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes
@@ -129,7 +131,8 @@ def dismount_overlay() -> None:
def init_overlay() -> None: def init_overlay() -> None:
# CLEARPILOT
return
# Re-create the overlay if BASEDIR/.git has changed since we created the overlay # Re-create the overlay if BASEDIR/.git has changed since we created the overlay
if OVERLAY_INIT.is_file() and os.path.ismount(OVERLAY_MERGED): if OVERLAY_INIT.is_file() and os.path.ismount(OVERLAY_MERGED):
git_dir_path = os.path.join(BASEDIR, ".git") git_dir_path = os.path.join(BASEDIR, ".git")