summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2012-08-31Merge branch 'master' of git://projects.archlinux.org/initscripts2012.09.1Nicolás Reynolds
Conflicts: Makefile parabola.7.txt
2012-08-27Merge branch 'kill-DAEMON_LOCALE'Tom Gundersen
Conflicts: functions
2012-08-27move archlinux(7) and locale.sh to filesystemTom Gundersen
The new locale.sh makes DAEMON_LOCALE redundant, so we remove that functionality. A post-upgrade notice will be added. The new functionality will apply the settings to /etc/locale.conf system-wide, and allow each user to override it in $HOME/.config/locale.conf. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-21Merge branch 'master' of git://projects.archlinux.org/initscripts2012.08.21Nicolás Reynolds
Conflicts: Makefile
2012-08-20Add special target for rc.conf DAEMONSJan Alexander Steffens (heftig)
This (re)introduces arch-daemons.target, so a simple systemctl mask arch-daemons.target will suppress the starting of DAEMONS from rc.conf. Signed-off-by: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
2012-08-09arch-modules-load, arch-daemons: add manpagesTom Gundersen
Rather than pointing to the documentation online, include the documentation here. The main point with the documentation is to point out that these things should not be used. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-08-04systemd: mask netfs.serviceTom Gundersen
The compat layer might attempt to start this, but that is never necessary, as systemd deals with remote-fs internally. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-29Sign releasesNicolás Reynolds
2012-07-29Rebranded for Parabola2012.07.29Nicolás Reynolds
2012-07-29Merge branch 'master' of git://projects.archlinux.org/initscriptsNicolás Reynolds
Conflicts: Makefile rc.conf rc.sysinit
2012-07-28merge initscripts-systemdTom Gundersen
This makes sure that systemd supports some initscripts API's. With this patch, systemd will: * Parse and use DAEMONS and MODULES from rc.conf * Run rc.local and rc.local.shutdown on boot and shutdown respectively Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-27man: change ArchLinux(7) into archlinux(7)Tom Gundersen
Suggested-by: Pierre Schmitz <pierre@archlinux.org> Suggested-by: Karol Blazewicz <karol.blazewicz@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-27man: add ArchLinux(7)Tom Gundersen
This outlines what files needs to be configured to get a well-behaved system. For now it is extremely terse, but the main point is to work as a check-list, and to point people to the correct manpages to learn more. I'll be happy to take patches to extend this in the future. One might argue that this sholud not be part of initscripts, and we might indeed move it to 'filesystem' or something like that in the future. For the time being I'll keep it here for convenience. Suggested-by: Thomas Bächler <thomas@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-07-24make: upload in a different orderTom Gundersen
For silly reasons. Don't ask.
2012-07-17makefile: do not create /etc/conf.dTom Gundersen
Hopefully this folder is going away over time, in the meantime, let it be owned by the packages that use it. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-06-11Merge branch 'master' of git://projects.archlinux.org/initscripts2012.06.11Nicolás Reynolds
2012-06-07Makefile: fixTom Gundersen
2012-06-01Merge branch 'master' of git://projects.archlinux.org/initscripts2012.06.1Nicolás Reynolds
Conflicts: hostname.5.txt locale.conf.5.txt
2012-05-29man: drop duplicate manpagesTom Gundersen
These are now shipped with systemd-tools. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-05-29tmpfiles: let systemd-tools ship most tmpfiles.d entriesTom Gundersen
We only have one that is initsrcipts specific. Rename the tmpfiles snippet from arch.conf to initscripts.conf as this is more accurate. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-05-29tmpfiles,sysctl,binfmt: use the systemd toolsTom Gundersen
No point in reinventing the wheel. These and other tools are shipped in the systemd-tools package. Functionality should be unchanged, but we no longer have to maintain the code. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-05-06Merge branch 'master' of git://projects.archlinux.org/initscripts2012.05.2Nicolás Reynolds
Conflicts: Makefile
2012-04-30release: put tarball in correct dir on buildserverTom Gundersen
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-03-21man: don't ship manpage for binfmt for nowTom Gundersen
This will be enabled in the next release once we can coordinate with systemd. I'd also like to document the other formats (tmpfiles, sysctl) at the same time. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-03-21rc.d: movebash completions to /usr/shareTom Gundersen
This is the standard location with the new bash-completinos package. Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-03-14arch-binfmt: add manpageSébastien Luttringer
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
2012-03-13Merge remote-tracking branch 'seblu/master'Tom Gundersen
Conflicts: Makefile
2012-03-13Support additional binary formats at bootSébastien Luttringer
This patch mount kernel binfmt_misc filesystem at boot and allow loading of a default configuration inspired from systemd binfmt.d way. Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
2012-03-12Makefile: Rework man page handlingLukas Fleischer
* Move the list of man page files to a variable to avoid code duplication. Also, use generic code in the install target and extract man pages from the newly introduced variable. * Use generic (wildcard) rules for man page generation instead of having one rule per source/target file. * Use "$(DESTDIR)" instead of "${DESTDIR}" everywhere. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2012-03-12Makefile: Mark phony targetsLukas Fleischer
Most targets used in our Makefile don't refer to files. Use the ".PHONY" special target to mark these. Doing this prevents us from file name conflicts and improves performance a bit. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2012-02-02Merge git://projects.archlinux.org/initscriptsNicolás Reynolds
2011-12-31man: add hostname(5)Tom Gundersen
Also fix typo in Makefile making the install of the other manpages fail. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-31man: add Arch-specific man page for locale.conf and vconsole.confTom Gundersen
Taken from systemd, but adapted to be Arch-specific. Some things left commented out as we might want to implement them. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-30man: install rc.conf.5Tom Gundersen
The manpage was not being installed. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-26Add manpage(5) for rc.confDieter Plaetinck
[tomegun: fixed whitespace error] Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-14Release to ParabolaNicolás Reynolds
2011-11-14Makefile: automate release a bit moreTom Gundersen
Automaticall push the tarball to both gerolde and pkgbuild.com. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-10-29minilogd: killTom Gundersen
This is not very useful, is not maintained, has open serious bugs. Better to admit that it does not work and just remove it. Someone could easily make an AUR package with a hook, if they want it and can make it work as expected. The only case where this would be useful is in case lvm monitoring is in use and dmeventd sends out a message to syslog before syslog-ng is started (there is a very small window). However, not even this works atm (as far as I know) due to bugs in minilogd. Signed-off-by: Tom Gundersen <teg@jklm.no> Signed-off-by: Dan McGee <dan@archlinux.org>
2011-10-18Add rc.d manual page2011.10.1Sebastien Luttringer
Thanks to Elvis Stansvik <elvstone@gmail.com> for its template. Fix bug: FS#25269 Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-08-31Load sysctl config files from sysctl.dSebastien Luttringer
This patch implement loading of sysctl config files as described in http://0pointer.de/public/systemd-man/sysctl.d.html This is a very conveniant way of configuring sysctl option for sysadmin which can drop sysctl config files inside this directory to enable some feature. Dropping a file like disableipv6.conf inside this directory will disable ipv6 $ cat disableipv6.conf net.ipv6.conf.all.disable_ipv6 = 1 There is atm no package which use this functionnality Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-08-05locale: make /etc/profile.d/locale.sh dynamicTom Gundersen
locale.sh parses rc.conf at runtime and sets the LOCALE accordingly, rather than writing a static file at every boot. This eliminates yet another write to /etc. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-08-04/usr: move all executables from /sbin to /usr/sbinTom Gundersen
At worst this will give an error message if /usr is not mounted, which is fine as we are warning against this anyway. It will not break boot. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-07-26Add /etc/tmpfiles.d into makefileSebastien Luttringer
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>
2011-07-24arch-tmpfiles: add new script to handle volatile file controlDave Reisner
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>
2011-06-08Add logrotate config file to rotate /var/log/bootEric Bélanger
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-05hwclock: refactor daemonTom Gundersen
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>
2011-05-31Revert "udev: generate blacklist on boot"Tom Gundersen
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>
2011-05-22Add a zsh completion script for the command rc.d.Clément Démoulins
seblu: Fix typo, add vim modeline Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-22Add rc.d bash completionSebastien Luttringer
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-19udev: generate blacklist on bootTom Gundersen
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>