Jair Gonzalez 73e154d072 Bootable USB (#436)
* bootable-usb: Add extra caution about unmount

Not unmounting an USB partition before an image is burned could cause
file system checksum errors leading to other issues (including kernel
panics) when trying to boot from the USB drive. This commit adds an extra
caution note to warn the users about the possible issues they could find
when this step is not followed correctly.

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@intel.com>

* bootable-usb: Add o_sync to the dd command

Update the example 'dd' command to burn an image, by adding the 'oflag=sync'
option. This allows to reduce the flashing time in conjunction with the
recommended 'bs=4M', enables a more accurate progress indicator, and allows
to remove the additional sync command, while preserving some cache
optimizations.

Signed-off-by: Jair Gonzalez <jair.de.jesus.gonzalez.plascencia@intel.com>
2019-03-28 18:45:16 -07:00
2019-03-28 18:45:16 -07:00
2018-07-23 16:02:15 -07:00
2015-10-12 15:39:17 -06:00
2017-05-30 11:40:25 -05:00
2019-01-17 11:54:39 -08:00

Documentation build instructions
################################

.. todo add comment re not using standards here.

`Clear Linux\* OS documentation`_ is written using `reStructuredText`_ and
built using `Sphinx`_. Follow the instructions in this README to build the
documentation locally for development and testing.

Please make yourself familiar with our `contribution guidelines`_ before
submitting a contribution.

Requirements
************

Make sure you have Python and Sphinx installed. We use Python 3 and
Sphinx 1.7.5

The Sphinx documentation provides `instructions for installing Sphinx`_ on various
platforms.

Clone the documentation repository
**********************************

Once Sphinx is installed, clone the documentation repository to your
local machine.

.. code-block:: console

   $ git clone https://github.com/clearlinux/clear-linux-documentation

Run the build
*************

We build our documentation using Sphinx. In the source directory of your
local clear-linux-documentation repository, build the documentation by running
**make html**:

.. code-block:: console

   $ make html
   >
   sphinx-build -b html -d _build/doctrees   . _build/html
   Running Sphinx v1.7.5
   making output directory...
   .
   .
   .
   build succeeded, 0 warnings.

   The HTML pages are in _build/html.

   Build finished. The HTML pages are in _build/html.

Open one of the HTML pages in a web browser to view the rendered
documentation.

When testing changes in the documentation, make sure to remove the previous
build before building again by running **make clean**:

.. code-block:: console

   $ make clean
   >
   rm -rf _build/*

This will completely remove the previous build output.

.. _Clear Linux\* OS documentation:  https://clearlinux.org/documentation
.. _Sphinx: http://sphinx-doc.org/
.. _reStructuredText: http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html
.. _contribution guidelines: https://clearlinux.org/documentation/clear-linux/reference/collaboration
.. _instructions for installing Sphinx: https://www.sphinx-doc.org/en/master/usage/installation.html

S
Description
No description provided
Readme 132 MiB
Languages
JavaScript 27.3%
Python 23.4%
HTML 21.3%
CSS 14.3%
Makefile 7.3%
Other 6.4%