index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-15 17:32:22 +0200 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-15 17:32:22 +0200 |
commit | 82b5e36defccaf864686c8d93eba3481cb918c01 (patch) | |
tree | 85dd547880836cca36031d0e4b763e9a669e27e7 | |
parent | a1ca197bc99c2d5c2977630cc4c9dbfd5461d9c1 (diff) |
-rw-r--r-- | src/arch-nspawn.in | 10 |
diff --git a/src/arch-nspawn.in b/src/arch-nspawn.in index 8fcdead..12ad598 100644 --- a/src/arch-nspawn.in +++ b/src/arch-nspawn.in @@ -140,4 +140,14 @@ else set_arch="${CARCH}" fi +mkdir -p "${working_dir}/proc" +mount proc "${working_dir}/proc" -t proc -o nosuid,noexec,nodev + +# Eeeeeeh exec ${CARCH:+setarch "$set_arch"} systemd-nspawn "${nspawn_args[@]}" "$@" + +RET=$? + +umount "${working_dir}/proc" + +exit $RET |