1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00
Commit Graph

185 Commits

Author SHA1 Message Date
Lucas De Marchi
9e7adc3ae1 build-sys: separate ldflags from cflags 2012-03-26 21:02:29 +02:00
Lucas De Marchi
eb2e280f9c build-sys: do not set CFLAGS directly
Set a separate variable for adding warning flags. Build systems are not
supposed to change CFLAGS and LDFLAGS, these are user variables.

Reference: http://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
2012-03-26 21:02:26 +02:00
Roberto Sassu
8161158639 main: added support for loading IMA custom policies
This is an S/MIME signed message

The new function ima_setup() loads an IMA custom policy from a file in the
default location '/etc/ima/ima-policy', if present, and writes it to the
path 'ima/policy' in the security filesystem. This function is executed
at early stage in order to avoid that some file operations are not measured
by IMA and it is placed after the initialization of SELinux because IMA
needs the latter (or other security modules) to understand LSM-specific
rules. This feature is enabled by default and can be disabled by providing
the option '--disable-ima' to the configure script.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Acked-by: Gianluca Ramunno <ramunno@polito.it>
2012-03-22 00:20:58 +01:00
Michal Schmidt
ee4cbc2c85 remove GTK pieces
They've moved to systemd-ui.
2012-03-20 13:10:22 +01:00
Lennart Poettering
16f1239e1e build-sys: prepare release 44 2012-03-16 01:57:47 +01:00
Lennart Poettering
5ee9f21e86 build-sys: don't build distcheck version with split /usr 2012-03-16 01:44:16 +01:00
Thierry Reding
82bdec0d65 configure.ac: fix typo in distro help string 2012-03-05 15:29:09 +01:00
Kay Sievers
4c80c73c2b systemctl: forward untrusted user reboot, poweroff requests to logind 2012-02-29 22:28:33 +01:00
Lennart Poettering
437b7dee32 build-sys: prepare release of 43 2012-02-15 05:02:38 +01:00
Kay Sievers
be31376e6c configure.ac: fix whitespace 2012-02-13 01:53:55 +01:00
Kay Sievers
3ce4fad8f5 always use /etc/os-release and ignore all distro-specific files
The text mode welcome message will only show the distro name stored
in /etc/os-release and no longer read any distro-specific files.  If
/etc/os-release does not exist, 'Linux' will be printed.

When the source tree is is ./configure'd, only /etc-os-release is read
to guess the distro to build for. If /etc/os-release does not exist,
--with-distro= needs to be specified.
2012-02-13 01:51:51 +01:00
Lennart Poettering
204fa33c82 build-sys: prepare 42 2012-02-11 01:52:18 +01:00
Michał Górny
bc9bdbbab4 build-sys: Support explicitly specifying --enable-split-usr.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45875
2012-02-11 00:28:30 +01:00
Lennart Poettering
4c2b0e4e42 build-sys: minor typo fix 2012-02-10 21:45:15 +01:00
Lennart Poettering
75db9a7760 man: make building of man pages optional 2012-02-10 21:44:14 +01:00
Lennart Poettering
2c8b32d9f7 build-sys: get rid of a few unnecessary AC_SUBST calls 2012-02-09 01:41:39 +01:00
Lennart Poettering
b13df9644b build-sys: prepare release 41 2012-02-09 01:06:07 +01:00
Tom Gundersen
728beb28a7 kmod-setup: use libkmod rather than modprobe 2012-02-09 00:43:05 +01:00
Lennart Poettering
2c6db6fb9b main: use a shorter default $PATH if /usr is merged 2012-02-07 15:56:28 +01:00
Lennart Poettering
e9c06c79f2 configure: it makes no sense to install systemd with stow 2012-02-07 14:43:33 +01:00
Lennart Poettering
45a7b8bd24 build-sys: bump release 2012-02-07 03:32:03 +01:00
Lennart Poettering
bbd9b8c213 build-sys: enable automake's check-news option 2012-01-25 01:12:23 +01:00
Lennart Poettering
7f62569d70 build-sys: bump release 2012-01-25 01:07:31 +01:00
Michal Schmidt
d200735e13 dbus: more efficient implementation of properties
The way the various properties[] arrays are initialized is inefficient:
 - only the .data members change at runtime, yet the whole arrays of
   properties with all the fields are constructed on the stack one by
   one by the code.
 - there's duplication, eg. the properties of "org.freedesktop.systemd1.Unit"
   are repeated in several unit types.

