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

* move updated

* for release
old-commit-hash: be2b48183f
chrysler-long2
Justin Newberry 1 year ago committed by GitHub
parent 88467a0669
commit 2cdb550d12
  1. 3
      release/files_common
  2. 2
      scripts/stop_updater.sh
  3. 2
      selfdrive/manager/process_config.py
  4. 4
      selfdrive/ui/qt/offroad/software_settings.cc
  5. 0
      selfdrive/updated/updated.py

@ -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

@ -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

@ -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),

@ -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);

Loading…
Cancel
Save