diff options
author | erdgeist <erdgeist@erdgeist.org> | 2006-03-15 12:47:56 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2006-03-15 12:47:56 +0000 |
commit | 9cbb2d786e12bec46e7a4c7cbfa7e84b9496a9c4 (patch) | |
tree | 597f231e914ecadfbca61209f5e464fb1127d677 | |
parent | f17039a851d71e269474a58b660a67bbcf9a6bfc (diff) |
Moved usr/games and usr/libdata to basejail, saves ~100k
-rwxr-xr-x | ezjail-admin | 2 |
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 |