Commit Graph

15 Commits

Author SHA1 Message Date
Colin Walters
dcae7dee57 dist-packaging: Don't delete 91-ostree.preset, do clean old rpms/sources
We have to copy the sources to avoid rpmbuild deleting them.  But on
the other hand there's no reason for old sources to stick around.
2015-04-05 09:37:58 -04:00
Giuseppe Scrivano
a1a4d15119 build: Drop libattr from the spec file
commit 534c4c20c3 already drops its
usage in the code.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2015-04-02 11:19:51 +02:00
Giuseppe Scrivano
9843c4c245 Makefile.dist-packaging: fix make rpm with submodules
Makefile.dist-packaging seems to assume to be run under packaging/ as
"make -C packaging -f Makefile.dist-packaging rpm" so ensure the
srcdir is set correctly to point to the parent directory.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2015-03-03 12:16:17 -05:00
Colin Walters
89a8b9b85a packaging: Add man5 pages 2015-02-03 20:28:37 -05:00
Colin Walters
d546abfa2a libostree: Add initial GRUB2 support
In this approach, we drop a /etc/grub.d/15_ostree file which is a
hybrid of shell/C that picks up bits from the GRUB2 library (e.g. the
block device script generation), and then calls into libostree's
GRUB2 code which knows about the BLS entries.

This is admittedly ugly.  There exists another approach for GRUB2 to
learn the BLS specification.  However, the spec has a few issues:

https://www.redhat.com/archives/anaconda-devel-list/2014-July/msg00002.html

This approach also gives a bit more control to the admin via the
naming of the 15_ostree symlink; they can easily disable it:

Or reorder the ostree entries ahead of 10_linux:

Also, this approach doesn't require patches for grub2, which is an
issue with the pressure to backport (rpm-)OSTree to EL7.
2014-10-16 14:15:00 -04:00
Dusty Mabe
22bd6d9102 packaging: Make the ostree rpm own and create /etc/ostree/remotes.d/ 2014-08-03 14:18:22 -04:00
Colin Walters
7c01ad590e [trivial]: Update .gitignore 2014-06-24 08:33:02 -04:00
Colin Walters
7b654a88d4 packaging: BR e2p 2014-06-21 16:55:36 -04:00
Colin Walters
93c68083ac Move Makefile.dist-packaging under packaging/ 2014-06-02 15:27:40 -04:00
Colin Walters
ac56501dfa packaging: BR libgsystem 2014-05-22 22:51:21 -04:00
Colin Walters
ba4f7ac7be Remove custom SELinux policy
This was a temporary hack until the requisite bits landed upstream in
the Fedora SELinux policy.
2014-03-15 13:16:14 -04:00
Colin Walters
19d36c540a packaging: Update internal spec file 2014-03-01 15:46:03 -05:00
Colin Walters
cc49096044 Add internal SELinux policy overrides
In the future, this will likely include an ostree_t domain.  For now,
this is just a few additional allow rules.
2014-02-19 08:40:19 -05:00
Colin Walters
2313bdcb62 Add SELinux support
The trees as shipped come with /usr/etc, which should just be labeled
as usr_t.  When we do a deployment, we need to relabel the copies of
the files we're making in /etc.

SELinux support is compile and runtime optional.
2014-01-31 08:10:55 -05:00
Colin Walters
b38fb802f9 packaging: Update infrastructure
The Makefile.dist-packaging lives canonically in rpm-ostree/ for now,
it's my latest hack to automate git -> (s)rpm.

Update the spec.in from current Fedora.
2014-01-18 04:49:17 -05:00