summaryrefslogtreecommitdiff
path: root/.gitignore
AgeCommit message (Collapse)AuthorFilesLines
2020-03-26Merge v240 into tizenAdrian Szyndela1-0/+3
systemd 240
2020-02-26Merge v236 into tizensandbox/adrians/upgrade-to-236Adrian Szyndela1-0/+2
Change-Id: Id62f08b8ecf2a909a49e5f93b2f7594b3880ef44
2020-02-26Merge v235 into tizenAdrian Szyndela1-298/+4
Change-Id: Iafcca23df73f2694eda50a97771acac4b7996f30
2020-02-26Merge v234 into tizenAdrian Szyndela1-1/+326
Change-Id: If676fe909a40eadc60ee5ff023abe4ee2c64b44e
2018-10-29Remove unused bluetooth.targetHyotaek Shim1-305/+3
Change-Id: I0ecbde7c179056840f34b05152d7dfaee48a6c0e Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2018-09-07gitignore: add nspawn image lock and mkosi temporary filesYu Watanabe1-0/+2
2018-07-16gitignore: add .gdb_historyZbigniew Jędrzejewski-Szmek1-0/+1
This is the default file gdb will use.
2017-11-29Add mkosi.output/ to .gitignoreZbigniew Jędrzejewski-Szmek1-0/+1
It's not something that would ever be checked in, and mkosi along with systemd, so this directory is likely to appear.
2017-10-13gitignore: ignore output file of mkid (#7081)John Lin1-0/+1
mkid is from https://www.gnu.org/software/idutils/
2017-07-18build-sys: drop gitignore patterns for in-tree buildsZbigniew Jędrzejewski-Szmek1-298/+0
... and other autotools-generated files.
2017-07-17mkosi: make use of BUILDDIR if it is setLennart Poettering1-0/+2
This way, the new "mkosi.builddir" support proposed in PR: https://github.com/systemd/mkosi/pull/114 will be made use of automatically.
2017-07-17gitignore: include mkosi -i files in gitignoreLennart Poettering1-4/+6
(also: sort the entries again)
2017-06-30Merge pull request #6194 from keszybz/urandom-magicZbigniew Jędrzejewski-Szmek1-0/+1
Fall back to /dev/urandom less and other random number improvements.
2017-06-28tests: add test-random-utilZbigniew Jędrzejewski-Szmek1-0/+1
In case you're wondering: 16 aligns in a nice pyramid.
2017-06-27test-resolved-packet: add a simple test for our allocation functionsZbigniew Jędrzejewski-Szmek1-0/+1
2017-05-25test-timesync: add first test for timesyncd conf parsingZbigniew Jędrzejewski-Szmek1-0/+1
We parse the string supplied in NTP_SERVERS during configuration under an assert_se(). Right now we will accept pretty much anything there, but in case we are more picky in the future, add a simple test which checks that we can actually parse whatever is in NTP_SERVERS so that we don't fail the assertion at runtime.
2017-05-17gitignore: ignore /test-sd-dhcp-lease (#5983)Daniel Wang1-0/+1
2017-05-13tests,meson: add test-bus-vtable, compiled as C and C++Zbigniew Jędrzejewski-Szmek1-0/+2
This test is mostly a compilation test that checks that various defines in sd-bus-vtable.h are valid C++. The code is executed, but the results are not checked (apart from sd-bus functions not returning an error). test-bus-objects contains pretty extensive tests for this functionality. The C++ version is only added to meson, since it's simpler there. Because of the .cc extension, meson will compile the executable with c++. This test is necessary to properly check the macros in sd-bus-vtable.h. Just running the headers through g++ is not enough, because the macros are not exercised. Follow-up for #5941.
2017-04-23gitignore: ignore all build* subdirs in main directoryZbigniew Jędrzejewski-Szmek1-1/+1
Now that meson builds require a separate build dir, everybody's bound to have at least one. So let's accept the convention that build*/ is for builds, and apply a blanket ignore rule, we shouldn't have any important files named build* in the main directory.
2017-02-21Merge pull request #5131 from keszybz/environment-generatorsLennart Poettering1-0/+2
Environment generators
2017-02-20environment-generator: new generator to peruse environment.dZbigniew Jędrzejewski-Szmek1-0/+1
Why the strange name: the prefix is necessary to follow our own advice that environment generators should have numerical prefixes. I also put -d- in the name because otherwise the name was very easy to mistake with systemd.environment-generator. This additional letter clarifies that this on special generator that supports environment.d files.
2017-02-15test-journal-importer: new test file to check the newly exported importer codeZbigniew Jędrzejewski-Szmek1-0/+1
Only one test case is added, but it is enough to check basic sanity of the code (single-line and binary fields and trusted fields, allocation and freeing).
2017-02-11basic/util: move execute_directory() to separate fileZbigniew Jędrzejewski-Szmek1-0/+1
It's a fairly specialized function. Let's make new files for it and the tests.
2016-12-21verity: add support for setting up verity-protected root disks in the initrdLennart Poettering1-0/+2
This adds a generator and a small service that will look for "roothash=" on the kernel command line and use it for setting up a very partition for the root device. This provides similar functionality to nspawn's existing --roothash= switch.
2016-12-21fstab-generator: add support for volatile bootsLennart Poettering1-0/+1
This adds support for a new kernel command line option "systemd.volatile=" that provides the same functionality that systemd-nspawn's --volatile= switch provides, but for host systems (i.e. systems booting with a kernel). It takes the same parameter and has the same effect. In order to implement systemd.volatile=yes a new service systemd-volatile-root.service is introduced that only runs in the initrd and rearranges the root directory as needed to become a tmpfs instance. Note that systemd.volatile=state is implemented different: it simply generates a var.mount unit file that is part of the normal boot and has no effect on the initrd execution. The way this is implemented ensures that other explicit configuration for /var can always override the effect of these options. Specifically, the var.mount unit is generated in the "late" generator directory, so that it only is in effect if nothing else overrides it.
2016-12-13core: hook up MountFlags= to the transient unit logicLennart Poettering1-0/+1
This makes "systemd-run -p MountFlags=shared -t /bin/sh" work, by making MountFlags= to the list of properties that may be accessed transiently.
2016-12-10Merge pull request #4795 from poettering/dissectZbigniew Jędrzejewski-Szmek1-0/+2
Generalize image dissection logic of nspawn, and make it useful for other tools.
2016-12-07dissect: add small "systemd-dissect" tool as wrapper around dissect-image.cLennart Poettering1-0/+1
This adds a small tool that may be used to look into OS images, and mount them to any place. This is mostly a friendlier version of test-dissect-image.c. I am not sure this should really become a proper command of systemd, hence for now do not install it into bindir, but simply libexecdir. This tool is already pretty useful since you can mount image files with it, honouring the various partitions correctly. I figure this is going to become more interesting if the dissctor learns luks and verity support.
2016-12-07util-lib: split out image dissecting code and loopback code from nspawnLennart Poettering1-0/+1
This adds two new APIs to systemd: - loop-util.h is a simple internal API for allocating, setting up and releasing loopback block devices. - dissect-image.h is an internal API for taking apart disk images and figuring out what the purpose of each partition is. Both APIs are basically refactored versions of similar code in nspawn. This rework should permit us to reuse this in other places than just nspawn in the future. Specifically: to implement RootImage= in the service image, similar to RootDirectory=, but operating on a disk image; to unify the gpt-auto-discovery generator code with the discovery logic in nspawn; to add new API to machined for determining the OS version of a disk image (i.e. not just running containers). This PR does not make any such changes however, it just provides the new reworked API. The reworked code is also slightly more powerful than the nspawn original one. When pointing it to an image or block device with a naked file system (i.e. no partition table) it will simply make it the root device.
2016-11-29core: add "khash" API to src/basic/ (as wrapper around kernel AF_ALG)Lennart Poettering1-0/+1
Let's take inspiration from bluez's ELL library, and let's move our cryptographic primitives away from libgcrypt and towards the kernel's AF_ALG cryptographic userspace API. In the long run we should try to remove the dependency on libgcrypt, in favour of using only the kernel's own primitives, however this is unlikely to happen anytime soon, as the kernel does not provide Elliptic Curve APIs to userspace at this time, and we need them for the DNSSEC cryptographic. This commit only covers hashing for now, symmetric encryption/decryption or even asymetric encryption/decryption is not available for now. "khash" is little more than a lightweight wrapper around the kernel's AF_ALG socket API.
2016-10-28.gitignore: ignore precompiled GCC headers (#4516)Daniel Mack1-0/+1
Not sure since when this is the default behavior, but my local tree is full of such files. Let's ignore them for clarity.
2016-10-26gitignore: add test-seccomp (#4498)Thomas H. P. Andersen1-0/+1
2016-09-14gitignore: ignore image.raw from mkosi (#4141)Davide Cavalca1-0/+1
2016-08-22sd-bus: add a small test case for sd_bus_trackLennart Poettering1-0/+1
This tests in particular that disconnecting results in the tracking object's handlers to be called.
2016-08-18add a new tool for creating transient mount and automount unitsLennart Poettering1-0/+1
This adds "systemd-mount" which is for transient mount and automount units what "systemd-run" is for transient service, scope and timer units. The tool allows establishing mounts and automounts during runtime. It is very similar to the usual /bin/mount commands, but can pull in additional dependenices on access (for example, it pulls in fsck automatically), an take benefit of the automount logic. This tool is particularly useful for mount removable file systems (such as USB sticks), as the automount logic (together with automatic unmount-on-idle), as well as automatic fsck on first access ensure that the removable file system has a high chance to remain in a fully clean state even when it is unplugged abruptly, and returns to a clean state on the next re-plug. This is a follow-up for #2471, as it adds a simple client-side for the transient automount logic added in that PR. In later work it might make sense to invoke this tool automatically from udev rules in order to implement a simpler and safer version of removable media management á la udisks.
2016-06-06keymap-util: add tests and fix one small bugZbigniew Jędrzejewski-Szmek1-0/+1
When converting an empty x11 variant, we would not delete vconsole mapping properly. find_legacy_keymap() is made non-static. I think it's important to be able to test it. In principle we could also test it through the higher-level interface of x11_convert_to_vconsole, but x11_convert_to_vconsole also uses find_converted_keymap, and it's better to test at this lower level. Note that find_legacy_keymap might be a bit of a misnomer, because we'd probably want to keep kbd-model-map even if the "legacy" layouts went away. So we might want to change this name, but I'm leaving that for another commit.
2016-05-05Trivial network cleanup (#3196)Thomas H. P. Andersen1-1/+1
* gitignore: typo fix for test-networkd-conf * networkd: fix double include
2016-05-03test-networkd-conf: add tests for the parsing functionsZbigniew Jędrzejewski-Szmek1-0/+1
2016-04-25nspawn: optionally fix up OS tree uid/gids for usernsLennart Poettering1-0/+1
This adds a new --private-userns-chown switch that may be used in combination with --private-userns. If it is passed a recursive chmod() operation is run on the OS tree, fixing all file owner UID/GIDs to the right ranges. This should make user namespacing pretty workable, as the OS trees don't need to be prepared manually anymore.
2016-04-12basic: remove rbtree code, it's unusedLennart Poettering1-1/+0
it's unused, and should we need it one day we can always resurrect it from git history.
2016-04-06Merge pull request #2947 from keszybz/test-nssLennart Poettering1-0/+1
Add a test for nss modules and some related fixes
2016-04-05test-nss: test the resolution of various namesZbigniew Jędrzejewski-Szmek1-0/+1
nss-dns is also "tested". It should be almost always available, and provides a reference for comparison.
2016-03-21tests: rename test-env-replace to test-env-utilZbigniew Jędrzejewski-Szmek1-1/+1
2016-03-09Merge pull request #2792 from ronnychevalier/rc/tests_movev2Zbigniew Jędrzejewski-Szmek1-0/+12
tests: move out unrelated tests from test-util to their own file
2016-03-04build-sys: ignore Python 2 bytecode filesZbigniew Jędrzejewski-Szmek1-0/+1
We ignored __pycache__ which works for Python 3, but the rule for Python 2 got lost somehow.
2016-03-04Rename test-boot-timestamp to test-boot-timestamps and enable by defaultZbigniew Jędrzejewski-Szmek1-1/+1
The source file name and the binary name were mismatched. Rename binary to match. Make the test exit with TEST_SKIP if the data is missing or we have no permissions. Otherwise, the data will be printed, which should be safe to enable by default.
2016-03-03tests: move xattr-util related tests to test-xattr-util.cRonny Chevalier1-0/+1
2016-03-03tests: move glob-util related tests to test-glob-util.cRonny Chevalier1-0/+1
2016-03-03tests: move io-util related tests to test-io-utilRonny Chevalier1-0/+1
2016-03-03tests: move proc-cmdline related tests to test-proc-cmdline.cRonny Chevalier1-0/+1