From 9cbb2d786e12bec46e7a4c7cbfa7e84b9496a9c4 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Wed, 15 Mar 2006 12:47:56 +0000 Subject: Moved usr/games and usr/libdata to basejail, saves ~100k --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ezjail-admin b/ezjail-admin index ea7e95c..f968e5e 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -263,7 +263,7 @@ setup|update) # This mkdir is important, since cpio will create intermediate # directories with permission 0700 which is bad mkdir -p ${ezjail_jailbase}/usr - for dir in bin boot lib libexec rescue sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do + for dir in bin boot lib libexec rescue sbin usr/bin usr/games usr/include usr/lib usr/libdata usr/libexec usr/sbin usr/src usr/share; do find ${dir} | cpio -d -p -v ${ezjail_jailbase} || exerr "Installation of ${dir} failed." chflags -R noschg ${dir}; rm -r ${dir}; ln -s /basejail/${dir} ${dir} done -- cgit v1.2.3