summaryrefslogtreecommitdiffstats
path: root/meta-systemd/classes
Commit message (Collapse)AuthorAgeFilesLines
* meta-systemd: drop now unused gitpkgv.bbclassMartin Jansa2013-04-151-1/+0
|
* Delete systemd class.Khem Raj2013-04-121-233/+0
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd.bbclass: set INHIBIT_UPDATERCD_BBCLASS like oe-core does nowMartin Jansa2013-04-041-0/+8
|
* systemd.bbclass: move disable operation into prerm() scriptEnrico Scholz2013-01-181-8/+0
| | | | | | | | | | | | The 'systemctl disable' operation should not be done in postrm() because the .service file does not exist anymore and the script will fail hence. After moving this command into prerm(), postrm() becomes empty and can be removed completely. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd.bbclass: Fixes for living along with multilibKhem Raj2013-01-081-2/+5
| | | | | | | | | | | | This essentially fixes two problems 1. We were ignoring systemd for multilibs now we dont 2. We were replacing '-systemd' string in PN which is a problem whenre -systemd appears more than once e.g. lib32-systemd-units-system it was removing both essentially we should only chop the end of PN if it ends with '-systemd' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* systemd: Fix build when base_libdir is not /libKhem Raj2013-01-081-3/+4
| | | | | | | | | | | | | | | | | | | we were carrying a wrong patch to fix rootlibdir to adapt systemd to OE's notion of base_libdir but thats not right and the units dont get initialised properly when we have base_libdir which is not /lib This patch fixes the use of base_libdir where it should have been catering to notions of systemd/udev for putting unit files and init scripts in /lib and not in base_libdir It also ignores the lib32-* packages so that systemd build works for multilib enabled systems. Adapt to nativesdk renaming Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Replace bb.data.* with d.*Paul Eggleton2012-10-281-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | Used sed expression given here: http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html Plus an additional expression for .expand. Full expression is: sed \ -e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` Some minor correction in systemd.bbclass was needed for some expressions that didn't quite match the regex in the desired way; additionally a few instances were manually changed. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* Revert "systemd.bbclass: Dont check for multilib and change for nativesdk ↵Koen Kooi2012-10-091-3/+1
| | | | | | | | | | renaming" This triggers: ERROR: Nothing RPROVIDES 'connman-systemd' (but /OE/tentacle/sources/meta-angstrom/recipes-images/angstrom/systemd-image.bb RDEPENDS on or otherwise requires it) This reverts commit cbac8756e815c3f141cebf6d2e6875400980a4f9.
* systemd.bbclass: Dont check for multilib and change for nativesdk renamingKhem Raj2012-10-091-1/+3
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd.bbclass: add option to disable automatic RRECOMMENDS ↵Martin Jansa2012-08-201-6/+10
| | | | | | pkg-systemd_base -> pkg-systemd Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* systemd: Upgrade to 187 tagKhem Raj2012-08-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Dont inherit vala not needed anymore Fix build for ppc64 Consider /lib64 and /usr/lib64 Some 64bit architectures chose lib64 instead of lib for default library dirnames. So we dig this from metadata vars base_libdir and libdir instead of hardcoding 'lib' ppc64 in OE uses lib64 for default libdir and this leaves lot of udev/systemd files unpackaged since 'lib' was hardcoded Additionally use --split-usr option since in OE-Core now we want to treat /usr mounted sepatately. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* gitpkgv.bbclass: Add a symlink from meta-oeKhem Raj2012-08-071-0/+1
| | | | | | | | | This is for systemd layer to be used with out depending on meta-oe eventually gitpkgv or similar solution should come out of OE-Core Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd bbclass: replace all tabs with 4 spacesKoen Kooi2012-07-191-165/+165
| | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* systemd.bbclass: introduce SYSTEMD_AUTO_ENABLE variableAndreas Müller2012-07-161-2/+4
| | | | | | Currently all services introduced are enabled and started at installation. By setting SYSTEMD_AUTO_ENABLE = "disable" the default behaviour can be overridden.
* systemd.bbclass: do not warn for systemd files are in ${PN}Andreas Müller2012-07-161-7/+2
| | | | Since we have our own layer there is no need to separate out systemd packages
* systemd.bbclass: add *-systemd packages to RRECOMMENDSAndreas Müller2012-07-161-4/+22
|
* systemd.bbclass: move to meta-systemdAndreas Müller2012-07-161-0/+207