Skip to content

Commit

Permalink
Merge branch 'main' into danirabbit/battery-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
ryonakano authored Oct 5, 2024
2 parents 398f66d + 15e2a28 commit 2b45af2
Show file tree
Hide file tree
Showing 19 changed files with 943 additions and 657 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: |
meson setup build
ninja -C build install
ninja -C build test
lint:
runs-on: ubuntu-latest
Expand Down
49 changes: 47 additions & 2 deletions common/DBusStructures.vala
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,58 @@ 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;

FileSystem filesystem;

uint64 start_sector;
uint64 end_sector;
Distinst.PartitionUsage sectors_used;
PartitionUsage sectors_used;
string? current_lvm_volume_group;
}

Expand All @@ -95,7 +139,8 @@ public struct InstallerDaemon.InstallConfig {
string keyboard_layout;
string keyboard_variant;
string lang;
uint8 flags;
bool modify_boot_order;
bool install_drivers;
}

[Flags]
Expand Down
Loading

0 comments on commit 2b45af2

Please sign in to comment.