Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
meisenzahl committed Sep 26, 2024
1 parent aab202c commit 421e636
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 617 deletions.
89 changes: 44 additions & 45 deletions common/DBusStructures.vala
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,50 @@ public enum InstallerDaemon.FileSystem {
}
}

public struct InstallerDaemon.PartitionUsage {
/**
* None = 0; Some(usage) = 1;
*/
public uint8 tag;
/**
* The size, in sectors, that a partition is used.
*/
public uint64 value;
}

public enum InstallerDaemon.PartitionTable {
NONE,
GPT,
MSDOS;
}

public enum InstallerDaemon.Step {
BACKUP,
INIT,
PARTITION,
EXTRACT,
CONFIGURE,
BOOTLOADER;
}

public struct InstallerDaemon.Status {
Step step;
int percent;
}

public enum InstallerDaemon.LogLevel {
TRACE,
DEBUG,
INFO,
WARN,
ERROR;
}

public struct InstallerDaemon.Error {
Step step;
int err;
}

public struct InstallerDaemon.Partition {
string device_path;

Expand All @@ -97,7 +141,6 @@ public struct InstallerDaemon.InstallConfig {
string lang;
bool modify_boot_order;
bool install_drivers;
uint8 flags;
}

[Flags]
Expand Down Expand Up @@ -140,47 +183,3 @@ public struct InstallerDaemon.LuksCredentials {
string pv;
string password;
}

public enum InstallerDaemon.LogLevel {
TRACE,
DEBUG,
INFO,
WARN,
ERROR;
}

public struct InstallerDaemon.Error {
Step step;
int err;
}

public enum InstallerDaemon.Step {
BACKUP,
INIT,
PARTITION,
EXTRACT,
CONFIGURE,
BOOTLOADER;
}

public struct InstallerDaemon.Status {
Step step;
int percent;
}

public struct InstallerDaemon.PartitionUsage {
/**
* None = 0; Some(usage) = 1;
*/
public uint8 tag;
/**
* The size, in sectors, that a partition is used.
*/
public uint64 value;
}

public enum InstallerDaemon.PartitionTable {
NONE,
GPT,
MSDOS;
}
Loading

0 comments on commit 421e636

Please sign in to comment.