README.md: Fix code syntax

This commit is contained in:
Colin Walters 2014-03-07 18:08:57 -05:00
parent 22df6f6175
commit 9aa1bdb494

View File

@ -25,9 +25,9 @@ just "sudo make install" it.
Once you have that done, choose a build directory. Here we'll use Once you have that done, choose a build directory. Here we'll use
/srv/rpm-ostree. /srv/rpm-ostree.
# cd /srv/rpm-ostree # cd /srv/rpm-ostree
# mkdir repo # mkdir repo
# ostree --repo=repo init --mode=archive-z2 # ostree --repo=repo init --mode=archive-z2
Running rpm-ostree Running rpm-ostree
@ -36,7 +36,7 @@ Running rpm-ostree
The core "rpm-ostree" takes as input a "treefile". There is a demo The core "rpm-ostree" takes as input a "treefile". There is a demo
one in `src/demo-treefile.json`. one in `src/demo-treefile.json`.
# rpm-ostree sometreefile.json # rpm-ostree sometreefile.json
All this does is use yum to download RPMs from the referenced repos, All this does is use yum to download RPMs from the referenced repos,
and commit the result to the OSTree repository, using the ref named by and commit the result to the OSTree repository, using the ref named by
@ -50,8 +50,8 @@ Running the autobuilder
The autobuilder instead takes as input a `products.json` which The autobuilder instead takes as input a `products.json` which
generates multiple treefiles. Try this: generates multiple treefiles. Try this:
# ln -s /path/to/rpm-ostree.git/fedostree/products.json . # ln -s /path/to/rpm-ostree.git/fedostree/products.json .
# rpm-ostree-autobuilder # rpm-ostree-autobuilder
That will automatically poll every hour for changes in the RPMs That will automatically poll every hour for changes in the RPMs
referenced by the `products.json` file, commit them to the referenced by the `products.json` file, commit them to the