Project

General

Profile

Actions

Bug #1198

open

Add default runtime directory for imrest

Added by Hammel 1 day ago. Updated about 4 hours ago.

Status:
In Progress
Priority:
Immediate
Assignee:
Category:
Software
Target version:
Start date:
01 Apr 2025
Due date:
% Done:

50%

Estimated time:
Severity:
01 - Critical

Description

imrest seems to operate okay, but there is no default home directory for the app that is created on the target.

Make sure postinst creates the home directory and that the app changes to it when it runs.


Related issues

Related to Iron Man - Feature #1080: Sensors: 1 port power switchNewHammel16 Nov 2023

Actions
Actions #1

Updated by Hammel 1 day ago

Actions #2

Updated by Hammel about 4 hours ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

Easy fix by adding a chdir(initGetDataDir()) to imrest:main().

Applied to sandbox. Will test later when the RPi bench is powered up again.

Actions

Also available in: Atom PDF