Skip to content

Commit

Permalink
now it mounts /dev and etc instead of symlinking
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bezos committed Oct 23, 2024
1 parent 8e3ac65 commit f278f5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +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");
system("mount --types proc /proc /mnt/proc");
system("mount --rbind /sys /sys /mnt/sys");
system("mount --rbind /dev /dev /mnt/dev");
system("mount --bind /run /run /mnt/run");

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

Expand Down

0 comments on commit f278f5f

Please sign in to comment.