diff options
author | 2009-12-26 16:26:21 -0600 | |
---|---|---|
committer | 2009-12-26 16:26:21 -0600 | |
commit | 0302b4c9e4d8a6a9c2af8a634dffdce75c095566 (patch) | |
tree | 034ce1e25f64d8cb98cc99955beafd393d322931 /defaults | |
parent | Document how to roll a release for the next time. (diff) | |
download | genkernel-0302b4c9e4d8a6a9c2af8a634dffdce75c095566.tar.gz genkernel-0302b4c9e4d8a6a9c2af8a634dffdce75c095566.tar.bz2 genkernel-0302b4c9e4d8a6a9c2af8a634dffdce75c095566.zip |
Apply patch to make sure loop cache directory exists for Gentoo bug #297814
Diffstat (limited to 'defaults')
-rwxr-xr-x | defaults/initrd.scripts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index c5246d5f..5f611aa9 100755 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -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 |