summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAge
* build-sys: do not use "label" functions in libsystemd_sharedKay Sievers2014-10-28
|
* build-sys: bump library versions in preparation for 217 releaseLennart Poettering2014-10-28
|
* login: remove multi-seat-xTimofey Titovets2014-10-28
|
* shared: split mempool implementation from hashmapsMichal Schmidt2014-10-23
|
* test: generate tests for OrderedHashmap from Hashmap testsMichal Schmidt2014-10-23
| | | | | | | | | test-hashmap-ordered.c is generated from test-hashmap-plain.c simply by substituting "ordered_hashmap" for "hashmap" etc. In the cases where tests rely on the order of entries, a distinction between plain and ordered hashmaps is made using the ORDERED macro, which is defined only for test-hashmap-ordered.c.
* missing: remove fanotifyZbigniew Jędrzejewski-Szmek2014-10-17
| | | | It was only used in readahead.
* consoled: add a unit fileTom Gundersen2014-10-04
| | | | | The unit file is statically enabled, but still requires --enable-terminal to actually get installed.
* consoled: move from /bin to /lib/systemdTom Gundersen2014-10-04
| | | | This should not normally be run manually, but rather through systemd.
* systemd-bus-proxyd: distribute the .in file also for the user versionTom Gundersen2014-10-04
|
* build-sys: fix make distcheckZbigniew Jędrzejewski-Szmek2014-10-03
|
* console: add user console daemonDavid Herrmann2014-10-03
| | | | | | | | | | | | | | | | | | | | | | | | This adds a first draft of systemd-consoled. This is still missing a lot of features and does some rather primitive rendering. However, it shows the direction this code is going and serves as basis for further testing. The systemd-consoled binary should be run as `systemd --user' unit. It automatically picks up any session marked as Desktop=SYSTEMD-CONSOLE. Therefore, you can use any login-manager you want (ranging from /bin/login to gdm) to create sessions for systemd-consoled. However, the sessions managers must be prepared to set the Desktop= variable properly. The user-session is called `systemd-console', only the daemon providing the terminal environment is called `systemd-consoled' (mind the 'd'). So far, only a single terminal session is provided on each opened user-session. However, we support multiple user-sessions (even across multiple seats) just fine. In the future, the workspace logic will get extended so you can have multiple terminal sessions in a single user-session for easier access. Note that this is still experimental! Instructions on how to run it will follow shortly.
* terminal: add term.h header for library usersDavid Herrmann2014-10-02
| | | | | Like all the other parts of libsystemd-terminal, split API of term-internal.h into term.h so we can use it from systemd-consoled.
* terminal: move unifont-map to datadirDavid Herrmann2014-10-02
| | | | | | Lets avoid putting stuff into /usr/shared/unifont/, but keep it in /usr/share/systemd/. Upstream lacks interest in this, so don't bother for now.
* terminal: move unifont-internal.h to unifont.hDavid Herrmann2014-10-02
| | | | | | All the definitions are for outside users, so drop the -internal suffix. Internal definitions are in unifont-def.h and unifont.c, no need to share those.
* tests: add tests for {hashmap,set}_steal_firstZbigniew Jędrzejewski-Szmek2014-10-01
| | | | Just to make sure that coverity is wrong.
* catalog: add Polish translationPiotr Drąg2014-09-27
|
* make utmp/wtmp support configurableEmil Renner Berthing2014-09-26
| | | | | | This adds --disable-utmp option to configure. If it is used, all utmp-related functionality, including querying runlevel support, is removed.
* Revert "only build and install systemd-bus-proxyd if --enable-kdbus"Zbigniew Jędrzejewski-Szmek2014-09-25
| | | | | | This reverts commit ef99aec4d25087dec995b3f00b6957dcee6b13e9. systemd-stdio-bridge is used on non-kdbus systems.
* do not install factory/etc/pam.d if --disable-pamGustavo Sverzut Barbieri2014-09-25
|
* build-sys: do not distribute make-man-rules.pyZbigniew Jędrzejewski-Szmek2014-09-25
| | | | | It was added to EXTRA_DIST in 3c3e5f4276a893791110b03984735654372aa33a, but this script only makes sense for developers.
* only build and install systemd-bus-proxyd if --enable-kdbusGustavo Sverzut Barbieri2014-09-25
|
* readahead: wipe out readaheadDaniel Buch2014-09-25
|
* bus-policy: add test utilityDaniel Mack2014-09-20
| | | | Add some test files and routines for dbus policy checking.
* terminal: add systemd-modeset debugging toolDavid Herrmann2014-09-19
| | | | | | | | | The systemd-modeset tool is meant to debug grdev issues. It simply displays morphing colors on any found display. This is pretty handy to look for tearing in the backends and debug hotplug issues. Note that this tool requires systemd-logind to be compiled from git (there're important fixes that haven't been released, yet).
* terminal: add grdev DRM backendDavid Herrmann2014-09-19
| | | | | | | | | | | | | | | | The grdev-drm backend manages DRM cards for grdev. Any DRM card with DUMB_BUFFER support can be used. So far, our policy is to configure all available connectors, but keep pipes inactive as long as users don't enable the displays on top. We hard-code double-buffering so far, but can easily support single-buffering or n-buffering. We also require XRGB8888 as format as this is required to be supported by all DRM drivers and it is what VTs use. This allows us to switch from VTs to grdev via page-flips instead of deep modesets. There is still a lot room for improvements in this backend, but it works smoothly so far so more enhanced features can be added later.
* terminal: add graphics interfaceDavid Herrmann2014-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | The grdev layer provides graphics-device access via the libsystemd-terminal library. It will be used by all terminal helpers to actually access display hardware. Like idev, the grdev layer is built around session objects. On each session object you add/remove graphics devices as they appear and vanish. Any device type can be supported via specific card-backends. The exported grdev API hides any device details. Graphics devices are represented by "cards". Those are hidden in the session and any pipe-configuration is automatically applied. Out of those, we configure displays which are then exported to the API user. Displays are meant as lowest hardware entity available outside of grdev. The underlying pipe configuration is fully hidden and not accessible from the outside. The grdev tiling layer allows almost arbitrary setups out of multiple pipes, but so far we only use a small subset of this. More will follow. A grdev-display is meant to represent real connected displays/monitors. The upper level screen arrangements are user policy and not controlled by grdev. Applications are free to apply any policy they want. Real card-backends will follow in later patches.
* build: colorize gcc only if on ttyMichal Schmidt2014-09-15
| | | | | | | | | Rather than forcing gcc to always produce colorized error messages whether on tty or not, enable automatic colorization by ensuring GCC_COLORS is set to a non-empty string. Doing it this way removes the need for workarounds in ~/.emacs or ~/.vimrc for "M-x compile" or ":make", respectively, to work.
* build-sys: make hibernation support configure option also handle ↵Ivan Shapovalov2014-09-09
| | | | hybrid-sleep; fix indentation
* bus: add kdbus endpoint typesDaniel Mack2014-09-08
| | | | | Add types to describe endpoints and associated policy entries, and add a BusEndpoint instace to ExecContext.
* bus: factor out bus policy itemsDaniel Mack2014-09-08
| | | | | In order to re-use the policy definitions, factor them out into their own files.
* hibernate-resume: let's move all hibernate-resume tools into the same directoryLennart Poettering2014-09-04
| | | | | They are closely related, so let's move them together, and clean up the .c file naming while we are at it.
* build: don't install busname units and target if kdbus support is disabledMichael Biebl2014-09-04
|
* build-sys: configure option to disable hibernationUmut Tezduyar Lindskog2014-09-03
|
* units: m4 is not needed for rescue.serviceZbigniew Jędrzejewski-Szmek2014-08-31
|
* udev: remove userspace firmware loading supportKay Sievers2014-08-30
|
* use the switch_root function in shutdownHarald Hoyer2014-08-28
| | | | | | removes code duplication also move switch-root to shared
* terminal: add systemd-evcat input debugging toolDavid Herrmann2014-08-27
| | | | | | | | Like systemd-subterm, this new systemd-evcat tool should only be used to debug libsystemd-terminal. systemd-evcat attaches to the running session and pushes all evdev devices attached to the current session into an idev-session. All events of the created idev-devices are then printed to stdout for input-event debugging.
* terminal: add xkb-based keyboard devices to idevDavid Herrmann2014-08-27
| | | | | | | | | | The idev-keyboard object provides keyboard devices to the idev interface. It uses libxkbcommon to provide proper keymap support. So far, the keyboard implementation is pretty straightforward with one keyboard device per matching evdev element. We feed everything into the system keymap and provide proper high-level keyboard events to the application. Compose-features and IM need to be added later.
* terminal: add evdev elements to idevDavid Herrmann2014-08-27
| | | | | | | | | | | | | | The evdev-element provides linux evdev interfaces as idev-elements. This way, all real input hardware devices on linux can be used with the idev interface. We use libevdev to interface with the kernel. It's a simple wrapper library around the kernel evdev API that takes care to resync devices after kernel-queue overflows, which is a rather non-trivial task. Furthermore, it's a well tested interface used by all other major input users (Xorg, weston, libinput, ...). Last but not least, it provides nice keycode to keyname lookup tables (and vice versa), which is really nice for debugging input problems.
* terminal: add input interfaceDavid Herrmann2014-08-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The idev-interface provides input drivers for all libsystemd-terminal based applications. It is split into 4 main objects: idev_context: The context object tracks global state of the input interface. This will include data like system-keymaps, xkb contexts and more. idev_session: A session serves as controller for a set of devices. Each session on an idev-context is independent of each other. The session is also the main notification object. All events raised via idev are reported through the session interface. Apart of that, the session is a pretty dumb object that just contains devices. idev_element: Elements provide real hardware in the idev stack. For each hardware device, one element is added. Elements have no knowledge of higher-level device types, they only provide raw input data to the upper levels. For example, each evdev device is represented by a different element in an idev session. idev_device: Devices are objects that the application deals with. An application is usually not interested in elements (and those are hidden to applications), instead, they want high-level input devices like keyboard, touchpads, mice and more. Device are the high-level interface provided by idev. Each device might be fed by a set of elements. Elements drive the device. If elements are removed, devices are destroyed. If elements are added, suitable devices are created. Applications should monitor the system for sessions and hardware devices. For each session they want to operate on, they create an idev_session object and add hardware to that object. The idev interface requires the application to monitor the system (preferably via sysview_*, but not required) for hardware devices. Whenever hardware is added to the idev session, new devices *might* be created. The relationship between hardware and high-level idev-devices is hidden in the idev-session and not exposed. Internally, the idev elements and devices are virtual objects. Each real hardware and device type inherits those virtual objects and provides real elements and devices. Those types will be added in follow-up commits. Data flow from hardware to the application is done via idev_*_feed() functions. Data flow from applications to hardware is done via idev_*_feedback() functions. Feedback is usually used for LEDs, FF and similar operations.
* terminal: add system view interfaceDavid Herrmann2014-08-27
| | | | | | | | | | | | | | We're going to need multiple binaries that provide session-services via logind device management. To avoid re-writing the seat/session/device scan/monitor interface for each of them, this commit adds a generic helper to libsystemd-terminal: The sysview interface scans and tracks seats, sessions and devices on a system. It basically mirrors the state of logind on the application side. Now, each session-service can listen for matching sessions and attach to them. On each session, managed device access is provided. This way, it is pretty simple to write session-services that attach to multiple sessions (even split across seats).
* tmpfiles: make resolv.conf entry conditional on resolved supportTom Gundersen2014-08-27
|
* hibernate-resume-generator: add a generator for instantiating the resume unit.Ivan Shapovalov2014-08-26
| | | | | | | | | | | | | hibernate-resume-generator understands resume= kernel command line parameter and instantiates the systemd-resume@.service accordingly if it is passed. This enables resume from hibernation using device specified on the kernel command line, and it may be specified either as "/dev/disk/by-foo/bar" or "FOO=bar", not only "/dev/sdXY" which is understood by the in-kernel implementation. So now resume= is brought on par with root= in terms of possible ways to specify a device.
* hibernate-resume: add a tool to write a device node's major:minor to ↵Ivan Shapovalov2014-08-26
| | | | | | | | | | /sys/power/resume. This can be used to initiate a resume from hibernation by path to a swap device containing the hibernation image. The respective templated unit is also added. It is instantiated using path to the desired resume device.
* core: add support for a configurable system-wide start-up timeoutLennart Poettering2014-08-22
| | | | | | | | | | | | | | | | | | | When this system-wide start-up timeout is hit we execute one of the failure actions already implemented for services that fail. This should not only be useful on embedded devices, but also on laptops which have the power-button reachable when the lid is closed. This devices, when in a backpack might get powered on by accident due to the easily reachable power button. We want to make sure that the system turns itself off if it starts up due this after a while. When the system manages to fully start-up logind will suspend the machine by default if the lid is closed. However, in some cases we don't even get as far as logind, and the boot hangs much earlier, for example because we ask for a LUKS password that nobody ever enters. Yeah, this is a real-life problem on my Yoga 13, which has one of those easily accessible power buttons, even if the device is closed.
* build-sys: update versions for upcoming releaseLennart Poettering2014-08-19
|
* tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate ↵Lennart Poettering2014-08-19
| | | | | | | | UIDs/GIDs from This way we can guarantee a limited amount of compatibility with login.defs, by generate an appopriate "r" line out of it, on package installation.
* tests: add test-condition-utilRonny Chevalier2014-08-18
|
* memfd: move code from public library to src/sharedDaniel Mack2014-08-18
| | | | | Don't expose generic kernel API via libsystemd, but keep the code internal for our own usage.
* Makefile.am: test-bus-memfd went away. Kill its residues in Makefile.amDaniel Mack2014-08-18
|