Go to file
2014-02-03 18:04:06 -05:00
fb2docker fb2docker: Add strace as a demo 2014-02-03 15:16:48 -05:00
fedostree fedostree/web: Update instructions 2014-02-03 14:19:48 -05:00
libgsystem@25f755e086 Import lots of code from gnome-continuous 2014-01-03 17:14:10 -05:00
packaging packaging: Update Requires/BuildRequires 2014-01-31 19:18:23 -05:00
patches/shadow-utils patches: New directory containing patches for Fedora userspace 2014-01-04 07:42:20 -05:00
scripts scripts/ostree-ls-big-files.js: New script to analyze repo files for size 2014-01-29 17:55:07 -05:00
src core/post: Warn when we fail to find a filename in the policy 2014-02-02 16:30:15 -05:00
.gitignore Add .gitignore from ostree 2014-01-17 22:00:16 -05:00
.gitmodules Import some code for using GJS 2014-01-03 17:14:10 -05:00
843833DF-pub.gpg Add demo public key here 2014-02-02 16:12:10 -05:00
autogen.sh autogen: Look for libgsystem in the correct place 2014-01-15 16:54:58 -05:00
configure.ac Support SELinux 2014-01-31 10:13:18 -05:00
COPYING Initial import from pkgsys-ostree 2013-12-21 19:41:30 -05:00
Makefile-autobuilder.am Make smoketest work 2014-01-25 21:25:27 -05:00
Makefile-decls.am Import some code for using GJS 2014-01-03 17:14:10 -05:00
Makefile-gsystem-introspection.am Import some code for using GJS 2014-01-03 17:14:10 -05:00
Makefile-rpm-ostree.am Support SELinux 2014-01-31 10:13:18 -05:00
Makefile.am Make smoketest work 2014-01-25 21:25:27 -05:00
Makefile.dist-packaging dist-packaging: Add buildinstall target 2014-01-15 22:31:02 -05:00
README.md README.md: Update with short instructions on setting up your own builder 2014-02-03 18:04:06 -05:00

rpm-ostree

This tool takes a set of packages, and commits them to an OSTree repository. At the moment, it is intended for use on build servers.

Using rpm-ostree

There are two levels; the core "rpm-ostree" command takes a set of packages and commits them to an OSTree repository.

The higher level rpm-ostree-autobuilder parses a "products.json" which generates potentially many filesystem trees. It also has code to generate disk images and run smoketests.

Setting up the autobuilder

There are packages available in the rpm-ostree COPR; you can also just "sudo make install" it.

Once you have that done, choose a build directory. Here we'll use /srv/rpm-ostree.

cd /srv/rpm-ostree

mkdir repo

ostree --repo=repo init --mode=archive-z2

ln -s /path/to/rpm-ostree.git/fedostree/products.json .

rpm-ostree-autobuilder autobuilder

That will automatically poll every hour for changes in the RPMs referenced by the products.json file, commit them to the /srv/rpm-ostree/repo, and generate cached disk images in /srv/rpm-ostree/images.