Changeset 6d06bbc in mainline for uspace/app/sysinst/sysinst.h


Ignore:
Timestamp:
2026-04-08T18:33:34Z (3 days ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
5bc87028, 68f13bcc, df2f4d9
Parents:
9f9d9067
Message:

If performing OS upgrade, sysinst should say it's upgrading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sysinst/sysinst.h

    r9f9d9067 r6d06bbc  
    11/*
    2  * Copyright (c) 2025 Jiri Svoboda
     2 * Copyright (c) 2026 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    5454} sysinst_progress_t;
    5555
     56/** Installer operation */
     57typedef enum {
     58        /** initial OS installation */
     59        sio_install,
     60        /** OS upgrade */
     61        sio_upgrade
     62} sysinst_oper_t;
     63
    5664/** System installer. */
    5765typedef struct {
     
    6371        /** Service ID of destination partition. */
    6472        sysarg_t psvc_id;
     73        /** operation being performed */
     74        sysinst_oper_t oper;
    6575        futil_t *futil;
    6676        char errmsg[128];
Note: See TracChangeset for help on using the changeset viewer.