From 1c4f7545ddf3be53a4da696cede9b6ebf90466d7 Mon Sep 17 00:00:00 2001 From: Jeff Bezos Date: Wed, 23 Oct 2024 11:48:09 +0000 Subject: [PATCH] now using chroot instead of systemd-nspawn --- src/install.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.cpp b/src/install.cpp index 3915f7f..30f25f2 100644 --- a/src/install.cpp +++ b/src/install.cpp @@ -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 buffer; std::string result;