blob: 7772b10b59fd3030ebad65c565ec231407bfd917 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
|
DESCRIPTION = "A System and Service Manager"
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd"
SECTION = "Base/Startup"
LICENSE = "LGPL-2.0+ and MIT and GPL-2.0+"
SRC_URI = ""
S = "${WORKDIR}/git"
inherit autotools-brokensep
BBCLASSEXTEND = ""
PROVIDES = ""
#PROVIDES by libsystemd
PROVIDES += "libsystemd"
#PROVIDES by systemd
# the PROVIDES rules is ignore "SysVinit = 2.86-24"
PROVIDES += "SysVinit"
RPROVIDES_systemd += "SysVinit"
# the PROVIDES rules is ignore "sysvinit = 2.86-24"
PROVIDES += "sysvinit"
RPROVIDES_systemd += "sysvinit"
# the PROVIDES rules is ignore "/bin/systemctl "
PROVIDES += "/bin/systemctl"
RPROVIDES_systemd += "/bin/systemctl"
# the PROVIDES rules is ignore "/sbin/shutdown "
PROVIDES += "/sbin/shutdown"
RPROVIDES_systemd += "/sbin/shutdown"
# the PROVIDES rules is ignore "udev = 208"
PROVIDES += "udev"
RPROVIDES_systemd += "udev"
#PROVIDES by libgudev-dev
PROVIDES += "libgudev-dev"
#PROVIDES by systemd-dev
PROVIDES += "systemd-dev"
# the PROVIDES rules is ignore "libudev-dev = 208"
PROVIDES += "libudev-dev"
RPROVIDES_systemd-dev += "libudev-dev"
#PROVIDES by libgudev
PROVIDES += "libgudev"
#PROVIDES by systemd-analyze
PROVIDES += "systemd-analyze"
RDEPENDS = ""
#RDEPENDS of systemd (${PN})
RDEPENDS_${PN} += "hwdata"
RDEPENDS_${PN} += "dbus"
RDEPENDS_${PN} += "gawk"
RDEPENDS_${PN} += "coreutils"
RDEPENDS_${PN} += "eglibc"
RDEPENDS_${PN} += "shadow"
#RDEPENDS of libgudev-dev (libgudev-dev)
RDEPENDS_libgudev-dev += "libgudev"
#RDEPENDS of systemd-dev (${PN}-dev)
RDEPENDS_${PN}-dev += "systemd"
#RDEPENDS of libgudev (libgudev)
RDEPENDS_libgudev += "systemd"
#RDEPENDS of systemd-analyze (${PN}-analyze)
RDEPENDS_${PN}-analyze += "systemd"
DEPENDS = ""
#DEPENDS of systemd
DEPENDS += "kmod"
DEPENDS_append_class-native = " intltool-native"
DEPENDS_append_class-target = " intltool-native"
DEPENDS += "attr"
DEPENDS += "gperf"
DEPENDS += "hwdata"
DEPENDS += "dbus"
DEPENDS += "usbutils"
DEPENDS_append_class-native = " pkgconfig-native"
DEPENDS_append_class-target = " pkgconfig-native"
DEPENDS += "acl"
DEPENDS += "xz"
DEPENDS += "glib-2.0"
DEPENDS += "libxslt"
DEPENDS += "pciutils"
DEPENDS += "libcap"
DEPENDS += "util-linux"
DEPENDS += "libgcrypt"
DEPENDS += "libpam"
do_prep() {
cd ${S}
chmod -Rf a+rX,u+w,g-w,o-w ${S}
#setup -q
cp ${S}/packaging/systemd.manifest .
}
do_patch_append() {
bb.build.exec_func('do_prep', d)
}
do_configure() {
}
do_compile() {
cd ${S}
LANG=C
export LANG
unset DISPLAY
LD_AS_NEEDED=1; export LD_AS_NEEDED ;
if which gtkdocize >/dev/null 2>/dev/null; then
gtkdocize --docdir docs/ --flavour no-tmpl
gtkdocargs=--enable-gtk-doc
else
echo "You don't have gtk-doc installed, and thus won't be able to generate the documentation."
rm -f docs/gtk-doc.make
echo 'EXTRA_DIST =' > docs/gtk-doc.make
fi
intltoolize --force --automake
autotools_do_configure
oe_runmake ${PARALLEL_MAKE} systemunitdir=/lib/systemd/system userunitdir=/lib/systemd/user
}
EXTRA_OECONF += " --enable-bootchart --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/systemd --disable-static --with-sysvinit-path= --with-sysvrcnd-path= --with-smack-run-label=System"
do_install() {
echo export RPM_BUILD_ROOT=${D}
cd ${S}
LANG=C
export LANG
unset DISPLAY
rm -rf ${D}
mkdir -p ${D}
oe_runmake \
DESTDIR=${D} \
INSTALL_ROOT=${D} \
BINDIR=${prefix}/bin \
install
rm -f ${D}${infodir}/dir
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
# udev links
${prefix}/bin/mkdir -p ${D}/${prefix}/sbin
${prefix}/bin/ln -sf ../bin/udevadm ${D}${prefix}/sbin/udevadm
${prefix}/bin/mkdir -p ${D}${prefix}/lib/firmware/updates
# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
${prefix}/bin/ln -s ../lib/systemd/systemd ${D}${prefix}/sbin/init
${prefix}/bin/ln -s ../lib/systemd/systemd ${D}${prefix}/bin/systemd
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/reboot
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/halt
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/poweroff
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/shutdown
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/telinit
${prefix}/bin/ln -s ../bin/systemctl ${D}${prefix}/sbin/runlevel
# legacy links
${prefix}/bin/ln -s loginctl ${D}${prefix}/bin/systemd-loginctl
# We create all wants links manually at installation time to make sure
# they are not owned and hence overriden by rpm after the used deleted
# them.
${prefix}/bin/rm -r ${D}${sysconfdir}/systemd/system/*.target.wants
# Make sure the ghost-ing below works
${prefix}/bin/touch ${D}${sysconfdir}/systemd/system/runlevel2.target
${prefix}/bin/touch ${D}${sysconfdir}/systemd/system/runlevel3.target
${prefix}/bin/touch ${D}${sysconfdir}/systemd/system/runlevel4.target
${prefix}/bin/touch ${D}${sysconfdir}/systemd/system/runlevel5.target
# Make sure these directories are properly owned
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system/basic.target.wants
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system/default.target.wants
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system/dbus.target.wants
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system/syslog.target.wants
# Make sure the user generators dir exists too
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system-generators
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/user-generators
# Create new-style configuration files so that we can ghost-own them
${prefix}/bin/touch ${D}${sysconfdir}/hostname
${prefix}/bin/touch ${D}${sysconfdir}/vconsole.conf
${prefix}/bin/touch ${D}${sysconfdir}/locale.conf
${prefix}/bin/touch ${D}${sysconfdir}/machine-id
${prefix}/bin/touch ${D}${sysconfdir}/machine-info
${prefix}/bin/touch ${D}${sysconfdir}/timezone
#${prefix}/bin/mkdir -p ${D}${sysconfdir}/X11/xorg.conf.d
#${prefix}/bin/touch ${D}${sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system-preset/
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/user-preset/
# Make sure the shutdown/sleep drop-in dirs exist
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system-shutdown/
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/system-sleep/
# Make sure the NTP units dir exists
${prefix}/bin/mkdir -p ${D}${prefix}/lib/systemd/ntp-units.d/
# Install modprobe fragment
${prefix}/bin/mkdir -p ${D}${sysconfdir}/modprobe.d/
# Enable readahead services
${prefix}/bin/ln -s ../systemd-readahead-collect.service ${D}${prefix}/lib/systemd/system/default.target.wants/
${prefix}/bin/ln -s ../systemd-readahead-replay.service ${D}${prefix}/lib/systemd/system/default.target.wants/
# Fix the dangling /var/lock -> /run/lock symlink
install -Dm644 tmpfiles.d/legacy.conf ${D}${prefix}/lib/tmpfiles.d/legacy.conf
install -m644 ${S}/packaging/pamconsole-tmp.conf ${D}${prefix}/lib/tmpfiles.d/
rm -rf ${D}/${prefix}/lib/systemd/user/default.target
rm -rf ${D}/${prefix}/share/doc/packages/systemd
# Move macros to the proper location for Tizen
mkdir -p ${D}${sysconfdir}/rpm
install -m644 src/core/macros.systemd ${D}${sysconfdir}/rpm/macros.systemd
rm -f ${D}${prefix}/lib/rpm/macros.d/macros.systemd
}
pkg_preinst_${PN}() {
#!/bin/sh -e
$D${prefix}/bin/getent group cdrom >/dev/null 2>&1 || $D${prefix}/sbin/groupadd -r -g 11 cdrom >/dev/null 2>&1 || :
$D${prefix}/bin/getent group tape >/dev/null 2>&1 || $D${prefix}/sbin/groupadd -r -g 33 tape >/dev/null 2>&1 || :
$D${prefix}/bin/getent group dialout >/dev/null 2>&1 || $D${prefix}/sbin/groupadd -r -g 18 dialout >/dev/null 2>&1 || :
$D${prefix}/bin/getent group floppy >/dev/null 2>&1 || $D${prefix}/sbin/groupadd -r -g 19 floppy >/dev/null 2>&1 || :
$D${prefix}/bin/systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service >/dev/null 2>&1 || :
# Rename configuration files that changed their names
$D${prefix}/bin/mv -n ${sysconfdir}/systemd/systemd-logind.conf ${sysconfdir}/systemd/logind.conf >/dev/null 2>&1 || :
$D${prefix}/bin/mv -n ${sysconfdir}/systemd/systemd-journald.conf ${sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
}
pkg_postinst_${PN}() {
#!/bin/sh -e
$D${prefix}/bin/systemd-machine-id-setup > /dev/null 2>&1 || :
$D${prefix}/lib/systemd/systemd-random-seed save > /dev/null 2>&1 || :
$D${prefix}/bin/systemctl daemon-reexec > /dev/null 2>&1 || :
$D${prefix}/bin/systemctl start systemd-udevd.service >/dev/null 2>&1 || :
}
pkg_postinst_libgudev() {
#!/bin/sh -e
[ "x\$D" == "x" ] && ldconfig
}
pkg_postinst_libsystemd() {
#!/bin/sh -e
[ "x\$D" == "x" ] && ldconfig
}
pkg_prerm_${PN}() {
#!/bin/sh -e
if [ $1 -eq 0 ] ; then
$D${prefix}/bin/systemctl disable \
getty@.service \
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service >/dev/null 2>&1 || :
$D${prefix}/bin/rm -f ${sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
fi
}
pkg_postrm_libgudev() {
#!/bin/sh -e
[ "x\$D" == "x" ] && ldconfig
}
pkg_postrm_libsystemd() {
#!/bin/sh -e
[ "x\$D" == "x" ] && ldconfig
}
pkg_postrm_${PN}() {
#!/bin/sh -e
if [ $1 -ge 1 ] ; then
$D${prefix}/bin/systemctl daemon-reload > /dev/null 2>&1 || :
$D${prefix}/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || :
fi
}
PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
PACKAGES += " libsystemd "
PACKAGES += " systemd "
PACKAGES += " libgudev-dev "
PACKAGES += " systemd-dev "
PACKAGES += " libgudev "
PACKAGES += " systemd-analyze "
libsystemd_files = ""
libsystemd_files += "${prefix}/lib/security/pam_systemd.so"
libsystemd_files += "${prefix}/lib/libsystemd-daemon.so.*"
libsystemd_files += "${prefix}/lib/libsystemd-login.so.*"
libsystemd_files += "${prefix}/lib/libsystemd-journal.so.*"
libsystemd_files += "${prefix}/lib/libsystemd-id128.so.*"
libsystemd_files += "${prefix}/lib/libudev.so.*"
libsystemd_files += "${prefix}/lib/libnss_myhostname.so.2"
MANIFESTFILES_lib${PN} = "systemd.manifest"
systemd_files = ""
systemd_files += "${sysconfdir}/systemd/bootchart.conf"
systemd_files += "${sysconfdir}/pam.d/systemd-user"
systemd_files += "${prefix}/bin/bootctl"
systemd_files += "${prefix}/bin/kernel-install"
systemd_files += "${prefix}/bin/machinectl"
systemd_files += "${prefix}/bin/systemd-run"
systemd_files += "${prefix}/lib/kernel"
systemd_files += "${prefix}/lib/kernel/install.d"
systemd_files += "${prefix}/lib/kernel/install.d/50-depmod.install"
systemd_files += "${prefix}/lib/kernel/install.d/90-loaderentry.install"
systemd_files += "${prefix}/lib/systemd/system-generators/systemd-efi-boot-generator"
systemd_files += "${prefix}/bin/hostnamectl"
systemd_files += "${prefix}/bin/localectl"
systemd_files += "${prefix}/bin/systemd-coredumpctl"
systemd_files += "${prefix}/bin/timedatectl"
systemd_files += "${sysconfdir}/systemd"
systemd_files += "${sysconfdir}/systemd/system"
systemd_files += "${sysconfdir}/systemd/user"
systemd_files += "${sysconfdir}/tmpfiles.d"
systemd_files += "${sysconfdir}/sysctl.d"
systemd_files += "${sysconfdir}/modules-load.d"
systemd_files += "${sysconfdir}/binfmt.d"
systemd_files += "${prefix}/share/bash-completion/*"
systemd_files += "${prefix}/share/zsh/site-functions"
systemd_files += "${prefix}/share/zsh/site-functions/*"
systemd_files += "${sysconfdir}/udev"
systemd_files += "${sysconfdir}/udev/rules.d"
systemd_files += "${prefix}/lib/systemd"
systemd_files += "${prefix}/lib/systemd/system"
systemd_files += "${prefix}/lib/systemd/system-generators"
systemd_files += "${prefix}/lib/systemd/user-generators"
systemd_files += "${prefix}/lib/systemd/system-preset"
systemd_files += "${prefix}/lib/systemd/user-preset"
systemd_files += "${prefix}/lib/systemd/system-shutdown"
systemd_files += "${prefix}/lib/systemd/system-sleep"
systemd_files += "${prefix}/lib/tmpfiles.d"
systemd_files += "${prefix}/lib/sysctl.d"
systemd_files += "${prefix}/lib/modules-load.d"
systemd_files += "${prefix}/lib/binfmt.d"
systemd_files += "${prefix}/lib/firmware"
systemd_files += "${prefix}/lib/firmware/updates"
systemd_files += "${prefix}/share/systemd"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf"
systemd_files += "${sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf"
systemd_files += "${sysconfdir}/systemd/system.conf"
systemd_files += "${sysconfdir}/systemd/user.conf"
systemd_files += "${sysconfdir}/systemd/logind.conf"
systemd_files += "${sysconfdir}/systemd/journald.conf"
systemd_files += "${sysconfdir}/udev/udev.conf"
systemd_files += "${sysconfdir}/rpm/macros.systemd"
systemd_files += "${sysconfdir}/xdg/systemd"
systemd_files += "${prefix}/bin/systemd"
systemd_files += "${prefix}/bin/systemctl"
systemd_files += "${prefix}/bin/systemd-notify"
systemd_files += "${prefix}/bin/systemd-ask-password"
systemd_files += "${prefix}/bin/systemd-tty-ask-password-agent"
systemd_files += "${prefix}/bin/systemd-machine-id-setup"
systemd_files += "${prefix}/bin/loginctl"
systemd_files += "${prefix}/bin/systemd-loginctl"
systemd_files += "${prefix}/bin/journalctl"
systemd_files += "${prefix}/bin/systemd-tmpfiles"
systemd_files += "${prefix}/bin/systemd-nspawn"
systemd_files += "${prefix}/bin/systemd-stdio-bridge"
systemd_files += "${prefix}/bin/systemd-cat"
systemd_files += "${prefix}/bin/systemd-cgls"
systemd_files += "${prefix}/bin/systemd-cgtop"
systemd_files += "${prefix}/bin/systemd-delta"
systemd_files += "${prefix}/bin/systemd-detect-virt"
systemd_files += "${prefix}/bin/systemd-inhibit"
systemd_files += "${prefix}/bin/udevadm"
systemd_files += "${prefix}/lib/sysctl.d/*.conf"
systemd_files += "${prefix}/lib/systemd/systemd"
systemd_files += "${prefix}/lib/systemd/system"
systemd_files += "${prefix}/lib/systemd/system/basic.target.wants"
systemd_files += "${prefix}/lib/systemd/user"
systemd_files += "${prefix}/lib/systemd/user/bluetooth.target"
systemd_files += "${prefix}/lib/systemd/user/exit.target"
systemd_files += "${prefix}/lib/systemd/user/printer.target"
systemd_files += "${prefix}/lib/systemd/user/shutdown.target"
systemd_files += "${prefix}/lib/systemd/user/sockets.target"
systemd_files += "${prefix}/lib/systemd/user/sound.target"
systemd_files += "${prefix}/lib/systemd/user/systemd-exit.service"
systemd_files += "${prefix}/lib/systemd/user/paths.target"
systemd_files += "${prefix}/lib/systemd/user/smartcard.target"
systemd_files += "${prefix}/lib/systemd/user/timers.target"
systemd_files += "${prefix}/lib/systemd/systemd-*"
systemd_files += "${prefix}/lib/systemd/catalog"
systemd_files += "${prefix}/lib/systemd/catalog/systemd.catalog"
systemd_files += "${prefix}/lib/udev"
systemd_files += "${prefix}/lib/systemd/system-generators/systemd-getty-generator"
systemd_files += "${prefix}/lib/systemd/system-generators/systemd-fstab-generator"
systemd_files += "${prefix}/lib/systemd/system-generators/systemd-system-update-generator"
systemd_files += "${prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator"
systemd_files += "${prefix}/lib/tmpfiles.d/systemd.conf"
systemd_files += "${prefix}/lib/tmpfiles.d/x11.conf"
systemd_files += "${prefix}/lib/tmpfiles.d/tmp.conf"
systemd_files += "${prefix}/lib/tmpfiles.d/legacy.conf"
systemd_files += "${prefix}/lib/tmpfiles.d/pamconsole-tmp.conf"
systemd_files += "${prefix}/sbin/init"
systemd_files += "${prefix}/sbin/reboot"
systemd_files += "${prefix}/sbin/halt"
systemd_files += "${prefix}/sbin/poweroff"
systemd_files += "${prefix}/sbin/shutdown"
systemd_files += "${prefix}/sbin/telinit"
systemd_files += "${prefix}/sbin/runlevel"
systemd_files += "${prefix}/sbin/udevadm"
systemd_files += "${prefix}/share/systemd/kbd-model-map"
systemd_files += "${prefix}/share/dbus-1/services/org.freedesktop.systemd1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.systemd1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.hostname1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.login1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.locale1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.timedate1.service"
systemd_files += "${prefix}/share/dbus-1/system-services/org.freedesktop.machine1.service"
systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.systemd1.*.xml"
systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.hostname1.xml"
systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.locale1.xml"
systemd_files += "${prefix}/share/dbus-1/interfaces/org.freedesktop.timedate1.xml"
systemd_files += "${prefix}/share/polkit-1"
systemd_files += "${prefix}/share/polkit-1/actions"
systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.systemd1.policy"
systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.hostname1.policy"
systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.login1.policy"
systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.locale1.policy"
systemd_files += "${prefix}/share/polkit-1/actions/org.freedesktop.timedate1.policy"
systemd_files += "${prefix}/share/pkgconfig/systemd.pc"
systemd_files += "${prefix}/share/pkgconfig/udev.pc"
CONFFILES_${PN} = ""
CONFFILES_${PN} += "${sysconfdir}/systemd/bootchart.conf"
CONFFILES_${PN} += "${sysconfdir}/pam.d/systemd-user"
CONFFILES_${PN} += "${sysconfdir}/rpm/macros.systemd"
MANIFESTFILES_${PN} = "systemd.manifest"
DIRFILES_${PN} = ""
DIRFILES_${PN} += "${prefix}/lib/kernel"
DIRFILES_${PN} += "${prefix}/lib/kernel/install.d"
DIRFILES_${PN} += "${sysconfdir}/systemd"
DIRFILES_${PN} += "${sysconfdir}/systemd/system"
DIRFILES_${PN} += "${sysconfdir}/systemd/user"
DIRFILES_${PN} += "${sysconfdir}/tmpfiles.d"
DIRFILES_${PN} += "${sysconfdir}/sysctl.d"
DIRFILES_${PN} += "${sysconfdir}/modules-load.d"
DIRFILES_${PN} += "${sysconfdir}/binfmt.d"
DIRFILES_${PN} += "${prefix}/share/zsh/site-functions"
DIRFILES_${PN} += "${sysconfdir}/udev"
DIRFILES_${PN} += "${sysconfdir}/udev/rules.d"
DIRFILES_${PN} += "${prefix}/lib/systemd"
DIRFILES_${PN} += "${prefix}/lib/systemd/system"
DIRFILES_${PN} += "${prefix}/lib/systemd/system-generators"
DIRFILES_${PN} += "${prefix}/lib/systemd/user-generators"
DIRFILES_${PN} += "${prefix}/lib/systemd/system-preset"
DIRFILES_${PN} += "${prefix}/lib/systemd/user-preset"
DIRFILES_${PN} += "${prefix}/lib/systemd/system-shutdown"
DIRFILES_${PN} += "${prefix}/lib/systemd/system-sleep"
DIRFILES_${PN} += "${prefix}/lib/tmpfiles.d"
DIRFILES_${PN} += "${prefix}/lib/sysctl.d"
DIRFILES_${PN} += "${prefix}/lib/modules-load.d"
DIRFILES_${PN} += "${prefix}/lib/binfmt.d"
DIRFILES_${PN} += "${prefix}/lib/firmware"
DIRFILES_${PN} += "${prefix}/lib/firmware/updates"
DIRFILES_${PN} += "${prefix}/share/systemd"
DIRFILES_${PN} += "${prefix}/lib/systemd/system/basic.target.wants"
DIRFILES_${PN} += "${prefix}/lib/systemd/user"
DIRFILES_${PN} += "${prefix}/lib/systemd/catalog"
DIRFILES_${PN} += "${prefix}/share/polkit-1"
DIRFILES_${PN} += "${prefix}/share/polkit-1/actions"
libgudev-dev_files = ""
libgudev-dev_files += "${prefix}/lib/libgudev-1.0.so"
libgudev-dev_files += "${prefix}/include/gudev-1.0"
libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev"
libgudev-dev_files += "${prefix}/include/gudev-1.0/gudev/*.h"
libgudev-dev_files += "${prefix}/lib/pkgconfig/gudev-1.0*"
MANIFESTFILES_libgudev-dev = "systemd.manifest"
DIRFILES_libgudev-dev = ""
DIRFILES_libgudev-dev += "${prefix}/include/gudev-1.0"
DIRFILES_libgudev-dev += "${prefix}/include/gudev-1.0/gudev"
systemd-dev_files = ""
systemd-dev_files += "${prefix}/lib/libsystemd-daemon.so"
systemd-dev_files += "${prefix}/lib/libsystemd-login.so"
systemd-dev_files += "${prefix}/lib/libsystemd-journal.so"
systemd-dev_files += "${prefix}/lib/libsystemd-id128.so"
systemd-dev_files += "${prefix}/lib/libudev.so"
systemd-dev_files += "${prefix}/include/systemd"
systemd-dev_files += "${prefix}/include/systemd/sd-daemon.h"
systemd-dev_files += "${prefix}/include/systemd/sd-login.h"
systemd-dev_files += "${prefix}/include/systemd/sd-journal.h"
systemd-dev_files += "${prefix}/include/systemd/sd-id128.h"
systemd-dev_files += "${prefix}/include/systemd/sd-messages.h"
systemd-dev_files += "${prefix}/include/systemd/sd-shutdown.h"
systemd-dev_files += "${prefix}/include/libudev.h"
systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-daemon.pc"
systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-login.pc"
systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-journal.pc"
systemd-dev_files += "${prefix}/lib/pkgconfig/libsystemd-id128.pc"
systemd-dev_files += "${prefix}/lib/pkgconfig/libudev.pc"
MANIFESTFILES_${PN}-dev = "systemd.manifest"
DIRFILES_${PN}-dev = ""
DIRFILES_${PN}-dev += "${prefix}/include/systemd"
libgudev_files = ""
libgudev_files += "${prefix}/lib/libgudev-1.0.so.*"
MANIFESTFILES_libgudev = "systemd.manifest"
systemd-analyze_files = ""
systemd-analyze_files += "${prefix}/bin/systemd-analyze"
MANIFESTFILES_${PN}-analyze = "systemd.manifest"
FILES_lib${PN} = "${libsystemd_files}"
FILES_${PN} = "${systemd_files}"
FILES_libgudev-dev = "${libgudev-dev_files}"
FILES_${PN}-dev = "${systemd-dev_files}"
FILES_libgudev = "${libgudev_files}"
FILES_${PN}-analyze = "${systemd-analyze_files}"
PKG_libsystemd= "libsystemd"
PKG_systemd= "systemd"
PKG_libgudev-dev= "libgudev-dev"
PKG_systemd-dev= "systemd-dev"
PKG_libgudev= "libgudev"
PKG_systemd-analyze= "systemd-analyze"
require systemd-extraconf.inc
|