From: Barış Metin Date: Thu, 22 Apr 2010 09:55:57 +0000 (+0000) Subject: create symlinks instead of copying files X-Git-Tag: BootstrapFS-2.0-5~5 X-Git-Url: http://git.onelab.eu/?p=nodeimage.git;a=commitdiff_plain;h=6641c65727467ecc533f63effe9f19aa32c2230b create symlinks instead of copying files --- diff --git a/plc.d/packages b/plc.d/packages index 5afe7bf..ad8a5d9 100755 --- a/plc.d/packages +++ b/plc.d/packages @@ -55,8 +55,8 @@ case "$1" in if [[ $(basename $repository1) == ${DISTRO}* ]] \ && [[ $(basename $repository2) == ${DISTRO}* ]] \ && [[ $repository1 != $repository2 ]] ; then - cp -a $repository1/${VSERVER_PKG}* $repository2 - cp -a $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2 + ln -s $repository1/${VSERVER_PKG}* $repository2 + ln -s $repository1/${VSERVER_SYS_SLICES_PKG}* $repository2 fi done done