sysctl mandatory option for EFI
[zfsinstaller.git] / zfsinstall.sh
index b9004655a306771fc4202085446766c8a878fee8..b2cd44f56ff23691f9f330616ce62d558292d828 100644 (file)
@@ -19,6 +19,8 @@ fi
 
 
 
+sysctl kern.geom.part.mbr.enforce_chs=0
+
 for D in ${DESTDISKS}; do
        if [ -z "${DESTDISK_1}" ]; then
                DESTDISK_1=${D}
@@ -140,7 +142,7 @@ echo installing files into ${COPYCAT}
 install -o root -g wheel -d -m 0755 ${DESTDIR}${COPYCAT} || exit 1
 for I in *; do
         if [ -r "${I}" -a -f ${I} ]; then
-                       install  -o root -g wheel -m 0644 * ${DESTDIR}${COPYCAT}/
+                       install  -o root -g wheel -m 0644 ${I} ${DESTDIR}${COPYCAT}/
                fi
 done
 COPYCAT="/etc/rc.conf.d/network"