From cd2d7b4e4b0b454f7d23c803868f172482f09967 Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Tue, 13 Jul 2004 15:15:22 +0000 Subject: [PATCH] fix bug to automatically set fsscript to 755 in the chroot so that it can always be executed git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@415 d1e1f19c-881f-0410-ab34-b69fee027534 --- livecd/runscript/default-runscript.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/livecd/runscript/default-runscript.sh b/livecd/runscript/default-runscript.sh index 13314360..c2f970cd 100644 --- a/livecd/runscript/default-runscript.sh +++ b/livecd/runscript/default-runscript.sh @@ -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 -- 2.26.2