On Tue, Mar 2, 2010 at 10:27 PM, Ron McDowell wrote:
> the $ver $VER and $ROOT are my own. For $DESTDIR, see
> http://openbsd.org/faq/faq5.html#Bld section 5.3.5:
>
> Make sure all the appropriate directories are created.
>
> # cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
>
> As a newbie
> > #!/bin/sh -x
> >
> > ver="46stable"
> > VER="OPENBSD_4_6"
> > root="/Stash/Sources"
> > DESTDIR=/
>
> Is this necessary or desirable? I ask because it is my impression
> that on NetBSD, DESTDIR="/" and DESTDIR unset is used to
> discriminate between a "full installation", including /etc and
> #!/bin/sh -x
>
> ver="46stable"
> VER="OPENBSD_4_6"
> root="/Stash/Sources"
> DESTDIR=/
Is this necessary or desirable? I ask because it is my impression
that on NetBSD, DESTDIR="/" and DESTDIR unset is used to
discriminate between a "full installation", including /etc and
what we're trying to
On Tue, Mar 2, 2010 at 4:30 PM, Hugo Villeneuve
wrote:
> On Tue, Mar 02, 2010 at 08:40:47PM +0100, Marc Espie wrote:
>> On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote:
>> > [...]
>>
>> #! /bin/sh
>> set -e
>
>> cd /usr/obj && rm -rf *
>> cd /usr/xobj && rm -rf *
>
> Stupid question: Is that
On Tue, Mar 02, 2010 at 08:40:47PM +0100, Marc Espie wrote:
> On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote:
> > [...]
>
> #! /bin/sh
> set -e
> cd /usr/obj && rm -rf *
> cd /usr/xobj && rm -rf *
Stupid question: Is that even necessary before building a kernel
on i386?
I know mac68k/m68
Thanks to everyone on-list and off- for their hints; snide remark
silently ignored. Today the entire build went fine using the same
scripts as yesterday... Tomas asked to see my scripts, here they are.
Note that /usr/obj is symlinked to /Stash/Sources/obj, and /usr/src is
symlinked to /Stash
On Tue, Mar 02, 2010 at 08:09:58PM +, Miod Vallat wrote:
> > That's why I don't get paid the big bucks... :) I will make the changes,
> > so I don't have to pull my hair out later...
>
> I can't stress enough how important it is to prevent things, especially
> computers, from causing severe
> That's why I don't get paid the big bucks... :) I will make the changes,
> so I don't have to pull my hair out later...
I can't stress enough how important it is to prevent things, especially
computers, from causing severe loss of hair.
Miod
On 3/2/2010 1:40 PM, Marc Espie wrote:
Never *ever* write this, even for your own purposes.
#! /bin/sh
set -e
cd /usr/obj&& rm -rf *
cd /usr/xobj&& rm -rf *
cd /usr/build&& rm -rf *
cp /usr/src/sys/arch/i386/conf/GENERIC.MP .
config -s /usr/src/sys -b . GENERIC.MP
make clean&& make depend&
On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote:
> #!/bin/sh
>
> cd /usr/obj
> rm -rf *
> cd /usr/xobj
> rm -rf *
> cd /usr/build
> rm -rf *
> cp /usr/src/sys/arch/i386/conf/GENERIC.MP .
> config -s /usr/src/sys -b . GENERIC.MP
> make clean && make depend && make && make install
Never *ever
On Tue, Mar 2, 2010 at 11:17 AM, Bryan wrote:
> On 3/2/2010 12:32 PM, Marc Espie wrote:
>>
>> No, it's more complicated than that. It obviously installs mk stuff, then
>> include, then it builds libs and install them, then it builds everything
>> else and installs it.
>>
>> It's not a complicated
On 3/2/2010 1:22 PM, Otto Moerbeek wrote:
ugh is ee bad scripting habits.
what happens if /usr/obj or one of the other dirs does not exist?
-Otto
I know Otto... I didn't write it for production purposes... yes, I'd
screw the pooch mightily if those directories did not exis
On Tue, Mar 02, 2010 at 01:17:09PM -0600, Bryan wrote:
> On 3/2/2010 12:32 PM, Marc Espie wrote:
> >
> >No, it's more complicated than that. It obviously installs mk stuff, then
> >include, then it builds libs and install them, then it builds everything
> >else and installs it.
> >
> >It's not a c
On 3/2/2010 12:32 PM, Marc Espie wrote:
No, it's more complicated than that. It obviously installs mk stuff, then
include, then it builds libs and install them, then it builds everything
else and installs it.
It's not a complicated bootstrap procedure like in freebsd land, it assumes
you alread
On Tue, Mar 02, 2010 at 03:15:30AM -0600, Ron McDowell wrote:
> My script builds the 4.6-release and 4.6-stable pulled 1/26. It
> chokes on 2 copies of 4.6-stable pulled today.
>
> As I've said, I don't care about the error at this point, I want to
> know how the build process works. Restating m
On 2010-03-02, Ron McDowell wrote:
> My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes
> on 2 copies of 4.6-stable pulled today.
>
> As I've said, I don't care about the error at this point, I want to know
> how the build process works. Restating my question:
>
> Does 'mak
On Tue, Mar 02, 2010 at 03:15:30AM -0600, Ron McDowell wrote:
> My script builds the 4.6-release and 4.6-stable pulled 1/26. It
> chokes on 2 copies of 4.6-stable pulled today.
>
> As I've said, I don't care about the error at this point, I want to
> know how the build process works. Restating m
Oh so, then post your script. And looks like you may be interested in
this too http://www.openbsd.org/cgi-bin/man.cgi?query=release&sektion=8
On Tue, Mar 2, 2010 at 10:15 AM, Ron McDowell wrote:
> My script builds the 4.6-release and 4.6-stable pulled 1/26. B It chokes on
2
> copies of 4.6-stable
[Not sure if netiquette on this list says trim off excess stuff or leave
it on...I'm leaving it on here this time. --rcm]
Scott McEachern wrote:
Ron McDowell wrote:
I'm relatively new to OpenBSD but have been working with FreeBSD for 15+
years and AT&T/USL before that.
Welcome.
Rebuilt the
My script builds the 4.6-release and 4.6-stable pulled 1/26. It chokes
on 2 copies of 4.6-stable pulled today.
As I've said, I don't care about the error at this point, I want to know
how the build process works. Restating my question:
Does 'make build' install each subdirectory as it trave
If you will follow exactly this manual
http://www.openbsd.org/stable.html then no problem for sure.
On Tue, Mar 2, 2010 at 9:04 AM, Ron McDowell wrote:
> Sorry, my mistake in wording. B I am indeed wanting to
> follow -stable here. Replace all my uses of 'world'
> below with 'build' and the same
On 2010-03-02, Ron McDowell wrote:
> I'm relatively new to OpenBSD but have been working with FreeBSD for 15+
> years and AT&T/USL before that.
>
> I have installed OpenBSD i386 v4.6 via a boot floppy and ftp.
> Installed the src and sys tarballs.
> Rebuilt the kernel, reboot, build World, reboot
Ron McDowell wrote:
I'm relatively new to OpenBSD but have been working with FreeBSD for 15+
years and AT&T/USL before that.
Welcome.
Rebuilt the kernel, reboot, build World, reboot.
make clean && make depend && make install is used for kernels, and make
build is used for userland. I do not
Sorry, my mistake in wording. I am indeed wanting to
follow -stable here. Replace all my uses of 'world'
below with 'build' and the same questions apply.
I was following http://www.openbsd.org/faq/faq5.html#Bld
which appears to be a superset of the link you sent.
--
Ron McDowell
San Antonio T
What are you trying to accomplish?
If you want to follow -stable then use this
http://www.openbsd.org/stable.html (no make world anywhere in text).
If you want your own kernel then it's not supported. You can do that,
but you are on your own. Still -current or snapshots are best way with
OpenBSD
I'm relatively new to OpenBSD but have been working with FreeBSD for 15+
years and AT&T/USL before that.
I have installed OpenBSD i386 v4.6 via a boot floppy and ftp.
Installed the src and sys tarballs.
Rebuilt the kernel, reboot, build World, reboot.
cvs -d anon...@anoncvs3.usa.openbsd.org:/cv
26 matches
Mail list logo