summaryrefslogtreecommitdiff
path: root/ezjail-admin
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2006-03-15 12:47:56 +0000
committererdgeist <erdgeist@erdgeist.org>2006-03-15 12:47:56 +0000
commit9cbb2d786e12bec46e7a4c7cbfa7e84b9496a9c4 (patch)
tree597f231e914ecadfbca61209f5e464fb1127d677 /ezjail-admin
parentf17039a851d71e269474a58b660a67bbcf9a6bfc (diff)
Moved usr/games and usr/libdata to basejail, saves ~100k
Diffstat (limited to 'ezjail-admin')
-rwxr-xr-xezjail-admin2
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin
index ea7e95c..f968e5e 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -263,7 +263,7 @@ setup|update)
263 # This mkdir is important, since cpio will create intermediate 263 # This mkdir is important, since cpio will create intermediate
264 # directories with permission 0700 which is bad 264 # directories with permission 0700 which is bad
265 mkdir -p ${ezjail_jailbase}/usr 265 mkdir -p ${ezjail_jailbase}/usr
266 for dir in bin boot lib libexec rescue sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do 266 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
267 find ${dir} | cpio -d -p -v ${ezjail_jailbase} || exerr "Installation of ${dir} failed." 267 find ${dir} | cpio -d -p -v ${ezjail_jailbase} || exerr "Installation of ${dir} failed."
268 chflags -R noschg ${dir}; rm -r ${dir}; ln -s /basejail/${dir} ${dir} 268 chflags -R noschg ${dir}; rm -r ${dir}; ln -s /basejail/${dir} ${dir}
269 done 269 done