diff options
author | Matt Macy <mmacy@FreeBSD.org> | 2020-08-25 02:21:27 +0000 |
---|---|---|
committer | Matt Macy <mmacy@FreeBSD.org> | 2020-08-25 02:21:27 +0000 |
commit | 9e5787d2284e187abb5b654d924394a65772e004 (patch) | |
tree | 2ebf833af6b1953d4a683e2da830fe87bf3435e1 /tools/boot | |
parent | 22df1ffd812f0395cdb7c0b1edae1f67b991562a (diff) | |
download | src-9e5787d2284e187abb5b654d924394a65772e004.tar.gz src-9e5787d2284e187abb5b654d924394a65772e004.zip |
Notes
Diffstat (limited to 'tools/boot')
-rwxr-xr-x | tools/boot/rootgen.sh | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/tools/boot/rootgen.sh b/tools/boot/rootgen.sh index a42a12fc4420..eb340d96ce83 100755 --- a/tools/boot/rootgen.sh +++ b/tools/boot/rootgen.sh @@ -107,12 +107,12 @@ mk_nogeli_gpt_zfs_legacy() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -146,12 +146,12 @@ mk_nogeli_gpt_zfs_uefi() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -186,12 +186,12 @@ mk_nogeli_gpt_zfs_both() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -268,12 +268,12 @@ mk_nogeli_mbr_zfs_legacy() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -310,12 +310,12 @@ mk_nogeli_mbr_zfs_uefi() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -352,12 +352,12 @@ mk_nogeli_mbr_zfs_both() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko # end tweaks zfs umount -f ${pool}/ROOT/default zfs set mountpoint=none ${pool}/ROOT/default @@ -507,13 +507,13 @@ mk_geli_gpt_zfs_legacy() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES geom_eli_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko cp /boot/kernel/geom_eli.ko ${mntpt}/boot/kernel/geom_eli.ko # end tweaks zfs umount -f ${pool}/ROOT/default @@ -556,13 +556,13 @@ mk_geli_gpt_zfs_uefi() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat >> ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES geom_eli_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko cp /boot/kernel/geom_eli.ko ${mntpt}/boot/kernel/geom_eli.ko # end tweaks zfs umount -f ${pool}/ROOT/default @@ -601,13 +601,13 @@ mk_geli_gpt_zfs_both() { cpsys ${src} ${mntpt} # need to make a couple of tweaks cat > ${mntpt}/boot/loader.conf <<EOF +cryptodev_load=YES zfs_load=YES -opensolaris_load=YES geom_eli_load=YES EOF cp /boot/kernel/acl_nfs4.ko ${mntpt}/boot/kernel/acl_nfs4.ko + cp /boot/kernel/cryptodev.ko ${mntpt}/boot/kernel/cryptodev.ko cp /boot/kernel/zfs.ko ${mntpt}/boot/kernel/zfs.ko - cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko cp /boot/kernel/geom_eli.ko ${mntpt}/boot/kernel/geom_eli.ko # end tweaks zfs umount -f ${pool}/ROOT/default |