[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH 03/15] Copy /etc and /var from /mnt/runtime to the root filesystem.



On Thu, 2007-12-06 at 16:18 -0500, Bill Nottingham wrote:
> Bill Nottingham (notting redhat com) said: 
> > Jeremy Katz (katzj redhat com) said: 
> > > Oh, I think I'm following you now.  Because there's now /etc in stage1
> > > and stage2 and different things need from one vs the other?  What if we
> > > just had a copy of the files which are in the initrd in both places.
> > > Then we could just move over /mnt/runtime/etc like we do today.  I can't
> > > imagine the space hit being that significant
> > 
> > You want to prefer the stage2 /etc/passwd and /etc/group, but other than that,
> > copying stage1 over to stage2 and switching should work fine.
> 
> Updated patchset:

> commit 6f5bcc6457d5fd3fe0b4f3846515d35743a68575
> Author: Bill Nottingham <notting redhat com>
> Date:   Thu Dec 6 16:08:47 2007 -0500
> 
>     Copy /var from stage2 to stage1, use /mnt/runtime/etc as /etc
>     
>     Apps running in the second stage may expect to have 'normal' files in
>     /etc or /var. We use /mnt/runtime/etc as /etc, but only after copying
>     over the stage1 /etc. 

Don't you want to do this copy when building the images?  The squashfs
won't be writable.  That or I've been looking at this thread for too
long

Jeremy


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]