[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] embedding multiple treefiles in compose



Hi,

I think if we are going to go to the trouble of embedding the treefile that 
was used for the compose then we should pull in any tree files that we inherit
from as part of the process. Here is what I see in CentOS7:

-bash-4.2# cat /usr/share/rpm-ostree/treefile.json
{
    "include": "centos-atomic-base.json",

    "ref": "centos/7/atomic/x86_64/cloud-docker-host",

    "packages": ["tuned", "man-db", "man-pages", "bash-completion",
                 "rsync", "tmux", "net-tools", "nmap-ncat", "bind-utils", "git",
                 "sysstat", "policycoreutils-python", "setools-console", "docker",
                 "audit", "cloud-init", "geard", "cloud-utils-growpart" ],

    "units": ["docker.service"]
}

So I get part of the picture, but not the whole thing because I don't know what was in
centos-atomic-base.json. Assuming that the original treefile was called centos-atomic-docker.json
then what we could have within the image is something like this:

/usr/share/rpm-ostree/treefile.json -> ./centos-atomic-docker.json
/usr/share/rpm-ostree/centos-atomic-docker.json
/usr/share/rpm-ostree/centos-atomic-base.json

Thoughts?

- Dusty


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]