aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)AuthorFiles
2012-07-24make: upload in a different orderTom Gundersen1
For silly reasons. Don't ask.
2012-07-17makefile: do not create /etc/conf.dTom Gundersen1
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-07Makefile: fix2012.06.1Tom Gundersen1
2012-05-29man: drop duplicate manpagesTom Gundersen1
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 Gundersen1
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 Gundersen1
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-04-30release: put tarball in correct dir on buildserverTom Gundersen1
Signed-off-by: Tom Gundersen <teg@jklm.no>
2012-03-21man: don't ship manpage for binfmt for nowTom Gundersen1
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 Gundersen1
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 Luttringer1
Signed-off-by: Sébastien Luttringer <seblu@seblu.net>
2012-03-13Merge remote-tracking branch 'seblu/master'Tom Gundersen1
Conflicts: Makefile
2012-03-13Support additional binary formats at bootSébastien Luttringer1
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 Fleischer1
* 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 Fleischer1
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>
2011-12-31man: add hostname(5)Tom Gundersen1
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 Gundersen1
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 Gundersen1
The manpage was not being installed. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-12-26Add manpage(5) for rc.confDieter Plaetinck1
[tomegun: fixed whitespace error] Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-11-14Makefile: automate release a bit moreTom Gundersen1
Automaticall push the tarball to both gerolde and pkgbuild.com. Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-10-29minilogd: killTom Gundersen1
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 Luttringer1
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 Luttringer1
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 Gundersen1
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 Gundersen1
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 Luttringer1
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 Reisner1
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élanger1
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by: Tom Gundersen <teg@jklm.no>
2011-06-05hwclock: refactor daemonTom Gundersen1
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 Gundersen1
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émoulins1
seblu: Fix typo, add vim modeline Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-22Add rc.d bash completionSebastien Luttringer1
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
2011-05-19udev: generate blacklist on bootTom Gundersen1
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>
2011-05-19makefile: do not make functions executableTom Gundersen1
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>
2011-05-11Rename rc into rc.d2011.05.1Sebastien Luttringer1
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>
2011-04-23Use Makefile to replace install.shDave Reisner1
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>
2011-04-21release: automate and documentTom Gundersen1
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>
2011-04-21Use a Makefile and clean up install fileDan McGee1
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>