Apply patch to make sure loop cache directory exists for Gentoo bug #297814

cleanup-cruft
Andrew Gaffney 15 years ago
parent fb256190bb
commit 0302b4c9e4

@ -5,6 +5,10 @@
# Distributed under the GPL v2
# $Id$
26 Dec 2009; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Apply patch to make sure loop cache directory exists for Gentoo bug
#297814
17 Dec 2009; Robin H. Johnson <robbat2@gentoo.org> HACKING:
Document how to roll a release for the next time.

@ -175,6 +175,8 @@ cache_cd_contents() {
# z=$(($z + $i)) ; done
# echo $z
good_msg "Copying loop file for caching..."
# Verify that the needed directory exists
mkdir -p "$(dirname ${NEW_ROOT}/mnt/${LOOP})"
cp -a ${NEW_ROOT}/mnt/cdrom/${LOOP} ${NEW_ROOT}/mnt/${LOOP}
if [ $? -ne 0 ]
then

Loading…
Cancel
Save