fix bug to automatically set fsscript to 755 in the chroot so that it can always...
authorJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 15:15:22 +0000 (15:15 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Tue, 13 Jul 2004 15:15:22 +0000 (15:15 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@415 d1e1f19c-881f-0410-ab34-b69fee027534

livecd/runscript/default-runscript.sh

index 133143601b7050903c4a2b87e390bf36659f61fe..c2f970cd118873c104fbbe9553762f321e9f8d7e 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.14 2004/07/13 14:01:50 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/livecd/runscript/Attic/default-runscript.sh,v 1.15 2004/07/13 15:15:22 zhen Exp $
 
 #return codes to be used by archscript
 die() {
@@ -140,6 +140,7 @@ case $1 in
                if [ -n "${clst_livecd_fsscript}" ]
                then
                        cp ${clst_livecd_fsscript} ${clst_chroot_path}/tmp/fsscript.sh
+                       chmod 755 ${clst_chroot_path}/tmp/fsscript.sh
                        ${clst_CHROOT} ${clst_chroot_path} /tmp/fsscript.sh || exit 1
                        rm -f ${clst_chroot_path}/tmp/fsscript.sh
                fi