wip
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user