|
|
@ -54,9 +54,11 @@ sheba_activate_vserver() { |
|
|
|
cat <<-EOT > $defaults/scripts/post-start |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
. $libdir/util-vserver/util-vserver-vars |
|
|
|
|
|
|
|
# mount devpts after /dev was populated |
|
|
|
# |
|
|
|
mount -t devpts -o gid=5,mode=620 none dev/pts |
|
|
|
\$_SECURE_MOUNT -t devpts -o gid=5,mode=620,dev --chroot none /dev/pts |
|
|
|
EOT |
|
|
|
|
|
|
|
chmod +x $defaults/scripts/{pre,post}-start |
|
|
@ -70,4 +72,4 @@ sheba_activate_vserver() { |
|
|
|
|
|
|
|
hook_add postmake 5 'sheba_activate_vserver' |
|
|
|
|
|
|
|
var_append patchfile ' ' $base/target/$target/patches/$pkg.patch |
|
|
|
var_append patchfiles ' ' $base/target/$target/patches/$pkg.patch |