updated -> move to selfdrive/updated/updated (#31696)

* move updated

* for release
old-commit-hash: be2b48183f81c09f7bc5d1e77d880ce40abacb20
This commit is contained in:
Justin Newberry
2024-03-04 17:33:52 -05:00
committed by GitHub
parent 88467a0669
commit 2cdb550d12
5 changed files with 6 additions and 5 deletions

View File

@@ -53,9 +53,10 @@ tools/replay/*.h
selfdrive/__init__.py
selfdrive/sentry.py
selfdrive/tombstoned.py
selfdrive/updated.py
selfdrive/statsd.py
selfdrive/updated/*
system/logmessaged.py
system/micd.py
system/version.py

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env sh
# Stop updater
pkill -2 -f selfdrive.updated
pkill -2 -f selfdrive.updated.updated
# Remove pending update
rm -f /data/safe_staging/finalized/.overlay_consistent

View File

@@ -78,7 +78,7 @@ procs = [
PythonProcess("radard", "selfdrive.controls.radard", only_onroad),
PythonProcess("thermald", "selfdrive.thermald.thermald", always_run),
PythonProcess("tombstoned", "selfdrive.tombstoned", always_run, enabled=not PC),
PythonProcess("updated", "selfdrive.updated", only_offroad, enabled=not PC),
PythonProcess("updated", "selfdrive.updated.updated", only_offroad, enabled=not PC),
PythonProcess("uploader", "system.loggerd.uploader", always_run),
PythonProcess("statsd", "selfdrive.statsd", always_run),

View File

@@ -17,7 +17,7 @@
void SoftwarePanel::checkForUpdates() {
std::system("pkill -SIGUSR1 -f selfdrive.updated");
std::system("pkill -SIGUSR1 -f selfdrive.updated.updated");
}
SoftwarePanel::SoftwarePanel(QWidget* parent) : ListWidget(parent) {
@@ -36,7 +36,7 @@ SoftwarePanel::SoftwarePanel(QWidget* parent) : ListWidget(parent) {
if (downloadBtn->text() == tr("CHECK")) {
checkForUpdates();
} else {
std::system("pkill -SIGHUP -f selfdrive.updated");
std::system("pkill -SIGHUP -f selfdrive.updated.updated");
}
});
addItem(downloadBtn);