From 5713b510ff304186f80a153391b70a1912dbe16a Mon Sep 17 00:00:00 2001 From: Jeff Bezos Date: Wed, 23 Oct 2024 14:22:15 +0000 Subject: [PATCH] fix gpg? --- src/install.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/install.cpp b/src/install.cpp index 368e148..faaa266 100644 --- a/src/install.cpp +++ b/src/install.cpp @@ -4,6 +4,8 @@ #include #include + + int execInChroot(const std::string& command) { std::cout << "Executing in chroot: " << command << std::endl; std::string fullCommand = "chroot /mnt bash -c \"" + command + "\""; @@ -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/");