diff --git a/selfdrive/updated.py b/selfdrive/updated.py index 2059068067..2747e5753a 100755 --- a/selfdrive/updated.py +++ b/selfdrive/updated.py @@ -31,7 +31,6 @@ import signal import fcntl import time import threading -from cffi import FFI from pathlib import Path from common.basedir import BASEDIR @@ -52,14 +51,6 @@ OVERLAY_MERGED = os.path.join(STAGING_ROOT, "merged") FINALIZED = os.path.join(STAGING_ROOT, "finalized") -# Workaround for lack of os.link in the NEOS/termux python -ffi = FFI() -ffi.cdef("int link(const char *oldpath, const char *newpath);") -libc = ffi.dlopen(None) -def link(src, dest): - return libc.link(src.encode(), dest.encode()) - - class WaitTimeHelper: def __init__(self, proc): self.proc = proc