Applies minor formatting edits. Performs force push because other contributor accidentally pushed directly to branch swupdaddpkg1.

Signed-off-by: Michael Vincerra <michaelx.vincerra@intel.com>
This commit is contained in:
Michael Vincerra
2018-04-06 17:09:51 -07:00
parent 123a6ac335
commit 18ce81a7f4
@@ -1,4 +1,3 @@
.. _swupdaddpkg:
Create and add custom bundles to your upstream Clear Linux system
@@ -7,7 +6,8 @@ Create and add custom bundles to your upstream Clear Linux system
|CLOSIA| offers many curated bundles that you can install on your system to
create your desired capabilities. If the available upstream bundles do not
meet your needs, you can create and add your own custom bundles to your
system using one of two methods. Note: Upstream refers to the official version of |CL|.
system using one of two methods. Note: Upstream refers to the official
version of |CL|.
The first method is to use the :ref:`mixer tool<mixer>` to create your own
|CL| image and add your bundles to it. Mixing your own |CL| image can
@@ -82,7 +82,9 @@ the :command:`swupd-add-pkg` command and change the RPM name.
* The first time you run the :command:`swupd-add-pkg` command, mixer
creates a new OS version by taking your current upstream |CL| version
and multiplying it by 1000. For example, if your upstream version is 21530, your custom version will be 21530000. For each subsequent call to swupd-add-pkg, mixer will increment the version by 10. For example,
and multiplying it by 1000. For example, if your upstream version is
21530, your custom version will be 21530000. For each subsequent call
to swupd-add-pkg, mixer will increment the version by 10. For example,
21530010, 21530020, etc.
Migrate your Clear Linux system to your custom mix
@@ -99,7 +101,9 @@ After you migrate, the version of your |CL| system switches over to your
last custom version number as noted in the previous section.
You can continue to create new bundles with :command:`swupd-add-pkg`
while you are in your custom version of |CL|. You do not need to migrate again. However, you must run :command:`swupd update` again to update your system in order to make those bundles visible.
while you are in your custom version of |CL|. You do not need to migrate
again. However, you must run :command:`swupd update` again to update your
system in order to make those bundles visible.
Add your custom bundle to your system
*************************************
@@ -130,13 +134,15 @@ Add your custom bundle to your system
Optional: Revert your system back to 100% upstream
**************************************************
If you want to revert your |CL| system back to the official upstream version, use this command:
If you want to revert your |CL| system back to the official upstream
version, use this command:
.. code-block:: console
$ sudo swupd verify --fix --force --picky -m [upstream-version-number] -C /usr/share/clear/update-ca/Swupd_Root.pem
After the command completes, all custom RPMs and bundles are unavailable because :file:`/usr/share/mix` is deleted as part of the reversion process.
After the command completes, all custom RPMs and bundles are unavailable
because :file:`/usr/share/mix` is deleted as part of the reversion process.
.. _Developer tooling framework for Clear Linux:
https://github.com/clearlinux/common