Age | Commit message (Collapse) | Author |
|
This add a /etc/tmpfiles.d inside makefile to automatically create directory with package.
/etc is a better place to store user specific tmpfiles config where /usr/lib is better
for shipped with package config.
As Dave as already included this path inside his arch-tmpfiles, it would be a shame to miss out.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
This is the same concept as systemd's tmpfiles handling, slightly
simplified to avoid timed re-triggering of file cleaning. Most of our
current file cleaning that takes place in rc.single and rc.sysinit is
replaced by this, with the exception that we hold onto the /var/lock and
/var/run for finer control, since we still check for the possibility of
these directories being symlinks and adjust accordingly.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Before: adjust and set time on boot, adjust rtc every hour, and on shutdown.
Now: do not set time on boot, adjust rtc on shutdown.
Rationale:
1) We can never ever set the systemtime after system is up and running, as this might
make time go backwards (unless we are careful à la ntpd, but we don't want to get
into that business).
2) We are under the assumption that exact time is not needed, we are just trying
to avoid large, accumulating drifts over time. With the new (significantly simpler)
implementation systemtime will be off by the drift since the last clean shutdown.
With the old implementation systemtime would be off by the drift since last
shutdown (even if it was unclean). Either way the drifts would not accumulate,
and a clean reboot would get you a "perfect" time.
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This reverts commit 99d64f5789f01243903be4b32078ec38bdce75fa.
We decided not to provide a compatibility layer, but rather require
the user to create blacklist files in /etc/modprobe.d manually.
Hence, this is no longer needed.
The reason was that the compatibliy would not be 1-to-1, so it might
be missleading to pretend that it was. Also, most people should not
need the blacklisting in the first place.
Conflicts:
Makefile
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
seblu: Fix typo, add vim modeline
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
udev will read /etc/modprobe.d/*.conf and blacklist all modules that are listed as
blacklist <module>
We parse rc.conf at boot and generate such a .conf file. It cannot be written to
/etc this early, so we save it to /run. A symlink exists in /etc to get the desired
functionality.
With this patch (and an analogous one in mkinitcpio) load-modules.sh can be removed
from the udev package without loss of significant functionality.
Setting MOD_AUTOLOAD will then no longer take effect, nor will kernel parameters.
Thouhgh, kernel parameters might still affect the initramfs as the implementation
is independent.
Original-idea-by: Benjamen Richer <br@waldteufel-online.net>
Based-on-patch-by: David Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
This was a bug in the original conversion to makefile (installing functions twice, the last time with wrong permissions).
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
To avoid conflict with plan9 rc shell we need to rename our rc.
Original name come from debian invoke-rc.d, shortened into rc.
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
If we're going to use a Makefile for minilogd, we might as well use it
for everything. This has some moving pieces:
* fix minilogd rule: minilogd.o is a target dep not a build rule
* rename adjtime.cron => adjtime
* fixup PKGBUILD to account for changes
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Add a brief description of how to release initscripts. Also automate
the creation of the tarball using "make release".
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Use a Makefile to compile, rather than a call to gcc in install.sh. This
allows make's implict rules to take care of CFLAGS, LDFLAGS, CC, etc.
Use `set -e` in the install file rather than needing '|| exit 1' on
every single operation.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|