diff options
author | erdgeist <erdgeist@erdgeist.org> | 2005-11-09 11:38:34 +0000 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2005-11-09 11:38:34 +0000 |
commit | 74fdbaca2c639027cfbbc2e04cce4e62594dba1f (patch) | |
tree | 89d42b4862b6a213e1fe0efac616194331274caa | |
parent | 6997bc938a6056f639811257e7a8aa308e0f1340 (diff) |
Create config directory in basejail
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index e53e01b..4acb4c2 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -229,7 +229,7 @@ update) | |||
229 | make distribution DESTDIR=${ezjail_jailfull} | 229 | make distribution DESTDIR=${ezjail_jailfull} |
230 | 230 | ||
231 | cd ${ezjail_jailfull} | 231 | cd ${ezjail_jailfull} |
232 | mkdir -p ${ezjail_jailbase}/usr | 232 | mkdir -p ${ezjail_jailbase}/usr ${ezjail_jailbase}/config/pkg |
233 | for a in bin sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do | 233 | for a in bin sbin usr/bin usr/include usr/lib usr/libexec usr/sbin usr/src usr/share; do |
234 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; | 234 | find ${a} | cpio -d -p -v ${ezjail_jailbase}; |
235 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} | 235 | chflags -R noschg ${a}; rm -r ${a}; ln -s /basejail/${a} ${a} |