Changeset dfe938d


Ignore:
Timestamp:
07/10/13 06:40:12 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
f7f168f
Parents:
7135658
Message:

Fix some issues when grub is looking for zpool.cache elsewhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-sysinstall/backend/functions-unmount.sh

    r88e7386 rdfe938d  
    237237 
    238238  # Make sure to copy zpool.cache first 
    239   rc_nohalt "cp /boot/zfs/zpool.cache ${FSMNT}/boot/zfs/" 
     239  if [ ! -d "${FSMNT}/boot/zfs/" ] ; then  
     240     rc_halt "mkdir ${FSMNT}/boot/zfs" 
     241  fi 
     242  rc_halt "cp /boot/zfs/zpool.cache ${FSMNT}/boot/zfs/" 
     243  rc_halt "ln -s ../zfs ${FSMNT}/boot/kernel/zfs" 
    240244 
    241245  # Copy the hostid so that our zfs cache works 
Note: See TracChangeset for help on using the changeset viewer.