first commit
[scm/bb/meta-tizen.git] / recipes-tizen / systemd / systemd.inc
1 DESCRIPTION = "A System and Service Manager"
2 HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
3 SECTION = "Base/Startup"
4 LICENSE = "LGPL-2.0+ and MIT and GPL-2.0+"
5
6 SRC_URI = ""
7
8 S = "${WORKDIR}/git"
9
10 PROVIDES = ""
11
12 #PROVIDES by libsystemd 
13 PROVIDES += "libsystemd"
14 RPROVIDES_libsystemd += "libsystemd"
15
16 #PROVIDES by systemd 
17 PROVIDES += "systemd"
18 RPROVIDES_systemd += "systemd"
19 # the PROVIDES rules is ignore "SysVinit = 2.86-24"
20 PROVIDES += "SysVinit"
21 RPROVIDES_systemd += "SysVinit"
22 # the PROVIDES rules is ignore "sysvinit = 2.86-24"
23 PROVIDES += "sysvinit"
24 RPROVIDES_systemd += "sysvinit"
25 # the PROVIDES rules is ignore "/bin/systemctl  "
26 PROVIDES += "/bin/systemctl"
27 RPROVIDES_systemd += "/bin/systemctl"
28 # the PROVIDES rules is ignore "/sbin/shutdown  "
29 PROVIDES += "/sbin/shutdown"
30 RPROVIDES_systemd += "/sbin/shutdown"
31 # the PROVIDES rules is ignore "udev = 208"
32 PROVIDES += "udev"
33 RPROVIDES_systemd += "udev"
34
35 #PROVIDES by libgudev-devel 
36 PROVIDES += "libgudev-devel"
37 RPROVIDES_libgudev-devel += "libgudev-devel"
38 RPROVIDES_libgudev-devel += "libgudev-dev"
39
40 #PROVIDES by systemd-devel 
41 PROVIDES += "systemd-devel"
42 RPROVIDES_systemd-devel += "systemd-devel"
43 RPROVIDES_systemd-devel += "systemd-dev"
44 # the PROVIDES rules is ignore "libudev-devel = 208"
45 PROVIDES += "libudev-devel"
46 RPROVIDES_systemd-devel += "libudev-devel"
47 RPROVIDES_systemd-devel += "libudev-dev"
48
49 #PROVIDES by libgudev 
50 PROVIDES += "libgudev"
51 RPROVIDES_libgudev += "libgudev"
52
53 #PROVIDES by systemd-analyze 
54 PROVIDES += "systemd-analyze"
55 RPROVIDES_systemd-analyze += "systemd-analyze"
56
57 RDEPENDS = ""
58 #RDEPENDS of systemd (${PN})
59 RDEPENDS_${PN} += "/usr/bin/getent"
60 RDEPENDS_${PN} += "/usr/sbin/groupadd"
61 RDEPENDS_${PN} += "hwdata"
62 RDEPENDS_${PN} += "dbus"
63 RDEPENDS_${PN} += "gawk"
64 RDEPENDS_${PN} += "coreutils"
65 RDEPENDS_${PN} += "filesystem"
66
67 #RDEPENDS of libgudev-devel (libgudev-devel)
68 RDEPENDS_libgudev-devel += "libgudev"
69
70 #RDEPENDS of systemd-devel (${PN}-devel)
71 RDEPENDS_${PN}-devel += "systemd"
72
73 #RDEPENDS of libgudev (libgudev)
74 RDEPENDS_libgudev += "systemd"
75
76 #RDEPENDS of systemd-analyze (${PN}-analyze)
77 RDEPENDS_${PN}-analyze += "systemd"
78
79
80 DEPENDS = ""
81 #DEPENDS of systemd 
82 DEPENDS += "kmod"
83 DEPENDS += "intltool-native"
84 DEPENDS += "attr"
85 DEPENDS += "gperf"
86 DEPENDS += "pkgconfig(dbus-1)"
87 DEPENDS += "hwdata"
88 DEPENDS += "pciutils"
89 DEPENDS += "usbutils"
90 DEPENDS += "acl"
91 DEPENDS += "pam"
92 DEPENDS += "libxslt"
93 DEPENDS += "pkgconfig(liblzma)"
94 DEPENDS += "libcap"
95 DEPENDS += "pkgconfig(glib-2.0)"
96 DEPENDS += "libgcrypt"
97 DEPENDS += "libblkid-devel"
98
99 do_patch() {
100  chmod -Rf a+rX,u+w,g-w,o-w ${S}
101  #setup -q
102  cp ${S}/packaging/systemd.manifest .
103  
104  
105 }
106
107 do_configure() {
108 }
109
110 do_compile() {
111  LANG=C
112  export LANG
113  unset DISPLAY
114  CFLAGS="-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables" ; export CFLAGS ; 
115  CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
116  FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
117  LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
118  
119  
120    CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
121    CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
122    FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
123    ./autogen.sh --build=${TARGET_SYS} --host=${HOST_SYS} \
124          --target=x86_64-tizen-linux \
125          --program-prefix= \
126          --prefix=/usr \
127          --exec-prefix=/usr \
128          --bindir=/usr/bin \
129          --sbindir=/usr/sbin \
130          --sysconfdir=/etc \
131          --datadir=/usr/share \
132          --includedir=/usr/include \
133          --libdir=/usr/lib \
134          --libexecdir=/usr/libexec \
135          --localstatedir=/var \
136          --sharedstatedir=/usr/com \
137          --mandir=/usr/share/man \
138          --infodir=/usr/share/info
139  
140    CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
141    CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
142    FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; 
143    autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \
144          --target=x86_64-tizen-linux \
145          --program-prefix= \
146          --prefix=/usr \
147          --exec-prefix=/usr \
148          --bindir=/usr/bin \
149          --sbindir=/usr/sbin \
150          --sysconfdir=/etc \
151          --datadir=/usr/share \
152          --includedir=/usr/include \
153          --libdir=/usr/lib \
154          --libexecdir=/usr/libexec \
155          --localstatedir=/var \
156          --sharedstatedir=/usr/com \
157          --mandir=/usr/share/man \
158          --infodir=/usr/share/info \
159          --enable-bootchart \
160          --libexecdir=/usr/lib \
161             --docdir=/usr/share/doc/packages/systemd \
162          --disable-static \
163          --with-sysvinit-path= \
164          --with-sysvrcnd-path= \
165          --with-smack-run-label=System
166  make -j16
167  
168  
169  
170 }
171
172 do_install() {
173  echo export RPM_BUILD_ROOT=${D}
174  LANG=C
175  export LANG
176  unset DISPLAY
177  rm -rf ${D} 
178  mkdir -p ${D} 
179  
180  
181    oe_runmake \
182          DESTDIR=${D} \
183          INSTALL_ROOT=${D} \
184          BINDIR=/usr/bin \
185    install  
186    rm -f ${D}/usr/share/info/dir 
187    find ${D} -regex ".*\.la$" | xargs rm -f -- 
188    find ${D} -regex ".*\.a$" | xargs rm -f --
189  
190  # udev links
191  /usr/bin/mkdir -p ${D}//usr/sbin
192  /usr/bin/ln -sf ../bin/udevadm ${D}/usr/sbin/udevadm
193  /usr/bin/mkdir -p ${D}/usr/lib/firmware/updates
194  
195  # Create SysV compatibility symlinks. systemctl/systemd are smart
196  # enough to detect in which way they are called.
197  /usr/bin/ln -s ../lib/systemd/systemd ${D}/usr/sbin/init
198  /usr/bin/ln -s ../lib/systemd/systemd ${D}/usr/bin/systemd
199  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/reboot
200  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/halt
201  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/poweroff
202  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/shutdown
203  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/telinit
204  /usr/bin/ln -s ../bin/systemctl ${D}/usr/sbin/runlevel
205  
206  # legacy links
207  /usr/bin/ln -s loginctl ${D}/usr/bin/systemd-loginctl
208  
209  # We create all wants links manually at installation time to make sure
210  # they are not owned and hence overriden by rpm after the used deleted
211  # them.
212  /usr/bin/rm -r ${D}/etc/systemd/system/*.target.wants
213  
214  # Make sure the ghost-ing below works
215  /usr/bin/touch ${D}/etc/systemd/system/runlevel2.target
216  /usr/bin/touch ${D}/etc/systemd/system/runlevel3.target
217  /usr/bin/touch ${D}/etc/systemd/system/runlevel4.target
218  /usr/bin/touch ${D}/etc/systemd/system/runlevel5.target
219  
220  # Make sure these directories are properly owned
221  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/basic.target.wants
222  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/default.target.wants
223  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/dbus.target.wants
224  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system/syslog.target.wants
225  
226  # Make sure the user generators dir exists too
227  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-generators
228  /usr/bin/mkdir -p ${D}/usr/lib/systemd/user-generators
229  
230  # Create new-style configuration files so that we can ghost-own them
231  /usr/bin/touch ${D}/etc/hostname
232  /usr/bin/touch ${D}/etc/vconsole.conf
233  /usr/bin/touch ${D}/etc/locale.conf
234  /usr/bin/touch ${D}/etc/machine-id
235  /usr/bin/touch ${D}/etc/machine-info
236  /usr/bin/touch ${D}/etc/timezone
237  #/usr/bin/mkdir -p ${D}/etc/X11/xorg.conf.d
238  #/usr/bin/touch ${D}/etc/X11/xorg.conf.d/00-keyboard.conf
239  
240  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-preset/
241  /usr/bin/mkdir -p ${D}/usr/lib/systemd/user-preset/
242  
243  # Make sure the shutdown/sleep drop-in dirs exist
244  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-shutdown/
245  /usr/bin/mkdir -p ${D}/usr/lib/systemd/system-sleep/
246  
247  # Make sure the NTP units dir exists
248  /usr/bin/mkdir -p ${D}/usr/lib/systemd/ntp-units.d/
249  
250  # Install modprobe fragment
251  /usr/bin/mkdir -p ${D}/etc/modprobe.d/
252  
253  # Enable readahead services
254  /usr/bin/ln -s ../systemd-readahead-collect.service ${D}/usr/lib/systemd/system/default.target.wants/
255  /usr/bin/ln -s ../systemd-readahead-replay.service ${D}/usr/lib/systemd/system/default.target.wants/
256  
257  # Fix the dangling /var/lock -> /run/lock symlink
258  install -Dm644 tmpfiles.d/legacy.conf ${D}/usr/lib/tmpfiles.d/legacy.conf
259  
260  install -m644 ${S}/packaging/pamconsole-tmp.conf ${D}/usr/lib/tmpfiles.d/
261  
262  rm -rf ${D}//usr/lib/systemd/user/default.target
263  
264  rm -rf ${D}//usr/share/doc/packages/systemd
265  
266  # Move macros to the proper location for Tizen
267  mkdir -p ${D}/etc/rpm
268  install -m644 src/core/macros.systemd ${D}/etc/rpm/macros.systemd
269  rm -f ${D}/usr/lib/rpm/macros.d/macros.systemd
270  
271  
272 }
273
274 PACKAGES = ""
275 PACKAGES += "libsystemd"
276 PACKAGES += "systemd"
277 PACKAGES += "libgudev-devel"
278 PACKAGES += "systemd-devel"
279 PACKAGES += "libgudev"
280 PACKAGES += "systemd-analyze"
281
282 libsystemd_files = ""
283 libsystemd_files += "systemd.manifest"
284 libsystemd_files += "/usr/lib/security/pam_systemd.so"
285 libsystemd_files += "/usr/lib/libsystemd-daemon.so.*"
286 libsystemd_files += "/usr/lib/libsystemd-login.so.*"
287 libsystemd_files += "/usr/lib/libsystemd-journal.so.*"
288 libsystemd_files += "/usr/lib/libsystemd-id128.so.*"
289 libsystemd_files += "/usr/lib/libudev.so.*"
290 libsystemd_files += "/usr/lib/libnss_myhostname.so.2"
291
292 systemd_files = ""
293 systemd_files += "systemd.manifest"
294 systemd_files += "/etc/systemd/bootchart.conf"
295 systemd_files += "/etc/pam.d/systemd-user"
296 systemd_files += "/usr/bin/bootctl"
297 systemd_files += "/usr/bin/kernel-install"
298 systemd_files += "/usr/bin/machinectl"
299 systemd_files += "/usr/bin/systemd-run"
300 systemd_files += "/usr/lib/kernel"
301 systemd_files += "/usr/lib/kernel/install.d"
302 systemd_files += "/usr/lib/kernel/install.d/50-depmod.install"
303 systemd_files += "/usr/lib/kernel/install.d/90-loaderentry.install"
304 systemd_files += "/usr/lib/systemd/system-generators/systemd-efi-boot-generator"
305 systemd_files += "/usr/bin/hostnamectl"
306 systemd_files += "/usr/bin/localectl"
307 systemd_files += "/usr/bin/systemd-coredumpctl"
308 systemd_files += "/usr/bin/timedatectl"
309 systemd_files += "/etc/systemd"
310 systemd_files += "/etc/systemd/system"
311 systemd_files += "/etc/systemd/user"
312 systemd_files += "/etc/tmpfiles.d"
313 systemd_files += "/etc/sysctl.d"
314 systemd_files += "/etc/modules-load.d"
315 systemd_files += "/etc/binfmt.d"
316 systemd_files += "/usr/share/bash-completion/*"
317 systemd_files += "/usr/share/zsh/site-functions"
318 systemd_files += "/usr/share/zsh/site-functions/*"
319 systemd_files += "/etc/udev"
320 systemd_files += "/etc/udev/rules.d"
321 systemd_files += "/usr/lib/systemd"
322 systemd_files += "/usr/lib/systemd/system"
323 systemd_files += "/usr/lib/systemd/system-generators"
324 systemd_files += "/usr/lib/systemd/user-generators"
325 systemd_files += "/usr/lib/systemd/system-preset"
326 systemd_files += "/usr/lib/systemd/user-preset"
327 systemd_files += "/usr/lib/systemd/system-shutdown"
328 systemd_files += "/usr/lib/systemd/system-sleep"
329 systemd_files += "/usr/lib/tmpfiles.d"
330 systemd_files += "/usr/lib/sysctl.d"
331 systemd_files += "/usr/lib/modules-load.d"
332 systemd_files += "/usr/lib/binfmt.d"
333 systemd_files += "/usr/lib/firmware"
334 systemd_files += "/usr/lib/firmware/updates"
335 systemd_files += "/usr/share/systemd"
336 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.systemd1.conf"
337 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.hostname1.conf"
338 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.login1.conf"
339 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.locale1.conf"
340 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.timedate1.conf"
341 systemd_files += "/etc/dbus-1/system.d/org.freedesktop.machine1.conf"
342 systemd_files += "/etc/systemd/system.conf"
343 systemd_files += "/etc/systemd/user.conf"
344 systemd_files += "/etc/systemd/logind.conf"
345 systemd_files += "/etc/systemd/journald.conf"
346 systemd_files += "/etc/udev/udev.conf"
347 systemd_files += "/etc/rpm/macros.systemd"
348 systemd_files += "/etc/xdg/systemd"
349 systemd_files += "/usr/bin/systemd"
350 systemd_files += "/usr/bin/systemctl"
351 systemd_files += "/usr/bin/systemd-notify"
352 systemd_files += "/usr/bin/systemd-ask-password"
353 systemd_files += "/usr/bin/systemd-tty-ask-password-agent"
354 systemd_files += "/usr/bin/systemd-machine-id-setup"
355 systemd_files += "/usr/bin/loginctl"
356 systemd_files += "/usr/bin/systemd-loginctl"
357 systemd_files += "/usr/bin/journalctl"
358 systemd_files += "/usr/bin/systemd-tmpfiles"
359 systemd_files += "/usr/bin/systemd-nspawn"
360 systemd_files += "/usr/bin/systemd-stdio-bridge"
361 systemd_files += "/usr/bin/systemd-cat"
362 systemd_files += "/usr/bin/systemd-cgls"
363 systemd_files += "/usr/bin/systemd-cgtop"
364 systemd_files += "/usr/bin/systemd-delta"
365 systemd_files += "/usr/bin/systemd-detect-virt"
366 systemd_files += "/usr/bin/systemd-inhibit"
367 systemd_files += "/usr/bin/udevadm"
368 systemd_files += "/usr/lib/sysctl.d/*.conf"
369 systemd_files += "/usr/lib/systemd/systemd"
370 systemd_files += "/usr/lib/systemd/system"
371 systemd_files += "/usr/lib/systemd/system/basic.target.wants"
372 systemd_files += "/usr/lib/systemd/user"
373 systemd_files += "/usr/lib/systemd/user/bluetooth.target"
374 systemd_files += "/usr/lib/systemd/user/exit.target"
375 systemd_files += "/usr/lib/systemd/user/printer.target"
376 systemd_files += "/usr/lib/systemd/user/shutdown.target"
377 systemd_files += "/usr/lib/systemd/user/sockets.target"
378 systemd_files += "/usr/lib/systemd/user/sound.target"
379 systemd_files += "/usr/lib/systemd/user/systemd-exit.service"
380 systemd_files += "/usr/lib/systemd/user/paths.target"
381 systemd_files += "/usr/lib/systemd/user/smartcard.target"
382 systemd_files += "/usr/lib/systemd/user/timers.target"
383 systemd_files += "/usr/lib/systemd/systemd-*"
384 systemd_files += "/usr/lib/systemd/catalog"
385 systemd_files += "/usr/lib/systemd/catalog/systemd.catalog"
386 systemd_files += "/usr/lib/udev"
387 systemd_files += "/usr/lib/systemd/system-generators/systemd-getty-generator"
388 systemd_files += "/usr/lib/systemd/system-generators/systemd-fstab-generator"
389 systemd_files += "/usr/lib/systemd/system-generators/systemd-system-update-generator"
390 systemd_files += "/usr/lib/systemd/system-generators/systemd-gpt-auto-generator"
391 systemd_files += "/usr/lib/tmpfiles.d/systemd.conf"
392 systemd_files += "/usr/lib/tmpfiles.d/x11.conf"
393 systemd_files += "/usr/lib/tmpfiles.d/tmp.conf"
394 systemd_files += "/usr/lib/tmpfiles.d/legacy.conf"
395 systemd_files += "/usr/lib/tmpfiles.d/pamconsole-tmp.conf"
396 systemd_files += "/usr/sbin/init"
397 systemd_files += "/usr/sbin/reboot"
398 systemd_files += "/usr/sbin/halt"
399 systemd_files += "/usr/sbin/poweroff"
400 systemd_files += "/usr/sbin/shutdown"
401 systemd_files += "/usr/sbin/telinit"
402 systemd_files += "/usr/sbin/runlevel"
403 systemd_files += "/usr/sbin/udevadm"
404 systemd_files += "/usr/share/systemd/kbd-model-map"
405 systemd_files += "/usr/share/dbus-1/services/org.freedesktop.systemd1.service"
406 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.systemd1.service"
407 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.hostname1.service"
408 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.login1.service"
409 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.locale1.service"
410 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.timedate1.service"
411 systemd_files += "/usr/share/dbus-1/system-services/org.freedesktop.machine1.service"
412 systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.systemd1.*.xml"
413 systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.hostname1.xml"
414 systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.locale1.xml"
415 systemd_files += "/usr/share/dbus-1/interfaces/org.freedesktop.timedate1.xml"
416 systemd_files += "/usr/share/polkit-1"
417 systemd_files += "/usr/share/polkit-1/actions"
418 systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.systemd1.policy"
419 systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.hostname1.policy"
420 systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.login1.policy"
421 systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.locale1.policy"
422 systemd_files += "/usr/share/polkit-1/actions/org.freedesktop.timedate1.policy"
423 systemd_files += "/usr/share/pkgconfig/systemd.pc"
424 systemd_files += "/usr/share/pkgconfig/udev.pc"
425
426 libgudev-devel_files = ""
427 libgudev-devel_files += "systemd.manifest"
428 libgudev-devel_files += "/usr/lib/libgudev-1.0.so"
429 libgudev-devel_files += "/usr/include/gudev-1.0"
430 libgudev-devel_files += "/usr/include/gudev-1.0/gudev"
431 libgudev-devel_files += "/usr/include/gudev-1.0/gudev/*.h"
432 libgudev-devel_files += "/usr/lib/pkgconfig/gudev-1.0*"
433
434 systemd-devel_files = ""
435 systemd-devel_files += "systemd.manifest"
436 systemd-devel_files += "/usr/lib/libsystemd-daemon.so"
437 systemd-devel_files += "/usr/lib/libsystemd-login.so"
438 systemd-devel_files += "/usr/lib/libsystemd-journal.so"
439 systemd-devel_files += "/usr/lib/libsystemd-id128.so"
440 systemd-devel_files += "/usr/lib/libudev.so"
441 systemd-devel_files += "/usr/include/systemd"
442 systemd-devel_files += "/usr/include/systemd/sd-daemon.h"
443 systemd-devel_files += "/usr/include/systemd/sd-login.h"
444 systemd-devel_files += "/usr/include/systemd/sd-journal.h"
445 systemd-devel_files += "/usr/include/systemd/sd-id128.h"
446 systemd-devel_files += "/usr/include/systemd/sd-messages.h"
447 systemd-devel_files += "/usr/include/systemd/sd-shutdown.h"
448 systemd-devel_files += "/usr/include/libudev.h"
449 systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-daemon.pc"
450 systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-login.pc"
451 systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-journal.pc"
452 systemd-devel_files += "/usr/lib/pkgconfig/libsystemd-id128.pc"
453 systemd-devel_files += "/usr/lib/pkgconfig/libudev.pc"
454
455 libgudev_files = ""
456 libgudev_files += "systemd.manifest"
457 libgudev_files += "/usr/lib/libgudev-1.0.so.*"
458
459 systemd-analyze_files = ""
460 systemd-analyze_files += "systemd.manifest"
461 systemd-analyze_files += "/usr/bin/systemd-analyze"
462
463 FILES_lib${PN} = "${libsystemd_files}"
464 FILES_${PN} = "${systemd_files}"
465 FILES_libgudev-devel = "${libgudev-devel_files}"
466 FILES_${PN}-devel = "${systemd-devel_files}"
467 FILES_libgudev = "${libgudev_files}"
468 FILES_${PN}-analyze = "${systemd-analyze_files}"
469
470 PKG_libsystemd= "libsystemd"
471 PKG_systemd= "systemd"
472 PKG_libgudev-devel= "libgudev-devel"
473 PKG_systemd-devel= "systemd-devel"
474 PKG_libgudev= "libgudev"
475 PKG_systemd-analyze= "systemd-analyze"
476
477 require systemd-extraconf.inc