summaryrefslogtreecommitdiff
path: root/sh/Makefile
Commit message (Collapse)AuthorAge
* move rc_svcdir to /run/openrc on Linux systemsWilliam Hubbs2012-05-14
| | | | | | | | | | | | | | | If you are not using linux, this should not affect you. If you are using linux, from this point forward, openrc requires the /run directory to be a mounted tmpfs. If it is, you can run @LIBEXECDIR@/sh/migrate-to-run.sh as root to migrate your dependency tree and state information to the new location. If it is not, you must create the /run directory as root with permissions 755 then reboot your system. reported-by: Maxim Kammerer <mk@dee.su> X-Gentoo-Bug: 401059 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401059
* sh/tmpfiles: tmpfiles.d support.Robin H. Johnson2012-03-12
| | | | | | | | | | | | | | | This is the baseline support for tmpfiles.d. Still missing: - SELinux relabel, pending upstream clarification - LIBDIR vs multilib systems, pending upstream clarification - Whitespace in paths? - Clean support not implemented - "x" exclude type not implemented X-Gentoo-Bug: 396003 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=396003 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* CGroups: create the openrc cgroup hierarchyWilliam Hubbs2011-11-20
| | | | | | Openrc will create a cgroup hierarchy called openrc which will have all services it starts and all subsystems attached to it. If you need other groups/hierarchies, please use libcgroup.
* Use pattern rules instead of suffix rulesWilliam Hubbs2011-10-29
| | | | | | Rework the makefiles to use pattern rules instead of suffix rules. This is the preferred way to write implicit rules according to the gnu make manual.
* 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
* Revert "remove functions.sh symbolic link in init.d"William Hubbs2011-06-27
| | | | This reverts commit f4407ac83d84e52c951b4a07640cdcad458010ea.
* remove functions.sh symbolic link in init.dWilliam Hubbs2011-06-27
|
* Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples2009-05-23
| | | | | | | | OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
* We need to replace @LIB@ here.Roy Marples2008-06-21
|
* We need to ensure that the init script started is correct, translating ↵Roy Marples2008-04-29
| | | | symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
* INITDIR should already be prefixed.Roy Marples2008-03-25
|
* These now need to be prefixed.Roy Marples2008-03-25
|
* INITDIR 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.
* setup a bit of a test frameworkMike Frysinger2008-03-24
|
* Fix building on Linux.Roy Marples2008-03-19
|
* Add tunable SYSCONFDIRRoy Marples2008-03-05
|
* Use exlicit make targets, not directory contents.Roy Marples2008-03-03
|
* Ensure that our scripts call prefixed runscript.Roy Marples2008-03-02
|
* Fix installing into PREFIX.Roy Marples2008-03-01
|
* Support the use of PREFIX and PKG_PREFIX.Roy Marples2008-02-28
|
* Makefile SH variable now tweaks the default shell used by our scripts.Roy Marples2008-02-27
|
* INSTALLAFTER needs to be defined before we include our mk's to work.Roy Marples2008-01-13
|
* Change lib name during make, not install.Roy Marples2008-01-13
|
* More make fixesRoy 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.
* Use LIBNAME for multilib so as not to conflict with LIBRoy Marples2008-01-05
|
* Juggle the Makefiles so that sh knows about NET_LORoy Marples2008-01-03
|
* Move the linking of files in /etc/init.d into the sh/Makefile so that ↵Roy Marples2008-01-03
| | | | install -jN works.
* Remove rc-help.sh and replace with a man page for runscript 8.Roy Marples2007-12-20
|
* Remove the try and check_statedir functionsRoy Marples2007-12-14
|
* Massive whitespace cleanupRoy Marples2007-11-28
|
* 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 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
|
* /lib/rcscripts -> /lib/rcRoy Marples2007-09-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.