Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163490311
D57222.id.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
D57222.id.diff
View Options
diff --git a/tools/tools/nanobsd/legacy.sh b/tools/tools/nanobsd/legacy.sh
--- a/tools/tools/nanobsd/legacy.sh
+++ b/tools/tools/nanobsd/legacy.sh
@@ -178,7 +178,7 @@
nano_makefs "-DxZ ${NANO_MAKEFS} -o minfree=0,optimization=space" \
"${NANO_METALOG}" "$(( CODE_SIZE - METADATA_SECTS ))" \
"${NANO_OBJ}/_.disk.part" "${NANO_WORLDDIR}"
- mkimg -s bsd \
+ mkimg -s bsd -S 512 --capacity $(( CODE_SIZE * 512 )) \
${bootcode} \
-p freebsd-ufs:="${NANO_OBJ}/_.disk.part" \
-o "${IMG}"
@@ -318,7 +318,7 @@
if [ -f "${NANO_WORLDDIR}/boot/boot" ]; then
bootcode="-b ${NANO_WORLDDIR}/boot/boot"
fi
- mkimg -s bsd \
+ mkimg -s bsd -S 512 --capacity $(( CODE_SIZE * 512 )) \
${bootcode} \
-p freebsd-ufs:="${NANO_OBJ}/_.altroot.part" \
-o "${NANO_OBJ}/_.altroot.image"
@@ -350,7 +350,7 @@
fi
echo "Writing out ${NANO_IMGNAME}..."
- mkimg -s mbr \
+ mkimg -s mbr -S 512 --capacity $(( NANO_MEDIASIZE * 512 )) \
${bootloader} \
${diskimage} \
${altroot} \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 24, 5:53 PM (18 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33570960
Default Alt Text
D57222.id.diff (1 KB)
Attached To
Mode
D57222: nanobsd: Explicitly set image size and secsz in mkimg
Attached
Detach File
Event Timeline
Log In to Comment