summaryrefslogtreecommitdiff
path: root/runlevels/Makefile
Commit message (Collapse)AuthorAge
* Tmpfiles: create and delete entries once in the boot runlevel.William Hubbs2012-10-31
| | | | | | | | | | | | | | | | Initially, we were creating tmpfiles entries in the sysinit runlevel and again in the boot runlevel. Systemd runs the --create and --remove options in one service called systemd-tmpfiles-setup after the local file systems are mounted. Now we have a service called tmpfiles.setup which emulates this. This also closes the bug mentioned below, since we were originally writing to files that were on read-only file systems and that were not available. Reported-by: <devurandom@gmx.net> X-Gentoo-Bug: 439012 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439012
* Fix default runlevel symlink pathsAndrew Gregory2012-10-05
| | | | | | | | | runlevels/Makefile currently uses ${PREFIX} when creating the initial runlevel symlinks, but the init files are installed to ${INITDIR}, which results in broken symlinks if ${SYSCONFDIR} is set to something other than ${PREFIX}/etc Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* tmpfiles.d init.d scriptsRobin H. Johnson2012-09-26
| | | | | | | | | | | | Now that the tmpfiles.d code is more tested, actually call it from init.d. It assumes that /run is already available when it runs. Please note it runs TWICE. - During sysinit, ideally just after /dev/shm is created, but before udev has started. After udev is also acceptable, but not ideal. - During boot, ideally just after localmount has completed. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* runlevels: Include sysfs in the sysinit level.Robin H. Johnson2012-09-26
| | | | | | | | net.* and module loading require sysfs now, and if udev is not in use, it is not always loaded early enough, esp for net.lo. Force it to come up during sysinit instead. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* fix the upstream default network stackWilliam Hubbs2012-07-10
| | | | | | | | The OpenRC upstream default network stack was changed, but there was no reason to change it. Now since we have the MKNET build switch, it is easy for the gentoo ebuild to install oldnet by default. The upstream default is newnet.
* add the MKNET variable to select a network stackWilliam Hubbs2012-07-10
| | | | | | | | The MKNET variable can be used to select the network stack you want to build and install with OpenRC. The current default is the gentoo "oldnet" stack. If you want to install the OpenRC newnet stack, use MKNET=newnet on the make command line.
* Revert "add the appropriate network scripts to the boot runlevel"William Hubbs2012-07-09
| | | | | This reverts commit add965706a3a239a7eb6750d6fc14090eb70dd12. This commit was broken so I need to revert it.
* fix typoWilliam Hubbs2012-07-09
|
* add the appropriate network scripts to the boot runlevelWilliam Hubbs2012-07-08
|
* Revert "Deprecate the network and staticroute scripts"William Hubbs2012-07-08
| | | | | | | This reverts commit 5994e55937cbbb71b1c22ad829b77a1bcd8c3793. There are situations where these scripts can be useful, so I am bringing them back. Also, I want to start discussions about simplifying the OpenRC network stack.
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Improve swap handlingWilliam Hubbs2012-02-13
| | | | | | | | | | | | | | | | | | Modify the swap script so it starts before and stops after localmount. Also, on linux, this script should skip mounting swap on loopback. Add a swapfiles script which runs after localmount and is designed to activate additional swap space which could not be activated before localmount was run. This includes loopback swap on linux and swapfiles which are on local file systems that were not mounted when swap was activated initially. The start code does reactivate swap that is already active, but this is not an error condition. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 401003 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401003
* Integrate migrate-run into bootmiscWilliam Hubbs2011-12-03
| | | | | | | | | The migrate-run service was hanging when parallel startup was enabled because of its dependencies. This integrates the logic for this service into bootmisc, which will avoid the issues with parallel startup. I would like to thank Robin H. Johnson <robbat2@gentoo.org> for his input on this patch
* Migrate /var/lock and /var/run to /run for linux systemsWilliam Hubbs2011-11-23
|
* Deprecate the network and staticroute scriptsWilliam Hubbs2011-11-16
| | | | | | These scripts are not supported, and they have several major design issues such as not being able to stop, start or allow a dependency on a single interface.
* further clean up OS differences in makefilesMike Frysinger2011-10-20
| | | | | | No need for if() logic. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Make variable references in Makefiles consistentWilliam Hubbs2011-10-19
| | | | | | Some variable references were written as $(foo), but the majority were written as ${foo}. This commit changes all of the variable references to using braces.
* consolodate MakefilesWilliam Hubbs2011-10-18
| | | | | | | | | | The tree contained many operating system specific Makefiles which were being included in other Makefiles. This commit removes those and adds the code to the makefiles which included them using make's conditional processing. X-Gentoo-Bug: 387441 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=387441
* Add staticroute to the boot runlevelRoy Marples2009-10-16
|
* Go back to gitRoy Marples2009-04-30
|
* Add a new init script - networkRoy Marples2009-04-16
| | | | | | | | | This simply assigns static addresses and an optional default route. It's possible to add external commands as well, so to create a bonded interface. Hopefully we can add a few examples to satisfy most of the old net.lo, which is no longer installed into boot by default.
* make ignore now configures the sv:ignore property.Roy Marples2008-12-04
|
* Add a new shutdown runlevel, Gentoo #224537.Roy Marples2008-11-03
| | | | | | | Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package.
* sysinit is now a real runlevel that handles things like udev, dmesg andRoy Marples2008-10-10
| | | | | | | | | | | mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version.
* Tweak install of runlevels.Roy Marples2008-03-27
|
* Check the right dir for installed scripts.Roy Marples2008-03-26
|
* SYSCONFDIR should already be prefixed.Roy Marples2008-03-25
|
* Rework our folder structure so that we don't have OS specific dirs, making ↵Roy Marples2008-03-25
| | | | it easier to share init and conf files per OS.
* add check/test rulesMike Frysinger2008-03-24
|
* Add tunable SYSCONFDIRRoy Marples2008-03-05
|
* Add a gitignore make target.Roy Marples2008-03-03
|
* Ensure that our scripts call prefixed runscript.Roy Marples2008-03-02
|
* Fix installing into PREFIX.Roy Marples2008-03-01
|
* Remove the over-engineered checkfs and checkroot scripts and replace with ↵Roy Marples2008-01-31
| | | | simple fsck, root and mtab scripts. Update dependencies accordingly.
* Add sys.mk to define system locations.Roy Marples2008-01-11
|
* Allow OS to define default package locations.Roy Marples2008-01-11
|
* No point in having runlevel rules in a seperate .mk nowRoy Marples2008-01-11
|
* Just have the one runlevels folder with OS includes.Roy Marples2008-01-11
|
* Loads of NetBSD tweaks here.Roy Marples2008-01-10
|
* Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst ↵Roy Marples2008-01-10
| | | | keeping BSD for all BSD's.
* We no longer install rmnologinRoy Marples2007-12-27
|
* Move /etc/conf.d/rc to /etc/rc.conf.Roy Marples2007-11-23
| | | | | | | Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
* Move the runlevel foo to it's own Makefile for ease of maintainanceRoy Marples2007-11-20
|
* Move runlevel and lib logic to the sub MakefilesRoy Marples2007-11-19
|
* Our build chain now works with GNU and BSD make implementationsRoy Marples2007-11-19
|
* Rewrite the core parts in C. We now provide librc so other programs canRoy Marples2007-04-05
query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="1.2.3.4/24 5.6.7.8/16" or like so config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.