From: mariano.lopez@linux.intel.com
To: openembedded-core@lists.openembedded.org
Subject: [PATCHv2 0/6] wic: Allow to user defined files as config for bootloaders
Date: Tue, 1 Dec 2015 09:38:58 +0000 [thread overview]
Message-ID: <cover.1448961756.git.mariano.lopez@linux.intel.com> (raw)
From: Mariano Lopez <mariano.lopez@linux.intel.com>
These patches add a new option for the bootloaders. This new option allows
to use a custom configuration file as the bootloader config with the
"configfile" variable in the bootloader line. This is very useful when there
is need to create a multiboot image or when there is need to use scripting in
the bootloader.
Changes in v2
- Previous version just allowed the have the complete path for the file. Now
it will search for the file in the canned-wks folders for all the layers
that are part of the project.
- Include an example wks file in canned-wks folder.
- Include an example configuration in canned-wks folder.
- Include the changes in the documentation.
- Include test in self-test.
The following changes since commit 03f15e51998a3ef65a5b68cb7cbf724f4388c289:
sstate: Ensure siginfo and sig files are also touched (2015-11-25 08:09:00 +0000)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib mariano/bug8728
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mariano/bug8728
Mariano Lopez (6):
wic: Prepare wicboot to allow custom bootloader config
wic/utils/misc.py: Added function to search for files in canned-wks
wic: Allow to use a custom config for bootloaders
wic/help.py: Document the new option "configfile"
directdisk-bootloader-config.wks: Add example for custom bootloader
config
selftest/wic.py: Add test for custom bootloader config
meta/lib/oeqa/selftest/wic.py | 8 +++
.../canned-wks/directdisk-bootloader-config.cfg | 11 ++++
.../canned-wks/directdisk-bootloader-config.wks | 10 +++
scripts/lib/wic/help.py | 6 ++
scripts/lib/wic/kickstart/__init__.py | 7 +++
.../lib/wic/kickstart/custom_commands/wicboot.py | 5 ++
scripts/lib/wic/plugins/source/bootimg-efi.py | 67 ++++++++++++++------
scripts/lib/wic/plugins/source/bootimg-pcbios.py | 72 +++++++++++++---------
scripts/lib/wic/utils/misc.py | 39 ++++++++++++
9 files changed, 179 insertions(+), 46 deletions(-)
create mode 100644 scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg
create mode 100644 scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks
--
1.8.4.5
next reply other threads:[~2015-12-01 17:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 9:38 mariano.lopez [this message]
2015-12-01 9:38 ` [PATCHv2 1/6] wic: Prepare wicboot to allow custom bootloader config mariano.lopez
2015-12-01 9:39 ` [PATCHv2 2/6] wic/utils/misc.py: Added function to search for files in canned-wks mariano.lopez
2015-12-01 9:39 ` [PATCHv2 3/6] wic: Allow to use a custom config for bootloaders mariano.lopez
2015-12-01 9:39 ` [PATCHv2 4/6] wic/help.py: Document the new option "configfile" mariano.lopez
2015-12-01 9:39 ` [PATCHv2 5/6] directdisk-bootloader-config.wks: Add example for custom bootloader config mariano.lopez
2015-12-01 9:39 ` [PATCHv2 6/6] selftest/wic.py: Add test " mariano.lopez
2015-12-07 10:20 ` [PATCHv2 0/6] wic: Allow to user defined files as config for bootloaders Ed Bartosh
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=cover.1448961756.git.mariano.lopez@linux.intel.com \
--to=mariano.lopez@linux.intel.com \
--cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox