You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: HACKING.md
+6-5
Original file line number
Diff line number
Diff line change
@@ -8,10 +8,10 @@ The UI code is written in [Relm](https://relm4.org/), a GTK4 UI framework for Ru
8
8
9
9
The new dedicated backend for Readymade should be written in Rust, and should be able to handle the following tasks:
10
10
11
-
- Declarative(?) disk partitioning and generation of actions to be fed to UDisks2
12
-
- UDisks2 integration for disk partitioning and formatting (and possibly LVM and BTRFS support)
11
+
-~~Declarative(?) disk partitioning and generation of actions to be fed to UDisks2~~ (This is now handled by systemd-repart)
12
+
-~~UDisks2 integration for disk partitioning and formatting (and possibly LVM and BTRFS support)~~ (This is now handled by systemd-repart)
13
13
- Smart detection for Chromebook devices and other devices that require special handling (so that we can install extra Submarine bootloader payloads when required)
14
-
- Automatic systemd mountpoint hints using GPT partition labels/flags
14
+
- Automatic systemd mountpoint hints using GPT partition labels/flags (Handled by systemd-repart, using DDI hints)
15
15
16
16
### If you're gonna do this in Rust, why not just use [distinst](https://github.com/pop-os/distinst)?
17
17
@@ -85,8 +85,6 @@ It also logs to the systemd journal, so you can view the logs by running
85
85
journalctl _COMM=readymade # add -f to follow the logs
86
86
```
87
87
88
-
Currently Readymade only supports Chromebook installations, it is recommended you run Readymade on a Chromebook device to test the installer.
89
-
90
88
Readymade checks for Dracut's default `live-base` (in `/dev/mapper/live-base`) logical volume for the base filesystem to mount and copy from. This is usually generated with Dracut's live module. It then tries to mount the base filesystem from the logical volume and use the files from there as the source for the installer, **_as it assumes the running environment is a live CD environment generated by Dracut, thus it contains the original overlay filesystem in this exact location_**.
91
89
92
90
While you may expect it to mount a SquashFS, the default behaviour is to mount an overlay disk image generated _from_ the SquashFS. This is to prevent the SquashFS to be extracted twice, as the live module already mounts the SquashFS and turns it into a Device Mapper device.
> If Readymade is built as a debug build, it will dump the installation state and the systemd-repart output to `/tmp/` for debugging purposes.
108
106
107
+
Readymade also dumps a redacted version of the installation state in `/var/lib/readymade/state.json` for other tools to use, such as system
108
+
recovery tools.
109
+
109
110
## Localization
110
111
111
112
You can translate Readymade to your language by going to the [Fyra Labs Weblate](https://weblate.fyralabs.com/projects/tauOS/readymade/) page and translating the strings there.
0 commit comments