Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146615400
D15699.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D15699.diff
View Options
Index: head/tools/boot/rootgen.sh
===================================================================
--- head/tools/boot/rootgen.sh
+++ head/tools/boot/rootgen.sh
@@ -96,7 +96,7 @@
# install-boot will make this bootable
zpool create -O mountpoint=none -R ${mntpt} ${pool} ${md}p2
zpool set bootfs=${pool} ${pool}
- zfs create -o mountpoint=/ ${pool}/ROOT
+ zfs create -po mountpoint=/ ${pool}/ROOT/default
# NB: The online guides go nuts customizing /var and other mountpoints here, no need
cpsys ${src} ${mntpt}
df
@@ -109,9 +109,9 @@
cp /boot/kernel/opensolaris.ko ${mntpt}/boot/kernel/opensolaris.ko
ls -las ${mntpt}/boot
# end tweaks
- zfs umount -f ${pool}/ROOT
- zfs set mountpoint=none ${pool}/ROOT
- zpool set bootfs=${pool}/ROOT ${pool}
+ zfs umount -f ${pool}/ROOT/default
+ zfs set mountpoint=none ${pool}/ROOT/default
+ zpool set bootfs=${pool}/ROOT/default ${pool}
zpool set autoexpand=on ${pool}
zpool export ${pool}
${SRCTOP}/tools/boot/install-boot.sh -g ${geli} -s ${scheme} -f ${fs} -b ${bios} -d ${src} ${md}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 5, 3:19 AM (20 h, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29268842
Default Alt Text
D15699.diff (1 KB)
Attached To
Mode
D15699: Change rootgen to use the default boot environment name
Attached
Detach File
Event Timeline
Log In to Comment