Lines 187-193
cache_cd_contents() {
Link Here
|
187 |
good_msg "Copying loop file for caching..." |
187 |
good_msg "Copying loop file for caching..." |
188 |
# Verify that the needed directory exists |
188 |
# Verify that the needed directory exists |
189 |
mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})" |
189 |
mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})" |
190 |
cp -a ${NEW_ROOT}/mnt/cdrom/${LOOP} ${NEW_ROOT}/mnt/${LOOP} |
190 |
cp ${NEW_ROOT}/mnt/cdrom/${LOOP} ${NEW_ROOT}/mnt/${LOOP} |
191 |
if [ $? -ne 0 ] |
191 |
if [ $? -ne 0 ] |
192 |
then |
192 |
then |
193 |
bad_msg "Failed to cache the loop file! Lack of space?" |
193 |
bad_msg "Failed to cache the loop file! Lack of space?" |
194 |
- |
|
|