address bugs

This commit is contained in:
Aiden McClelland
2021-08-30 13:31:51 -06:00
committed by Aiden McClelland
parent c278e7fbc2
commit cdca5e1b67
8 changed files with 232 additions and 83 deletions

View File

@@ -1,8 +1,18 @@
use embassy::Error;
async fn inner_main() -> Result<(), Error> {
// os sync
embassy::volume::disk::mount("/dev/sda", "/mnt/embassy-os-crypt").await?;
// host setup flow if needed
// mount disk
embassy::volume::disk::mount("/dev/sda", "/mnt/embassy-os-crypt").await?; // TODO: by uuid
// unlock disk
// mount /var/log/journal
// sync ssh
// sync wifi
// hostname-set
embassy::hostname::sync_hostname().await?;