Project

General

Profile

Actions

Bug #1198

closed

Add default runtime directory for imrest

Added by Hammel 2 days ago. Updated 34 minutes ago.

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

100%

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 2 days ago

Actions #2

Updated by Hammel about 22 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 #3

Updated by Hammel 34 minutes ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Code tested on hardware and verified working.

Code committed and pushed.

Closing issue.

Actions

Also available in: Atom PDF