Subject: Re: creating the bootable iso image
To: John Nemeth <jnemeth@victoria.tc.ca>
From: Kamil Shakirov <kamils80@gmail.com>
List: netbsd-users
Date: 07/22/2005 17:20:48
Hi, John,
John Nemeth wrote:
> } Well, I built NetBSD 3.0 beta release doing the next steps in /usr/src:
> } ./build.sh -O ../build/obj -T ../build/tools -R ../build/release -x -u
> } -U tools
> } ./build.sh -O ../build/obj -T ../build/tools -R ../build/release -x -u
> } -U build
> } and finally:
> } ./build.sh -O ../build/obj -T ../build/tools -R ../build/release -x -u
> } -U release
>
> "release" implies "build" and you can do multiple ones at a time.
> I usually do "build.sh ... tools sourcesets release". I do
> "sourcesets" so that when I install it on a machine, I have the sources
> used to create the image available.
Thanks, I will do so next time. ;-)
> } But I wanted to create a bootable CD image and I tried to make it doing:
> } cd /usr/src/etc
> } make DESTDIR=/usr/build/obj/destdir.i386 RELEASEDIR=/usr/build/release
> } iso-image
> }
> You can just create the image manually with:
>
> mkisofs -b i386/installation/floppy/boot-big.fs -J -o NetBSD-${today}.iso -r -V "NetBSD-current (${today})" -v releasedir
>
> I pulled this line from one of my scripts. ${today} is the current
> date in yyyymmdd format. That way I know what day I did the build.
I think of writing my own scripts too. thanks a lot!