Skip to content

Commit 870731e

Browse files
committed
fixup! feat(core): add ROOTFS_TYPE=nfs-root for full network boot
1 parent 3cb8298 commit 870731e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/functions/image/rootfs-to-image.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ function create_image_from_sdcard_rootfs() {
186186
# unset MOUNT # don't unset, it's readonly now
187187

188188
# nfs-root: no local storage image. Kernel/DTB/initrd are already staged for TFTP
189-
# by the netboot extension (pre_umount_final_image hook), and rootfs lives in the
190-
# archive or ROOTFS_EXPORT_DIR tree — both written directly to ${DEST}/images.
189+
# by the netboot extension (pre_umount_final_image hook). Rootfs lands in the
190+
# archive under ${FINALDEST} (when ROOTFS_COMPRESSION != none) and/or in the
191+
# user-selected ${ROOTFS_EXPORT_DIR}, which may live outside ${FINALDEST}.
191192
# Drop SDCARD.raw and skip the .img pipeline (write-to-SD, fingerprint, compress).
192193
if [[ "${ROOTFS_TYPE}" == "nfs-root" ]]; then
193194
display_alert "nfs-root" "no local storage image produced" "info"

0 commit comments

Comments
 (0)