Lines Matching +full:boot +full:- +full:partitions
2 #-
4 # Copyright (c) 2013-2015 Devin Teske
40 # PARTITIONS
45 # Default name of the ZFS boot-pool
70 [ -f "$PATH_FSTAB" ] || exit
82 set -e
89 rm -rf $BSDINSTALL_TMPETC
91 rm -f $TMPDIR/bsdinstall-installscript-setup
96 "$SCRIPT" $TMPDIR/bsdinstall-installscript-setup \
97 >$TMPDIR/bsdinstall-installscript-preamble
99 . $TMPDIR/bsdinstall-installscript-preamble
103 # Re-initialize a new log if preamble changed BSDINSTALL_LOG
111 # Make partitions
112 rm -f $PATH_FSTAB
117 bsdinstall scriptedpart "$PARTITIONS"
125 exec 5>&-
127 [ $FETCH_RESULT -ne 0 ] && error "Could not fetch remote distributions"
131 if [ -t 0 ]; then
139 # inability to set ctime/mtime on the root of FAT partitions,
140 # which is needed to support e.g. EFI system partitions. tar has
146 # case of EFI system partitions only. This *ONLY WORKS* if
147 # /boot/efi is empty and does not handle analagous problems on
149 tar -xf "$BSDINSTALL_DISTDIR/$set" -C $BSDINSTALL_CHROOT --exclude boot/efi
150 mkdir -p $BSDINSTALL_CHROOT/boot/efi
161 if [ ! -f $BSDINSTALL_CHROOT/etc/resolv.conf -a -f /etc/resolv.conf ]; then
165 # Run post-install script
166 if [ -f $TMPDIR/bsdinstall-installscript-setup ]; then
167 cp $TMPDIR/bsdinstall-installscript-setup \
182 trap - EXIT