Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
building-images.rst: focus on performance in the noswupd recommendation
Browse files Browse the repository at this point in the history
The first argument about stability might be misunderstood, so let's
take it out and focus exclusively on the performance argument.

Signed-off-by: Patrick Ohly <[email protected]>
  • Loading branch information
pohly committed Apr 12, 2016
1 parent 706737a commit da1b663
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions doc/howtos/building-images.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,16 +211,15 @@ The ``ostro-image.bbclass`` can be used in two modes, depending on the ``swupd``

Developers are encouraged to start building images the traditional way
by using image recipes like ``ostro-image-noswupd`` where swupd is
turned off, because:

a) swupd support is still new and may have unexpected problems.
b) image and swupd bundle creation cause additional overhead (disk
space, compile time) due to the extra work that needs to be done
(creating multiple rootfs directories to simulate what needs to be
in each bundle, preparing the data that the swupd client pulls via
HTTP(S) when checking for updates). This can increase the build
time from several minutes to over an hour or more (depending on the
number of bundles and files).
turned off and only use swupd during deployment.

That's because image creation based on swupd bundles and swupd bundle
creation itself cause additional overhead (disk space, compile time)
due to the extra work that needs to be done (creating multiple rootfs
directories to simulate what needs to be in each bundle, preparing the
data that the swupd client pulls via HTTP(S) when checking for
updates). This can increase the build time from several minutes to
over an hour or more (depending on the number of bundles and files).

The following instructions assume that swupd is not used.

Expand Down

0 comments on commit da1b663

Please sign in to comment.