README: add information about 'sources'
Update the command line options help text as well as the sample command line to build the `base-qcow2.json` to include the new sources command line option.
This commit is contained in:
parent
20399a57ee
commit
b79a215659
1 changed files with 3 additions and 2 deletions
|
|
@ -86,6 +86,8 @@ optional arguments:
|
|||
--build-env ENV json file containing a description of the build
|
||||
environment
|
||||
--store DIRECTORY the directory where intermediary os trees are stored
|
||||
--sources SOURCES json file containing a dictionary of source
|
||||
configuration
|
||||
-l DIRECTORY, --libdir DIRECTORY
|
||||
the directory containing stages, assemblers, and the
|
||||
osbuild library
|
||||
|
|
@ -97,7 +99,7 @@ optional arguments:
|
|||
You can build basic qcow2 image of Fedora 30 by running a following command:
|
||||
|
||||
```
|
||||
sudo python3 -m osbuild --libdir . samples/base-qcow2.json
|
||||
sudo python3 -m osbuild --libdir . --sources samples/sources.json samples/base-qcow2.json
|
||||
```
|
||||
|
||||
- Root rights are required because osbuild heavily relies on creating
|
||||
|
|
@ -112,4 +114,3 @@ sudo python3 -m osbuild --libdir . samples/base-qcow2.json
|
|||
|
||||
- You don't need to use any kind of virtual environment, modern version of
|
||||
Python 3 is enough. `osbuild` uses only standard library and linux commands.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue