mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-01-23 14:32:22 +08:00
🧹 luks: move initramfs gen into gucc
This commit is contained in:
parent
062323223e
commit
61b8c526d6
@ -64,6 +64,7 @@ auto luks1_setup_keyfile(std::string_view dest_file, std::string_view mountpoint
|
||||
}
|
||||
|
||||
spdlog::info("Adding keyfile to the initcpio");
|
||||
utils::arch_chroot("mkinitcpio -P", mountpoint);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -2037,8 +2037,6 @@ void setup_luks_keyfile() noexcept {
|
||||
if (!gucc::crypto::luks1_setup_keyfile(keyfile_path, "/mnt", partition, "--pbkdf-force-iterations 200000")) {
|
||||
return;
|
||||
}
|
||||
|
||||
utils::arch_chroot("mkinitcpio -P");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user