Colin Walters
b4d21e9406
deploy: Set the immutable bit on the deployment root
...
This prevents people from creating new directories there and expecting
them to be persisted. The OSTree model has all local state to be in
/etc and /var.
This introduces a compile-time dependency on libe2fsprogs.
We're only doing this for the root directory at the moment.
https://bugzilla.gnome.org/show_bug.cgi?id=728006
2014-06-03 13:41:48 -04:00
Colin Walters
25ad4a9f65
pull: Add tls-client-cert-{path,key} (if we have new enough libsoup)
...
This is an actually working version of client-side certificates.
Depends on:
See: https://bugzilla.gnome.org/show_bug.cgi?id=334021
We detect whether libsoup is new enough for this.
https://bugzilla.gnome.org/show_bug.cgi?id=729356
2014-05-01 17:13:13 -04:00
Colin Walters
006e8f0073
deltas: Link to liblzma, add internal API to use it
...
For future static deltas work, we'll be linking to liblzma. Since
it's fairly widespread, let's just make it a hard dependency.
2014-04-29 10:59:57 -04:00
Colin Walters
32663a5a50
build: Remove --enable-embedded-dependencies
...
This is going to bitrot too much; we'll figure out a better way to do
this when someone if a RHEL6 port ever happens. Probably Software
Collections.
2014-04-22 09:08:35 -04:00
Colin Walters
7cb7d8f741
Release 2014.4
2014-04-13 10:50:27 -07:00
Colin Walters
1bdabda5f3
Use external libgsystem 2014.2
...
It's been split off for a while, let's kill the code duplication.
Among other things, this fixes the systemd detection for the journal
logging.
2014-04-04 16:52:37 -04:00
Colin Walters
6c463f0b20
Release 2014.3
2014-03-21 14:54:03 -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
cca4cf3e62
build: Add --enable-selinux-custom-policy
...
Don't use this.
It's just for me, and only temporarily until this stuff all lands in
the Fedora (and ideally upstream) selinux-policy.
2014-03-01 15:10:40 -05:00
Colin Walters
5bda4b4347
Release 2014.2
2014-03-01 13:55:55 -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
8c2a3efadb
build: Drop SELinux required version a bit earlier
...
Apparently EPEL7 only has 2.1.13, but we should be fine with that.
2014-02-02 11:53:22 -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
c7bcfc1c61
build: Look for /usr/bin/gpgv2 vs /usr/bin/gpgv
...
For some reason, RHEL has gpgv, but Fedora doesn't. We need to detect
which to use, since presumably Debian only has gpgv.
2014-01-30 19:32:59 -05:00
Colin Walters
a5ff7eaf37
Release 2014.1
2014-01-24 04:26:43 +00:00
Daniel Narvaez
ccb10d592d
Add support for mkinitcpio
...
https://bugzilla.gnome.org/show_bug.cgi?id=710682
2013-10-24 14:27:49 -04:00
Colin Walters
b35d1499b8
Release 2013.7
2013-10-15 16:44:35 -04:00
Colin Walters
2b37abf7b6
build: Also make gjs-based tests conditional on introspection support
...
Since they use imports.gi.OSTree.
2013-10-11 12:04:24 -04:00
Jeremy Whiting
7d5aa74dae
core: Use libgpgme to add GPG signatures to detached metadata for commit object
...
Add an optional dependency on gpgme to add GPG signatures into the
detached metadata, with the key "ostree.gpgsigs", as an "aay", an
array of signatures (treated as binary data).
The commit command gains a --gpg-sign=<key-id> argument. Also add an
argument --gpg-homedir to set the GPG homedir where we look for
keyrings.
2013-09-28 16:12:35 -04:00
Colin Walters
58a8d6d6ef
tests: Add a gjs-based test
...
This covers introspection, and in general is a much better way to get
API coverage tests.
2013-09-18 12:02:12 -04:00
Colin Walters
23e2593b6d
repo: Use non-deprecated API with sufficiently new libarchive
...
Based on a patch Tobias Hunger <tobias.hunger@gmail.com>
2013-08-30 14:34:32 -04:00
Colin Walters
0590684e03
Release 2013.6
2013-08-25 23:34:51 -04:00
Colin Walters
5f90502482
Release 2013.5
2013-08-17 17:05:17 -04:00
Colin Walters
12ccbffad7
build: Fix and prettify build option output
...
The documentation one was broken by the gtk-doc changes, and let's
align things.
2013-08-17 15:21:31 -04:00
Colin Walters
9c79b352a1
build: Fix the build without documentation
...
Just key everything of gtk-doc.
2013-08-16 23:14:30 -04:00
Colin Walters
17560a57bf
Add gtk-doc support
...
Yes, it's really me. Colin Walters. Writing documentation. You
don't need to do a DNA test.
2013-08-16 22:56:12 -04:00
Colin Walters
5a4b7d708f
configure: Use AS_IF() consistently
...
See https://bugzilla.gnome.org/show_bug.cgi?id=681413
2013-08-15 18:33:19 -04:00
Sjoerd Simons
a00eb681a0
Install systemd units in the right location
...
Debian uses /lib/systemd/system for system unit files, while i'm
putting ostree under the /usr prefix which means the hardcoded path
fails. Leave it to configure to work out the right location for systemd
units (method copied from pollkit).
Furthermore instead of installing the unit in local-fs.target.wants by
hand add a [Install] section so systemctl enable does the right thing
https://bugzilla.gnome.org/show_bug.cgi?id=705864
2013-08-15 18:28:04 -04:00
Colin Walters
a5d43bb959
Install a shared library
...
This required a fair bit of surgery because previously ostree.h
included otutil.h, but that's supposed to be a private library.
2013-07-26 19:25:07 -04:00
Colin Walters
7f4ba736ea
Release 2013.4
2013-07-16 20:41:47 -04:00
Colin Walters
124416d832
Use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE
...
It's less copy/paste, works everywhere, etc.
Also fix some missing #include "config.h".
2013-07-10 13:25:35 -04:00
Colin Walters
305cd02e0c
Drop obsolete GRUB2 and kernel update hooks
...
We only support syslinux at the moment; grub2 should learn to parse
the bootloader spec.
2013-07-07 21:56:54 -04:00
Colin Walters
48f7186e13
Release 2013.3
2013-07-07 21:35:29 -04:00
Colin Walters
26cef497a6
Remove built in "triggers"
...
Originally, the idea was that clients would replicate "OS/tree"s from
a build server, but we'd run things like "ldconfig" on the client.
This was to allow adding e.g. the nVidia binary driver.
However, the triggers were the only thing in the system at the moment
that really had expected knowledge of the *contents* of the OS, like
the location of binaries.
For now, it's architecturally cleaner if we move the burden of
triggers to the tree builder (e.g. gnome-ostree or RPM). Eventually
we may want OSTree to assist with this type of thing (perhaps
something like RPM %ghost), but this is the right thing to do now.
2013-07-07 14:37:59 -04:00
Colin Walters
6496abacbd
Add --with-dracut
...
This installs a Dracut module which parses the ostree= kernel command
line argument, and if given, sets up the OS/ at /sysroot, which
systemd's switch-root then moves into. This only works if dracut is
configured to use systemd itself.
2013-06-03 15:28:09 -04:00
Colin Walters
82f444020e
Add a --version argument that also outputs features
...
And use it in the tests to skip libarchive tests when the build
doesn't support it.
2013-05-01 19:15:06 -04:00
Colin Walters
e9a181c67d
Install tests
...
Matching https://live.gnome.org/GnomeGoals/InstalledTests
2013-05-01 15:26:21 -04:00
Colin Walters
9cbae4f2fd
Release 2013.2
2013-04-01 22:23:46 -04:00
Colin Walters
ff3e83a5e1
Release 2013.1
2013-04-01 21:36:40 -04:00
Colin Walters
a5a46317f1
build: Bump GLib dependency to 2.34.0
...
Just cleaner than an unstable version.
2013-03-12 18:45:27 -04:00
Colin Walters
02217ba74a
build: Use AC_SYS_LARGEFILE
...
So we do the right thing on 32 bit.
2013-02-24 06:35:23 -05:00
Colin Walters
9598efd001
Release 2012.13
2012-12-23 17:36:42 -05:00
Colin Walters
2769ff36ff
Release 2012.12
2012-10-31 22:02:35 -04:00
Colin Walters
5f25762122
admin: Install grub2 config file if we detect /etc/grub.d
...
Decouple this from the kernel postinst one, since it's possible to
have one but not the other.
2012-10-01 19:34:25 -04:00
Colin Walters
758d6132e3
Release 2012.11
2012-09-25 22:25:06 -04:00
Colin Walters
503535da48
Release 2012.10
2012-09-25 18:08:18 -04:00
Adrian Perez
b314b25e6a
configure.ac: Fix checks for libarchive
...
When configuring without passing --enable-triggers-only, checks for
libarchive were not being done. Shuffling around the checks solves
the issue.
2012-08-28 16:36:07 +03:00
Colin Walters
4b9faa421e
Release 2012.9
2012-08-26 13:58:23 -04:00
Colin Walters
c63cca53d7
build: Add --enable-triggers-only
...
For bootstrapping gnome-ostree, we need to install the triggers early
on, before we actually build the real ostree binary.
2012-08-26 13:58:23 -04:00
Colin Walters
419965e6e3
build: Make /etc/kernel scripts default to automatic
...
When not cross compiling, we can test for /etc/kernel. This fixes the
build automatically on RHEL6 for example.
2012-08-23 15:19:41 -04:00