diff --git a/distrod/libs/src/distro.rs b/distrod/libs/src/distro.rs
index 4b83495..32ba974 100644
--- a/distrod/libs/src/distro.rs
+++ b/distrod/libs/src/distro.rs
@@ -502,7 +502,7 @@ fn disable_incompatible_systemd_services(rootfs: &HostPath) {
}
}
-fn disable_incompatible_systemd_service_options(rootfs: &Path) {
+fn disable_incompatible_systemd_service_options(rootfs: &HostPath) {
let options = &[("systemd-sysusers.service", "Service", "LoadCredential")];
for (service, section, option_directive) in options {
@@ -537,7 +537,7 @@ fn disable_incompatible_systemd_service_options(rootfs: &Path) {
}
fn append_wsl_envs_init_script_to_home_profile(
- rootfs: &Path,
+ rootfs: &HostPath,
overwrites_potential_userfiles: bool,
) -> Result<()> {
if !overwrites_potential_userfiles {
@@ -568,18 +568,16 @@ fn append_wsl_envs_init_script_to_home_profile(
Ok(())
}
-fn open_skel_profile(rootfs: &Path) -> Result