Date: Mon, 06 Apr 2015 03:32:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 199191] Allow _.disk.image name to be specified Message-ID: <bug-199191-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199191 Bug ID: 199191 Summary: Allow _.disk.image name to be specified Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: ask@develooper.com I build several slightly different images from my nanobsd build; this small patch makes it faster. The change makes a tiny bit more sense with an optional option to create_image to specify a suffix for the log file. I'm not sure if it's worth including though. --- /usr/gsrc/freebsd/tools/tools/nanobsd/nanobsd.sh 2014-12-14 06:36:35.000000000 +0000 +++ /x/nanobsd/nanobsd.sh 2015-04-05 16:06:22.000000000 +0000 @@ -66,6 +66,7 @@ # The default name for any image we create. NANO_IMGNAME="_.disk.full" +NANO_IMG1NAME="_.disk.image" # Options to put in make.conf during buildworld only CONF_BUILD=' ' @@ -650,8 +654,8 @@ fi if ${do_copyout_partition} ; then - echo "Writing out _.disk.image..." - dd conv=sparse if=/dev/${MD}s1 of=${NANO_DISKIMGDIR}/_.disk.image bs=64k + echo "Writing out ${NANO_IMG1NAME}_..." + dd conv=sparse if=/dev/${MD}s1 of=${NANO_DISKIMGDIR}/${NANO_IMG1NAME} bs=64k fi mdconfig -d -u $MD -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199191-8>