Skip to content

Commit

Permalink
i think it finally works
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bezos committed Oct 23, 2024
1 parent 46a694b commit 663094e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ void install_soviet(const std::string& target_drive,
if (execInChroot("dracut -H -I ' /usr/bin/nano ' --add-drivers ' vfat btrfs ' --strip /tmp/sov-initrd.img") != 0) return;
if (execInChroot("/usr/lib/systemd/ukify build --linux=/usr/lib/modules/" + kernel_version + "/vmlinuz-soviet --initrd=/tmp/sov-initrd.img --uname=" + kernel_version + " --splash=/efi/logo-soviet-boot.bmp --cmdline=@/etc/kernel/cmdline --output=/efi/EFI/Linux/sovietlinux-" + build_id + "-initrd.efi") != 0) return;

system("bootctl install --root=/mnt --esp-path=/mnt/efi");
system("bootctl install --root=/mnt");
std::cout << "Soviet Linux installation completed." << std::endl;
}

0 comments on commit 663094e

Please sign in to comment.