[Lunar-commits] <lunar-iso> use ln for spool

Peter de Ridder peter at lunar-linux.org
Mon Sep 16 17:33:15 CEST 2013


On Mon, Sep 16, 2013 at 1:10 PM, v4hn <v4hn at lunar-linux.org> wrote:

> Heya,
>
> I'm not sure this is a good idea as it requires
> both spools to be on the same partition.
> It's not too absurd to mount /var/spool to
> a separate partition.
>

It uses hard links between lunar-iso/spool and
lunar-iso/BUILD/var/spool/lunar. This is independant of the host's
/var/spool.


> Could softlinks work here as well?
>

Soft links won't work with lunar-iso/BUILD/var/spool/lunar as this is used
inside a chroot.


> Otherwise you have to document this change at least.
>
> Thanks for keeping up the work on the iso!
>
>
> v4hn
>
> On Mon, Sep 16, 2013 at 12:57:13PM +0200, Peter de Ridder wrote:
> > commit 377c87e97c4bc0af9d429ee5b7ddb3690ee080ba
> > Author: Peter de Ridder <peter at lunar-linux.org>
> > Date: Mon, 16 Sep 2013 03:55:48 -0700
> > URL:
> https://github.com/lunar-linux/lunar-iso/commit/377c87e97c4bc0af9d429ee5b7ddb3690ee080ba
> >
> > use ln for spool
> > ---
> >   mkfiles/stage1.mk | +1/-1
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > --- a/mkfiles/stage1.mk
> > +++ b/mkfiles/stage1.mk
> > @@ -9,7 +9,7 @@ stage1: stage1-cache
> >  $(ISO_TARGET)/.stage1-spool: download
> >       @echo stage1-spool
> >       @mkdir -p $(ISO_TARGET)/var/spool/lunar
> > -     @cp $(ISO_SOURCE)/spool/* $(ISO_TARGET)/var/spool/lunar/
> > +     @ln $(ISO_SOURCE)/spool/* $(ISO_TARGET)/var/spool/lunar/
> >       @touch $@
> >
> >  stage1-spool: $(ISO_TARGET)/.stage1-spool
>
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://foo-projects.org/pipermail/lunar-dev/attachments/20130916/26e2436c/attachment.html>


More information about the Lunar-dev mailing list