Changeset 8d74fdd in mainline for uspace/srv/sysman/sysman.h


Ignore:
Timestamp:
2019-08-17T13:57:05Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
f92b315
Parents:
be07995
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-27 00:01:13)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:57:05)
Message:

sysman: Shutdown operation as shutdown.tgt isolation

Since not all dependencies are captured by graph, sysman and taskman are
ignored when stopping servers, so that they can complete the shutdown
transition.

Conflicts:

boot/Makefile.common

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/sysman.h

    rbe07995 r8d74fdd  
    3030#define SYSMAN_SYSMAN_H
    3131
     32#define INITRD_DEVICE       "bd/initrd"
     33#define INITRD_MOUNT_POINT  "/"
     34#define INITRD_CFG_PATH     "/cfg/sysman"
     35
     36// TODO configurable
     37#define TARGET_INIT     "initrd.tgt"
     38#define TARGET_ROOTFS   "rootfs.tgt"
     39#define TARGET_DEFAULT  "default.tgt"
     40#define TARGET_SHUTDOWN "shutdown.tgt"
     41
     42#define UNIT_MNT_INITRD "initrd.mnt"
     43#define UNIT_CFG_INITRD "init.cfg"
     44
    3245#include "job.h"
    3346#include "unit.h"
     
    3851extern void sysman_events_init(void);
    3952extern int sysman_events_loop(void *);
    40 extern int sysman_run_job(unit_t *, unit_state_t, callback_handler_t, void *);
     53extern int sysman_run_job(unit_t *, unit_state_t, int, callback_handler_t, void *);
    4154
    4255
Note: See TracChangeset for help on using the changeset viewer.