Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IMAGEMB settings

jnemeth@ wrote:

>      Speaking of the liveimage, is there any reason that it doesn't
> contain the install sets?

Because there was no comment against patches in the original PR/45153?

> I put the liveimage onto a thumb drive.
> It's handy for when I'm at a location that only has Windows and I need
> something with better tools.  But, there are times I may also want to
> do an installation and I shouldn't need to carry two thumb drives.  I
> did place the install sets on my thumb drive, but it would be nice to
> have them there out of the box.

There are pros and cons.  The pros are what you mentioned, and
the cons are longer downloading time and less free space (~300MB)
in ~2GB images.

The main purpose of the liveimage is to provide easy trial environment
of NetBSD without complicated sysinst (that has no CJK translations)
and most such novice NetBSD users won't need installation binary sets.
On the other hand, downloading binary sets (or having two memsticks)
is quite easier than whole installation ops.

If there is certain demand of "liveimage with installation binary sets",
you can still an option variable and add the following lines in
distrib/common/bootimage/Makefile.liveimage (untested):

Index: Makefile.liveimage
RCS file: /cvsroot/src/distrib/common/bootimage/Makefile.liveimage,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile.liveimage
--- Makefile.liveimage  22 Jan 2012 16:50:00 -0000      1.2
+++ Makefile.liveimage  30 Oct 2012 13:04:16 -0000
@@ -21,6 +21,14 @@ check_LIVEIMGBASE: .PHONY .NOTMAIN
+# XXX: no permission info for makefs(8)
+IMGDIR_EXCLUDE=        -s ',./installation/cdrom.*,,gp'
+IMGDIR_EXCLUDE+=       -s ',./installation/liveimage.*,,gp'
+IMGDIR_EXCLUDE+=       -s ',./installation/installimage.*,,gp'
 .include "${NETBSDSRCDIR}/distrib/common/bootimage/Makefile.bootimage"

Izumi Tsutsui

Home | Main Index | Thread Index | Old Index