* [PATCH 1/4] wic: Fix plugin help text
2014-07-29 19:40 [PATCH 0/4] wic help updates Tom Zanussi
@ 2014-07-29 19:40 ` Tom Zanussi
2014-07-29 19:40 ` [PATCH 2/4] wic: Add documentation for --fsoptions Tom Zanussi
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Tom Zanussi @ 2014-07-29 19:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
Fix various typoes and grammar problems noticed while transcribing for
the dev manual.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
scripts/lib/image/help.py | 29 ++++++++++++++++-------------
1 file changed, 16 insertions(+), 13 deletions(-)
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 848aa9a..913947c 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -389,9 +389,9 @@ DESCRIPTION
class (see the SourcePlugin source for details):
do_prepare_partition()
- Called to do the actual content population for a partition
- i.e. it 'prepares' the final partition image which will be
- incorporated into the disk image.
+ Called to do the actual content population for a
+ partition. In other words, it 'prepares' the final partition
+ image which will be incorporated into the disk image.
do_configure_partition()
Called before do_prepare_partition(), typically used to
@@ -401,23 +401,26 @@ DESCRIPTION
do_install_disk()
Called after all partitions have been prepared and assembled
into a disk image. This provides a hook to allow
- finalization of a disk image e.g. to write an MBR to it.
+ finalization of a disk image, for example to write an MBR to
+ it.
do_stage_partition()
- Special content staging hook called before
+ Special content-staging hook called before
do_prepare_partition(), normally empty.
- Typically, a partition will just use the passed-in parame
- e.g straight bootimg_dir, etc, but in some cases, things
- need to be more tailored e.g. to use a deploy dir + /boot,
- etc. This hook allows those files to be staged in a
- customized fashion. Not that get_bitbake_var() allows you
- to acces non-standard variables that you might want to use
- for this.
+ Typically, a partition will just use the passed-in
+ parameters, for example the unmodified value of bootimg_dir.
+ In some cases however, things may need to be more tailored.
+ As an example, certain files may additionally need to be
+ take from bootimg_dir + /boot. This hook allows those files
+ to be staged in a customized fashion. Note that
+ get_bitbake_var() allows you to access non-standard
+ variables that you might want to use for these types of
+ situations.
This scheme is extensible - adding more hooks is a simple matter
of adding more plugin methods to SourcePlugin and derived classes.
- The code that then needs to call the plugin methods the uses
+ The code that then needs to call the plugin methods uses
plugin.get_source_plugin_methods() to find the method(s) needed by
the call; this is done by filling up a dict with keys containing
the method names of interest - on success, these will be filled in
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 0/4] wic help updates
@ 2014-07-29 19:40 Tom Zanussi
2014-07-29 19:40 ` [PATCH 1/4] wic: Fix plugin help text Tom Zanussi
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Tom Zanussi @ 2014-07-29 19:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
This patchset fixes a few things noticed while updating the dev
manual.
The following changes since commit 2d1660112e54653f7bb763939d0416472c49fe01:
populate_sdk_base: Fix grep command usage on old hosts (2014-07-29 09:58:27 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib.git tzanussi/wic-help-updates
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=tzanussi/wic-help-updates
Tom Zanussi (4):
wic: Fix plugin help text
wic: Add documentation for --fsoptions
wic: Add squashfs to --fstypes documentation
wic: Various typo/grammar fixes to wic help text
scripts/lib/image/help.py | 43 +++++++++++++++++++++++++++----------------
1 file changed, 27 insertions(+), 16 deletions(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/4] wic: Add documentation for --fsoptions
2014-07-29 19:40 [PATCH 0/4] wic help updates Tom Zanussi
2014-07-29 19:40 ` [PATCH 1/4] wic: Fix plugin help text Tom Zanussi
@ 2014-07-29 19:40 ` Tom Zanussi
2014-07-29 19:40 ` [PATCH 3/4] wic: Add squashfs to --fstypes documentation Tom Zanussi
2014-07-29 19:40 ` [PATCH 4/4] wic: Various typo/grammar fixes to wic help text Tom Zanussi
3 siblings, 0 replies; 5+ messages in thread
From: Tom Zanussi @ 2014-07-29 19:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
--fsoptions support was recently added to wic, so document it.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
scripts/lib/image/help.py | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 913947c..6d613e2 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -721,6 +721,13 @@ DESCRIPTION
btrfs
swap
+ --fsoptions: Specifies a free-form string of options to be
+ used when mounting the filesystem. This string
+ will be copied into the /etc/fstab file of the
+ installed system and should be enclosed in
+ quotes. If not specified, the default string is
+ "defaults".
+
--label label: Specifies the label to give to the filesystem
to be made on the partition. If the given
label is already in use by another filesystem,
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/4] wic: Add squashfs to --fstypes documentation
2014-07-29 19:40 [PATCH 0/4] wic help updates Tom Zanussi
2014-07-29 19:40 ` [PATCH 1/4] wic: Fix plugin help text Tom Zanussi
2014-07-29 19:40 ` [PATCH 2/4] wic: Add documentation for --fsoptions Tom Zanussi
@ 2014-07-29 19:40 ` Tom Zanussi
2014-07-29 19:40 ` [PATCH 4/4] wic: Various typo/grammar fixes to wic help text Tom Zanussi
3 siblings, 0 replies; 5+ messages in thread
From: Tom Zanussi @ 2014-07-29 19:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
squashfs support was recently added to wic, so document it.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
scripts/lib/image/help.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index 6d613e2..b833459 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -719,6 +719,7 @@ DESCRIPTION
ext3
ext4
btrfs
+ squashfs
swap
--fsoptions: Specifies a free-form string of options to be
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] wic: Various typo/grammar fixes to wic help text
2014-07-29 19:40 [PATCH 0/4] wic help updates Tom Zanussi
` (2 preceding siblings ...)
2014-07-29 19:40 ` [PATCH 3/4] wic: Add squashfs to --fstypes documentation Tom Zanussi
@ 2014-07-29 19:40 ` Tom Zanussi
3 siblings, 0 replies; 5+ messages in thread
From: Tom Zanussi @ 2014-07-29 19:40 UTC (permalink / raw)
To: openembedded-core; +Cc: Tom Zanussi
This is a set of miscellaneous help text updates noticed while
transcribing wic help for the dev manual.
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
scripts/lib/image/help.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py
index b833459..6e8e037 100644
--- a/scripts/lib/image/help.py
+++ b/scripts/lib/image/help.py
@@ -443,8 +443,8 @@ DESCRIPTION
artifacts, the result is an image or set of images that can be
directly written onto media and used on a particular system.
- The 'wic' command and the infrastructure it's based is by
- definition incomplete - it's designed to allow the generation of
+ The 'wic' command and the infrastructure it's based on is by
+ definition incomplete - its purpose is to allow the generation of
customized images, and as such was designed to be completely
extensible via a plugin interface (see 'wic help plugins').
@@ -705,7 +705,7 @@ DESCRIPTION
wic command-line option (or the equivalent rootfs
derived from the '-e' command-line option).
Exactly what those contents and filesystem type end
- up being are depend on the given plugin
+ up being are dependent on the given plugin
implementation.
--ondisk or --ondrive: Forces the partition to be created on
--
1.8.3.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-07-29 19:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-29 19:40 [PATCH 0/4] wic help updates Tom Zanussi
2014-07-29 19:40 ` [PATCH 1/4] wic: Fix plugin help text Tom Zanussi
2014-07-29 19:40 ` [PATCH 2/4] wic: Add documentation for --fsoptions Tom Zanussi
2014-07-29 19:40 ` [PATCH 3/4] wic: Add squashfs to --fstypes documentation Tom Zanussi
2014-07-29 19:40 ` [PATCH 4/4] wic: Various typo/grammar fixes to wic help text Tom Zanussi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox