mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Layer Support in PTXdist
Date: Thu, 27 Sep 2018 10:27:19 +0200	[thread overview]
Message-ID: <20180927082719.wxkdtjw7xt5dudm7@pengutronix.de> (raw)
In-Reply-To: <40F3A5C5-5931-4834-99CD-FFE4C34F92B3@clixxun.com>

On Thu, Sep 27, 2018 at 10:06:09AM +0200, Roland Peffer wrote:
> I have not tried to set up a layer yet, but at least some questions popped up in my mind:
> 
> 1) How to create a layer, Do I have to create the base folder and content
> manually, or is there some command or script?

Manually. A layer without any changes is just an empty directory, so I'm
not sure what a command or script would create.

> 2.) How do I call the ptxmenu to configure differences in a layer. E.g.
> cd ./base and then ptxdist menu

Yes exactly. Each layer is like a BSP. Just 'cd' into the layer and you can
call all PTXdist commands.

> 3) Is the layer folder name always “base"? E.g. I have various products
> that I want to handle by layers. Do I have to create corresponding
> folders for each product  and a switch to them a symbolic link named base
> to activate them?

It's always 'base'. If I understand your use-case correctly, then you
should reverse the stacking order:

CommonLayer/ # shared stuff
Product-A/   # stuff for this product
Product-A/base -> ../CommonLayer/ # reuse the shared layer
Product-B/   # stuff for this product
Product-B/base -> ../CommonLayer/ # reuse the shared layer

> These questions and maybe more where the case why I asked for a tutorial
> how to create and configure a layer.

I understand. I'd like to have a section in the 'Daily Work' chapter, with
an example like this. Not sure when I find the time for this.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2018-09-27  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-21 20:36 Michael Olbrich
2018-09-22  6:36 ` Roland Peffer
2018-09-27  7:51   ` Michael Olbrich
2018-09-27  8:06     ` Roland Peffer
2018-09-27  8:27       ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180927082719.wxkdtjw7xt5dudm7@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox