Skip to content

Commit

Permalink
now using chroot instead of systemd-nspawn
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Bezos committed Oct 23, 2024
1 parent faf16c2 commit 1c4f754
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 @@ -6,7 +6,7 @@

int execInChroot(const std::string& command) {
std::cout << "Executing in chroot: " << command << std::endl;
std::string fullCommand = "systemd-nspawn -D /mnt --as-pid2 bash -c \"" + command + "\"";
std::string fullCommand = "chroot /mnt bash -c \"" + command + "\"";

std::array<char, 128> buffer;
std::string result;
Expand Down

0 comments on commit 1c4f754

Please sign in to comment.