Fix it by moving the information about properties into static const
sections. Instead of storing the .data directly in the property, store
a constant offset from a run-time base.
The small arrays of struct BusBoundProperties bind together the constant
information with the right runtime information (the base pointer).

On my system the code shrinks by 60 KB, data increases by 10 KB.
2012-01-16 13:34:42 +01:00
Lennart Poettering
f5e04665eb journal: hook up coredumping with journal 2012-01-14 01:54:33 +01:00
Lennart Poettering
f1a42db5a3 build-sys: bump version 2012-01-11 03:56:35 +01:00
Michael Biebl
b0cca7d886 build-sys: fix typo in help string 2012-01-07 00:37:12 +01:00
Kay Sievers
fbe224e203 autogen: add --with-rootlibdir= and switch /usr/local to /usr 2012-01-05 17:57:02 +01:00
Kay Sievers
39ad55a9aa build-sys: use ${ac_default_prefix} 2012-01-05 04:10:59 +01:00
Kay Sievers
9d3203b476 build-sys: install pam module in $rootlibdir 2012-01-05 03:51:52 +01:00
Kay Sievers
eb7bbee6cd build-sys: switch autoconf's default prefix from /usr/local to /usr 2012-01-05 03:42:48 +01:00
Kay Sievers
b8079ae19b build-sys: rename 'rootdir' to 'rootprefix' like udev and kmod uses 2012-01-05 00:40:39 +01:00
Lennart Poettering
4de856120f build-sys: make quotacheck and randomseed optional 2012-01-03 21:08:57 +01:00
Kay Sievers
f7762bf336 build-sys: switch to tar xz 2012-01-02 13:55:58 +01:00
Lennart Poettering
e5e83e8362 build-sys: make readahead and vconsole optional 2011-12-31 19:45:41 +01:00
Kay Sievers
bb765041af gnome-ask-password-agent: require libnotify >= 0.7.0 2011-12-31 18:15:27 +01:00
Kay Sievers
2a018e83de build-sys: restructure logind parts in Makefile.am and add --disable-logind 2011-12-31 06:02:42 +01:00
Lennart Poettering
807e17f05e journal: add inline compression support with XZ 2011-12-21 02:40:59 +01:00
Lennart Poettering
263653e103 Merge remote-tracking branch 'zbigniew/systemadm_changes' 2011-11-02 14:08:49 +01:00
Dexter Morgan
6fdae8a6a4 Add Mageia support
This patch adds support for the Mageia Linux distribution:
 http://www.mageia.org/

Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.

This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-02 02:16:39 +01:00
Lennart Poettering
d2134abdd5 build-sys: bump release for v37 2011-10-11 20:46:56 +02:00
Lennart Poettering
7c83341a59 build-sys: bump release 2011-09-23 18:30:02 +02:00
Zbigniew Jędrzejewski-Szmek
11216eb0bd systemadm: add libgee as dependency and use it for a unit map 2011-09-20 01:06:01 +02:00
Lennart Poettering
fe7ac31021 build-sys: bump release 2011-09-01 02:10:25 +02:00
Lennart Poettering
66be5eda80 build-sys: bump version 2011-08-25 17:02:33 +02:00
Miklos Vajna
4cd1eaa545 build-sys: Add --disable-localed configure switch 2011-08-25 00:58:20 +02:00
Miklos Vajna
f47cd184c0 build-sys: Add --disable-timedated configure switch 2011-08-24 16:03:59 +02:00
Michael Biebl
b62cfcea00 build-sys: make gperf configure check fatal
and document the new build requirement.
2011-08-03 17:11:13 +02:00
Lennart Poettering
47675042c2 bump release 2011-08-03 04:19:53 +02:00
Miklos Vajna
b2e9fb99ab build-sys: Add --disable-hostnamed configure switch 2011-08-02 01:38:43 +02:00