Commit Graph

218 Commits

Author SHA1 Message Date
Colin Walters
0e2c40c8a8 Move demo-treefile.json to doc/ 2014-02-27 18:18:42 -05:00
Colin Walters
a9ac9dde40 core: Create multi-user.target.wants if necessary
For some reason this doesn't seem to be created with current systemd
in EL7 Beta.
2014-02-27 18:16:13 -05:00
Colin Walters
5a6ac59e66 autobuilder: Add "console" command
Implemented in C with readline.
2014-02-26 14:54:01 -05:00
Colin Walters
56ff31418c autobuilder: Add missing space 2014-02-26 10:17:52 -05:00
Colin Walters
5fc914c34c build: Update for move of relabeling helper to autobuilder code 2014-02-26 09:41:41 -05:00
Colin Walters
1e194b3c0b autobuilder: Remove leftover debug print 2014-02-26 04:49:36 -05:00
Colin Walters
cf15328768 autobuilder: Add a control socket
I've always needed a way to change what the daemon is running.
2014-02-26 04:42:22 -05:00
Colin Walters
ebf5838436 Support "repos_data" in treefiles, use it for automatic overrides/
For convenience, allow users to create an "overrides/" directory which
is a repo.  If it exists, the builder automatically adds it.

(However, we should likely disallow distributing these builds on
 the network)
2014-02-25 17:07:59 -05:00
Colin Walters
684c24bf39 packaging: Split off autobuilder to separate package 2014-02-23 17:27:59 -05:00
Colin Walters
c08630f5d5 autobuilder: Move data to -autobuilder subdirectory for easy packaging 2014-02-23 17:24:05 -05:00
Colin Walters
311f1c292b Remove leftover libgsystem 2014-02-23 17:22:33 -05:00
Colin Walters
0392499190 .gitignore: Update 2014-02-23 17:11:39 -05:00
Colin Walters
d792939bb3 README.md: Update for previous commit 2014-02-23 17:06:06 -05:00
Colin Walters
2e21ceed91 autobuilder: Default to running "autobuilder" 2014-02-23 17:05:43 -05:00
Colin Walters
49b7810ce1 fatomic moved to github:cgwalters/fatomic 2014-02-22 17:59:18 -05:00
Colin Walters
0cb346b798 postprocess: Work around SELinux cross-labeling vs PCRE issue
See http://marc.info/?l=selinux&m=139282274522388&w=2
2014-02-22 01:32:20 -05:00
Colin Walters
6985805b3a rpm-ostree: Set HARDLINK=no in environment during install
This avoids the kernel pointlessly doing its own checksum of content.
2014-02-21 14:56:12 -05:00
Colin Walters
e6a4ada1e5 fedostree: Remove leftover files 2014-02-21 14:55:59 -05:00
Colin Walters
87aed0fa7c fedostree: Rename to "fatomic" 2014-02-21 14:18:12 -05:00
Colin Walters
f14d5ab37c fedostree/products: Fully SELinux enforcing 2014-02-21 14:17:23 -05:00
Colin Walters
61f3066ac6 autobuilder: Inherit comment attribute into treefiles 2014-02-21 14:05:24 -05:00
Colin Walters
cced6f6874 postprocess: Always place rpmdb into /usr/share/rpm
Remove support for the case where the tree doens't have rpm - we don't
need to go quite that small yet, and having the file -> package
mapping helps with the GPL compliance story.

See https://lists.fedoraproject.org/pipermail/legal/2014-February/002393.html
2014-02-21 13:50:40 -05:00
Colin Walters
3f3f16d633 fedostree/products: Use fedora-rawhide-kernel-nodebug by default
The system is too painful to use otherwise.
2014-02-21 13:48:42 -05:00
Colin Walters
39a7c458ef Major update to SELinux handling
We use the new unified OSTree API (OstreeSePolicy) to perform
labeling, rather than having our own here.

