Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108997627
D38317.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
D38317.diff
View Options
diff --git a/tools/boot/full-test.sh b/tools/boot/full-test.sh
--- a/tools/boot/full-test.sh
+++ b/tools/boot/full-test.sh
@@ -170,10 +170,7 @@
cat > ${dir}/boot/loader.conf <<EOF
comconsole_speed=115200
autoboot_delay=2
-# XXXX TEST with arm64 iso...
-#vfs.root.mountfrom="cd9660:/dev/iso9660/13_1_RELEASE_AARCH64_BO"
-# XXX not so good for ZFS, what to do?
-vfs.root.mountfrom="ufs:/dev/ufs/root"
+zfs_load="YES"
boot_verbose=yes
kern.cfg.order="acpi,fdt"
EOF
@@ -282,7 +279,7 @@
pool="linuxboot"
mkdir -p ${IMAGES}/${ma_combo}
makefs -t msdos -o fat_type=32 -o sectors_per_cluster=1 \
- -o volume_label=EFISYS -s100m ${esp} ${src}
+ -o volume_label=EFISYS -s80m ${esp} ${src}
makefs -t ffs -B little -s 200m -o label=root ${ufs} ${dir} ${dir2}
mkimg -s gpt -p efi:=${esp} -p freebsd-ufs:=${ufs} -o ${img}
makefs -t zfs -s 200m \
@@ -444,6 +441,10 @@
ufs=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.ufs
img=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.img
mkdir -p ${IMAGES}/${ma_combo}
+ mkdir -p ${dir2}/etc
+ cat > ${dir2}/etc/fstab <<EOF
+/dev/ufs/root / ufs rw 1 1
+EOF
makefs -t msdos -o fat_type=32 -o sectors_per_cluster=1 \
-o volume_label=EFISYS -s100m ${esp} ${src}
makefs -t ffs -B little -s 200m -o label=root ${ufs} ${dir} ${dir2}
@@ -488,6 +489,10 @@
ufs=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.ufs
img=${IMAGES}/${ma_combo}/freebsd-${ma_combo}.img
mkdir -p ${IMAGES}/${ma_combo}
+ mkdir -p ${dir2}/etc
+ cat > ${dir2}/etc/fstab <<EOF
+/dev/ufs/root / ufs rw 1 1
+EOF
makefs -t ffs -B big -s 200m \
-o label=root,version=2,bsize=32768,fsize=4096,density=16384 \
${ufs} ${dir} ${dir2}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 31, 11:10 AM (14 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16361582
Default Alt Text
D38317.diff (1 KB)
Attached To
Mode
D38317: test: Add fstab to all ufs images
Attached
Detach File
Event Timeline
Log In to Comment