NetBSD-Users archive

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

Re: Install kernel and userland without source?



On 02/09, Greg Troxel wrote:
> 
> "J. Lewis Muir" <jlmuir%imca-cat.org@localhost> writes:
> 
> > I have an amd64 router running the netbsd-8 stable branch that does not
> > have sources and does not have pkgsrc, and I'd like to build the kernel
> > and userland from source on another machine and then install them on the
> > router; how do I do that?
> 
> If you mean "update" rather than "install,

Yes, I mean "update."  Sorry to have been unclear on that.

> see pkgsrc/systils/etcmanage.
> It will be slightly hard to get your head around, but then it can be
> used to install a build and update the files in /etc, preserving local
> changes, automatically.
>
> It may not do what you want, but I think it might.  It does what I want,
> for some reason :-)

Yes, funny how that works.

I have used etcmanage in the past, and indeed it does do everything I
want!  However, I went looking for the website for it and couldn't find
it.  The Makefile HOMEPAGE variable is set to

  http://www.ir.bbn.com/~gdt/etcmanage/

but it's commented out, and the hostname doesn't resolve in DNS at the
moment.  So, it's a little difficult to find out more about it and look
at the source code at the moment.  (I assume the distribution file is on
the pkgsrc servers, though.)

And it requires Perl, so it basically requires pkgsrc, or at least
pkgsrc binaries, and so far I hadn't required that.  And I was trying
to be very vanilla and only use standard tools (i.e., build.sh).  But
it could be that all that is a foolish aim, and I should just install
etcmanage via pkgin and get on with things.

Thanks!

Lewis


Home | Main Index | Thread Index | Old Index