tech-userlevel archive

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

Re: Moving rc.d scripts to base.tgz



On Sat, 16 Apr 2011 22:29:31 +0100
Julio Merino <jmmv%NetBSD.org@localhost> wrote:

> On Sat, Apr 16, 2011 at 10:05 PM, Matthew Mondor
> <mm_lists%pulsar-zone.net@localhost> wrote:
> > On Thu, 14 Apr 2011 17:34:02 +0100
> > Julio Merino <jmmv%julipedia.org@localhost> wrote:
> >
> >> (If we had a "system updater" script, we'd just put all this logic into 
> >> it.)
> >
> > postinstall, etcupdate couldn't do this?
> 
> Unfortunately not; they are only run *after* the sets are unpacked.
> If we moved the files from etc.tgz to base.tgz without changing their
> path, you'd have already lost your custom modifications before you
> even run etcupdate or postinstall.

I agree; how about extracting the new official rc scripts in another
directory as suggested by dholland or markucz?

Thanks,
-- 
Matt


Home | Main Index | Thread Index | Old Index