Also create a new rpm-ostree-relabeling-helper that is run to label
any leftover files such as /etc/fstab that we create offline, and also
to relabel the entire disk.
2014-02-20 07:59:09 -05:00
Colin Walters
9be80f1775 tmpfiles: Make /var/home a directory, not a symlink by default
Because /etc/passwd may be different between OSes, let's have
/var/home be a real directory by default.  Admins can always make it a
symlink.
2014-02-15 19:35:43 -05:00
Colin Walters
97ef560a00 libqa: Set PROMPT 1 for syslinux by default
We want people to be able to easily choose between boot entries.
2014-02-15 19:35:24 -05:00
Colin Walters
fb2c568cfb postprocess: Work around SELinux issue with cross labeling
Unfortunately when composing from RHEL7 a current rawhide tree, the
PCRE version mismatch causes none of the regexps to match...

Work around this by temporarily moving the .bin files out of the way.
This is really a hack though.

The real fix is to change libselinux to check pcre_version().
2014-02-15 18:41:22 -05:00
Colin Walters
23e42af3ac postprocess: Remove var_uuid files from yumdb
These differ each run, polluting upgrades.  James says we don't need
them anyways.postprocess: Remove var_uuid files from yumdb

These differ each run, polluting upgrades.  James says we don't need
them anyways.
2014-02-15 18:40:47 -05:00
Colin Walters
033f3fb534 TODO: Add two more bits 2014-02-15 17:08:40 -05:00
Colin Walters
511cdfdc74 fedostree/products: Enable docker.service by default for docker tree 2014-02-13 13:44:54 -05:00
Colin Walters
c1c25267ce TODO: We now have screenshots 2014-02-13 08:38:24 -05:00
Colin Walters
3a63393a81 README.md: Update installation/usage to reflect new treefile reality 2014-02-12 19:58:58 -05:00
Colin Walters
f686bb345a demo-treefile: Remove extraneous postprocessing 2014-02-12 19:58:00 -05:00
Colin Walters
6d29645011 fedostree/web: The binaries are now GPG signed 2014-02-12 19:50:24 -05:00
Colin Walters
de1949b5b5 fedostree/web: Remove accidentally duplicated image 2014-02-12 19:40:15 -05:00
Colin Walters
726df3909d fedostree/web: Add links to products.json and VM images 2014-02-12 19:39:28 -05:00
Colin Walters
ff08e35f98 tasks: Update for new products-built.json syntax 2014-02-12 19:25:42 -05:00
Colin Walters
148ca0d74e tasks/build: Automatically use override repo 2014-02-12 19:25:31 -05:00
Colin Walters
bab1d6ce31 fedostree/web: Split up into separate pages
This is just less overwhelming.
2014-02-12 18:46:09 -05:00
Colin Walters
cd103bb697 fedostree/products: Add comments to trees 2014-02-12 18:32:16 -05:00
Colin Walters
a3a65fd7b5 Switch to taking JSON as input, generate "treefile" from products.json
This is somewhat similar to what we've been doing with Continuous; we
take the manifest.json, and turn it into a "snapshot".  Except here
there is a notion of inheritance.

This gets stored into the tree as /usr/share/rpm-ostree/treefile.json.

Additionally, it goes into the autobuilder directory in
products-built.json.  Though really we should split up that file,
since it will be kind of...large.
2014-02-12 18:28:42 -05:00
Colin Walters
e5e260ff3a postprocess: Downgrade warning about files in /var to print
It's really just informative...
2014-02-12 15:29:11 -05:00
Colin Walters
e3eb4d1735 task: Clean up previous dir before executing
This is mainly useful for local builds.
2014-02-11 20:10:36 -05:00
Colin Walters
a7d2f081e5 Add image_formats parameter, default fedostree/ to qcow2
The vdi export is really only for a different use case.
2014-02-11 19:55:40 -05:00
Colin Walters
7788a1fea8 fedostree/products: Drop jbossas group
This should probably be in a Docker or something.
2014-02-11 13:25:26 -05:00
Colin Walters
12b2d5d632 fedostree/products: Only build rawhide for now 2014-02-11 13:24:14 -05:00
Colin Walters
fdb95a7f49 fb2docker: Move out of here
No need to have multiple products in here.
2014-02-11 13:16:01 -05:00
Colin Walters
9d894e2494 fedostree/products: It turns out workstations function better with X servers 2014-02-09 17:21:12 -05:00
Colin Walters
e60ac7393e fb2docker: Install and enable min-metadata-service 2014-02-09 17:15:57 -05:00
Colin Walters
1e4f37a3a4 fedostree/products.json: Add @core to workstation groups 2014-02-09 17:15:01 -05:00