SOURCES: vserver-distro-gentoo.patch - append portage mounts to fstab
glen
glen at pld-linux.org
Mon Oct 10 18:12:45 CEST 2005
Author: glen Date: Mon Oct 10 16:12:45 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- append portage mounts to fstab
---- Files affected:
SOURCES:
vserver-distro-gentoo.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/vserver-distro-gentoo.patch
diff -u SOURCES/vserver-distro-gentoo.patch:1.1 SOURCES/vserver-distro-gentoo.patch:1.2
--- SOURCES/vserver-distro-gentoo.patch:1.1 Sun Oct 9 00:49:56 2005
+++ SOURCES/vserver-distro-gentoo.patch Mon Oct 10 18:12:40 2005
@@ -25,3 +25,21 @@
[ -z "${portdir}" ] && die "host has no portage tree!"
+--- ./tools/vserver-new~ 2005-10-09 04:11:57.339583330 +0300
++++ ./tools/vserver-new 2005-10-09 04:12:11.526532042 +0300
+@@ -118,7 +118,14 @@
+ ${interfaceopts} \
+ --initstyle plain
+ eend $? || ${target}_clean 2
+-
++
++ cat >> "/etc/vservers/${dst}/fstab" <<-EOF
++
++# shared portage tree
++#/usr/portage /usr/portage none bind,ro 0 0
++#/usr/portage/distfiles /usr/portage/distfiles none bind,rw 0 0
++EOF
++
+ rm -rf ${dst_vdir}/*
+
+ if [ $dst_vdir_mount -eq 0 ]; then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/vserver-distro-gentoo.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list