Skip to content

Commit

Permalink
fix gpg?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bezos committed Oct 23, 2024
1 parent 38633f4 commit 5713b51
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#include <array>
#include <memory>



int execInChroot(const std::string& command) {
std::cout << "Executing in chroot: " << command << std::endl;
std::string fullCommand = "chroot /mnt bash -c \"" + command + "\"";
Expand Down Expand Up @@ -137,6 +139,10 @@ void install_soviet(const std::string& target_drive,
std::cerr << "Failed to copy root filesystem." << std::endl;
return;
}
system("ln -s /proc /mnt/proc");
system("ln -s /sys /mnt/sys");
system("ln -s /dev /mnt/dev");
system("ln -s /run /mnt/run");

deleteFilesInDir("/mnt/efi/EFI/Linux/");

Expand Down

0 comments on commit 5713b51

Please sign in to comment.