Skip to content

Commit

Permalink
Merge branch 'main' into release-8.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Oct 21, 2024
2 parents 0b752df + 20fed8a commit fcdd3df
Show file tree
Hide file tree
Showing 231 changed files with 2,794 additions and 2,292 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ jobs:
- name: Install Dependencies
run: |
apt update
apt install -y desktop-file-utils gettext libadwaita-1-dev libdistinst-dev libgee-0.8-dev libgranite-7-dev libgtk-4-dev libxml2-dev libjson-glib-dev libpwquality-dev libxml2-utils meson valac
apt install -y desktop-file-utils gettext libadwaita-1-dev libdistinst-dev libgee-0.8-dev libgranite-7-dev libgtk-4-dev libxkbregistry-dev libjson-glib-dev libpwquality-dev meson valac
- name: Build and Test
env:
DESTDIR: out
run: |
meson setup build
ninja -C build install
ninja -C build test
lint:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ You'll need the following dependencies:
- libadwaita-1-dev >=1.4.0
- libjson-glib-dev
- libpwquality-dev
- libxml2-dev
- libxml2-utils
- libxkbregistry-dev
- [distinst](https://github.com/pop-os/distinst/)
- valac

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 fcdd3df

Please sign in to comment.