Ignore:
Timestamp:
06/19/13 10:19:56 (17 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
93f0e87
Parents:
5e24b28
Message:

Make pc-sysinstall aware of a possible beadm.install custom version
to use when installing with GRUB boot-loader

File:
1 edited

Legend:

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

    rcce092d re3f032f  
    229229  rc_halt "mount -t devfs devfs ${FSMNT}/dev" 
    230230 
     231  # Check for a custom beadm.install to copy before we run grub 
     232  if [ -e "/root/beadm.install" ] ; then 
     233     rc_halt "cp /root/beadm.install ${FSMNT}/root/beadm.install" 
     234     rc_halt "chmod 755 ${FSMNT}/root/beadm.install" 
     235  fi 
     236 
    231237  # Make sure to copy zpool.cache first 
    232238  rc_nohalt "cp /boot/zfs/zpool.cache ${FSMNT}/boot/zfs/" 
     
    254260 
    255261  # Sleep and cleanup 
     262  if [ -e "${FSMNT}/root/beadm.install" ] ; then 
     263     rc_halt "rm ${FSMNT}/root/beadm.install" 
     264  fi 
    256265  sleep 5 
    257266  rc_halt "umount ${FSMNT}/dev" 
Note: See TracChangeset for help on using the changeset viewer.