mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
systemd: Upgrade to 187 tag
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>
This commit is contained in:
@@ -154,7 +154,10 @@ python populate_packages_prepend () {
|
||||
|
||||
# check service-files and call systemd_add_files_and_parse for each entry
|
||||
def systemd_check_services():
|
||||
searchpaths = '/etc/systemd/system/ /lib/systemd/system/ /usr/lib/systemd/system/'
|
||||
base_libdir = d.getVar('base_libdir', 1)
|
||||
searchpaths = '/etc/systemd/system/' + ' '
|
||||
searchpaths += d.getVar('base_libdir', 1) + '/systemd/system/' + ' '
|
||||
searchpaths += d.getVar('libdir', 1) + '/systemd/system/' + ' '
|
||||
systemd_packages = d.getVar('SYSTEMD_PACKAGES', 1)
|
||||
has_exactly_one_service = len(systemd_packages.split()) == 1
|
||||
if has_exactly_one_service:
|
||||
|
||||
Reference in New Issue
Block a user