All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: YP docs mailing list <docs@lists.yoctoproject.org>
Subject: explaining "wks.in" files in wic docs
Date: Mon, 16 Aug 2021 04:18:20 -0400 (EDT)	[thread overview]
Message-ID: <7b41399f-3d17-d676-4e11-6686f73c3b8@crashcourse.ca> (raw)


  a related number of issues related to explaining the existence of --
and rationale for -- "wks.in" files. at the moment, i see nothing in
this section:

http://docs.yoctoproject.org/dev-manual/common-tasks.html#creating-partitioned-images-using-wic

that covers the possibility of "wks.in" files (unless i totally missed
it).

  down in section 3.16.5:

http://docs.yoctoproject.org/dev-manual/common-tasks.html#using-an-existing-kickstart-file

one reads how to list all the available images with "wic list images",
and one of those listed (canned) images is "genericx86", and a bit
further down, you read:

"Here are the actual partition language commands used in the
genericx86.wks file to generate an image"

  except there is no file "genericx86.wks", it's "genericx86.wks.in"
which caused me a few minutes of confusion as i tried to "find" it.

  as i understand it, the only additional feature with "wks.in" files
is that they would contain variables that need pre-processing. and if
that's true, where in the wic processing could someone specify that a
"wks.in" file is to be used?

  i'm looking at the wic script (line 172) and i see:

    if not wks_file.endswith(".wks"):
        wks_file = engine.find_canned_image(scripts_path, wks_file)
        if not wks_file:
            raise WicError("No image named %s found, exiting.  (Use 'wic list images' "
                           "to list available images, or specify a fully-qualified OE "
                           "kickstart (.wks) filename)" % options.wks_fi

but that seems to recognize only the ".wks" suffix. where is the
support for an explicit "wks.in" file?

rday

                 reply	other threads:[~2021-08-16  8:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=7b41399f-3d17-d676-4e11-6686f73c3b8@crashcourse.ca \
    --to=rpjday@crashcourse.ca \
    --cc=docs@lists.yoctoproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.