mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 9a17b517ad25e478476955987a4981f7a35cec58
parent 4b0045cd7875c75160ab7314c8abf65c5429076c
Author: ccx <ccx@te2000.cz>
Date:   Sun, 21 Jul 2024 11:11:58 +0000

Avoid empty blocks

Diffstat:
Msbin/container_sysroot_run | 1-
Msbin/ns_run | 2+-
Mservice_scripts/sysroot/run | 2+-
3 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sbin/container_sysroot_run b/sbin/container_sysroot_run @@ -53,4 +53,3 @@ pidns_run ns_run_unshared data/root { true } /mnt/ns/bin/s6-applyuidgid -U $@ - diff --git a/sbin/ns_run b/sbin/ns_run @@ -29,4 +29,4 @@ ifelse { eltest -v NS_EXTRA } importas -i -u NS_EXTRA NS_EXTRA ns_run_unshared $1 { execlineb -c $NS_EXTRA } $@ } -ns_run_unshared $1 { } $@ +ns_run_unshared $1 { true } $@ diff --git a/service_scripts/sysroot/run b/service_scripts/sysroot/run @@ -54,7 +54,7 @@ env NS_EXTRA="if { mount -o bind,ro /etc/passwd etc/passwd } if { mount -o bind,ro /etc/group etc/group }" emptyenv -c -ns_run_unshared data/root { } +ns_run_unshared data/root { true } /mnt/ns/bin/s6-applyuidgid -U env HOME=/root /run/init