From fc197aad3f587920f889fe84c5a99177913da89c Mon Sep 17 00:00:00 2001 From: Tim Yamin Date: Sun, 28 Mar 2004 22:23:21 +0000 Subject: [PATCH] Applied the fixed for ``docache'' to work properly on zisofs. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@101 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- generic/linuxrc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/generic/linuxrc b/generic/linuxrc index 2648005..a6d1e70 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -235,13 +235,13 @@ then check_loop if [ "${DO_cache}" ] then - echo "${GOOD}>>${NORMAL}${BOLD} Copying loop file for caching...${NORMAL}" - cp /newroot/mnt/cdrom/${LOOP} /newroot/mnt/${LOOP} + echo -e "${GOOD}>>${NORMAL}${BOLD} Copying loop file for caching...${NORMAL}" + cp -a /newroot/mnt/cdrom/${LOOP} /newroot/mnt/${LOOP} if [ $? -ne 0 ] then - echo "${BAD}!!${NORMAL}${BOLD} Failed to cache the loop file! Lack of space?" - rm /newroot/mnt/livecd.* 2>/dev/null - rm /newroot/mnt/zisofs 2>/dev/null + echo -e "${BAD}!!${NORMAL}${BOLD} Failed to cache the loop file! Lack of space?" + rm -rf /newroot/mnt/livecd.* 2>/dev/null + rm -rf /newroot/mnt/zisofs 2>/dev/null else LOOPEXT="../" fi @@ -295,7 +295,7 @@ then FS_LOCATION="mnt/cdrom" fi - echo "${GOOD}>>${NORMAL}${BOLD} Filling filesystem...${NORMAL}" + echo -e "${GOOD}>>${NORMAL}${BOLD} Filling filesystem...${NORMAL}" for x in ${ROOT_LINKS} do ln -s "${FS_LOCATION}/${x}" "${x}" -- 2.26.2