DEPENDS += "smack"
do_install_append() {
- mkdir -p ${D}${systemd_unitdir}/user
- install -m 0644 ${WORKDIR}/dbus-user.service ${D}${systemd_unitdir}/user/dbus.service
- install -m 0644 ${WORKDIR}/dbus-user.socket ${D}${systemd_unitdir}/user/dbus.socket
+ mkdir -p ${D}${prefix}/lib/systemd/user
+ install -m 0644 ${WORKDIR}/dbus-user.service ${D}${prefix}/lib/systemd/user/dbus.service
+ install -m 0644 ${WORKDIR}/dbus-user.socket ${D}${prefix}/lib/systemd/user/dbus.socket
}
-FILES_${PN} += "${systemd_unitdir}/user/dbus.service \
- ${systemd_unitdir}/user/dbus.socket \
+FILES_${PN} += "${prefix}/lib/systemd/user/dbus.service \
+ ${prefix}/lib/systemd/user/dbus.socket \
"
EXTRA_OECONF += " --enable-smack "
cp -fra $D${localstatedir}/log $D${localstatedir}/volatile
#cp -fra $D/sbin $D/usr
#cp -fra $D/bin $D/usr
-
- cp -fra $D/lib/systemd/* $D/usr/lib/systemd/
- #cp -fra $D/usr/lib/systemd $D/lib
#rm -fr $D/lib
#rm -fr $D/sbin
#rm -fr $D/bin
rm -fr $D${localstatedir}/log
- rm -fr $D/lib/systemd/*
- #rm -fr $D/usr/lib/systemd/*
-
#ln -s usr/lib $D/lib
#ln -s usr/sbin $D/sbin
#ln -s usr/bin $D/bin
ln -s volatile/log $D${localstatedir}/log
- #ln -s ../usr/lib/systemd $D/lib/systemd
- #ln -s ../../lib/systemd $D/usr/lib/systemd
-
fi
}
install -m 0644 Homescreen_icon.png ${D}${prefix}/share/Modello/Common/icons
mkdir -p ${D}${prefix}/bin
- mkdir -p ${D}${systemd_unitdir}/user/weston.target.wants/
+ mkdir -p ${D}${prefix}/lib/systemd/user/weston.target.wants/
install -m 755 systemd/modello_launcher.sh ${D}${prefix}/bin
- install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path ${D}${systemd_unitdir}/user
- install -m 0644 systemd/Modello_Homescreen.service ${D}${systemd_unitdir}/user
- ln -sf ../Modello_Homescreen-launchpad-ready.path ${D}${systemd_unitdir}/user/weston.target.wants/
+ install -m 0644 systemd/Modello_Homescreen-launchpad-ready.path ${D}${prefix}/lib/systemd/user
+ install -m 0644 systemd/Modello_Homescreen.service ${D}${prefix}/lib/systemd/user
+ ln -sf ../Modello_Homescreen-launchpad-ready.path ${D}${prefix}/lib/systemd/user/weston.target.wants/
}
Modello-Homescreen_files = ""
Modello-Homescreen_files += "/opt/usr/apps/.preinstallWidgets/Modello-Homescreen.wgt"
Modello-Homescreen_files += "${prefix}/share/Modello/Common/icons/Homescreen_icon.png"
-Modello-Homescreen_files += "${systemd_unitdir}/user/Modello_Homescreen.service"
-Modello-Homescreen_files += "${systemd_unitdir}/user/Modello_Homescreen-launchpad-ready.path"
+Modello-Homescreen_files += "${prefix}/lib/systemd/user/Modello_Homescreen.service"
+Modello-Homescreen_files += "${prefix}/lib/systemd/user/Modello_Homescreen-launchpad-ready.path"
Modello-Homescreen_files += "${prefix}/bin/modello_launcher.sh"
-Modello-Homescreen_files += "${systemd_unitdir}/user/weston.target.wants"
+Modello-Homescreen_files += "${prefix}/lib/systemd/user/weston.target.wants"
FILES_${PN} = "${Modello-Homescreen_files}"
rm -f ${D}${infodir}/dir
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- install -d ${D}${systemd_unitdir}/user/core-efl.target.wants
- install -m0644 ${S}/packaging/core-efl-wayland.target ${D}${systemd_unitdir}/user/core-efl.target
+ install -d ${D}${prefix}/lib/systemd/user/core-efl.target.wants
+ install -m0644 ${S}/packaging/core-efl-wayland.target ${D}${prefix}/lib/systemd/user/core-efl.target
app-core-common_files = ""
app-core-common_files += "${prefix}/lib/libappcore-common.so.*"
-app-core-common_files += "${systemd_unitdir}/user/core-efl.target"
-app-core-common_files += "${systemd_unitdir}/user/core-efl.target.wants/"
+app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target"
+app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target.wants/"
MANIFESTFILES_${PN}-common = "app-core.manifest"
app-core-common-dev_files = ""
rm -rf ${D}${prefix}/share/aul/mida_db.sql
mkdir -p ${D}${systemd_unitdir}/system/graphical.target.wants
- mkdir -p ${D}${systemd_unitdir}/user/default.target.wants
+ mkdir -p ${D}${prefix}/lib/systemd/user/default.target.wants
install -m 0644 ${S}/packaging/launchpad-preload@.service ${D}${systemd_unitdir}/system/launchpad-preload@.service
install -m 0644 ${S}/packaging/ac.service ${D}${systemd_unitdir}/system/ac.service
ln -s ../launchpad-preload@.service ${D}${systemd_unitdir}/system/graphical.target.wants/launchpad-preload@5000.service
ln -s ../ac.service ${D}${systemd_unitdir}/system/graphical.target.wants/ac.service
- install -m 0644 ${S}/packaging/amd_session_agent.service ${D}${systemd_unitdir}/user/amd_session_agent.service
- ln -s ../amd_session_agent.service ${D}${systemd_unitdir}/user/default.target.wants/amd_session_agent.service
+ install -m 0644 ${S}/packaging/amd_session_agent.service ${D}${prefix}/lib/systemd/user/amd_session_agent.service
+ ln -s ../amd_session_agent.service ${D}${prefix}/lib/systemd/user/default.target.wants/amd_session_agent.service
}
aul_files += "${systemd_unitdir}/system/graphical.target.wants/ac.service"
aul_files += "${systemd_unitdir}/system/launchpad-preload@.service"
aul_files += "${systemd_unitdir}/system/ac.service"
-aul_files += "${systemd_unitdir}/user/amd_session_agent.service"
-aul_files += "${systemd_unitdir}/user/default.target.wants/amd_session_agent.service"
+aul_files += "${prefix}/lib/systemd/user/amd_session_agent.service"
+aul_files += "${prefix}/lib/systemd/user/default.target.wants/amd_session_agent.service"
aul_files += "${prefix}/bin/amd"
aul_files += "${prefix}/bin/daemon-manager-release-agent"
aul_files += "${prefix}/bin/daemon-manager-launch-agent"
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- mkdir -p ${D}${systemd_unitdir}/user
- mkdir -p ${D}${systemd_unitdir}/user/tizen-middleware.target.wants
- install -m 0644 bt-service/bluetooth-frwk-service.service ${D}${systemd_unitdir}/user
- ln -s ../bluetooth-frwk-service.service ${D}${systemd_unitdir}/user/tizen-middleware.target.wants/bluetooth-frwk-service.service
+ mkdir -p ${D}${prefix}/lib/systemd/user
+ mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants
+ install -m 0644 bt-service/bluetooth-frwk-service.service ${D}${prefix}/lib/systemd/user
+ ln -s ../bluetooth-frwk-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service
mkdir -p ${D}${prefix}/share/icons/default
install -m 0644 ${S}/packaging/bt-icon.png ${D}${prefix}/share/icons/default/bt-icon.png
bluetooth-frwk-service_files = ""
bluetooth-frwk-service_files += "${prefix}/share/dbus-1/system-services/org.projectx.bt.service"
bluetooth-frwk-service_files += "${prefix}/bin/bt-service"
-bluetooth-frwk-service_files += "${systemd_unitdir}/user/tizen-middleware.target.wants/bluetooth-frwk-service.service"
-bluetooth-frwk-service_files += "${systemd_unitdir}/user/bluetooth-frwk-service.service"
+bluetooth-frwk-service_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/bluetooth-frwk-service.service"
+bluetooth-frwk-service_files += "${prefix}/lib/systemd/user/bluetooth-frwk-service.service"
bluetooth-frwk-service_files += "/opt/var/lib/bluetooth/auto-pair-blacklist"
bluetooth-frwk-service_files += "${sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf"
bluetooth-frwk-service_files += "${prefix}/share/icons/default/bt-icon.png"
ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc3.d/S85calendar-serviced
ln -s ../init.d/calendar-serviced.sh ${D}/etc/rc.d/rc5.d/S85calendar-serviced
- mkdir -p ${D}${systemd_unitdir}/user/tizen-middleware.target.wants
- install ${S}/packaging/calendar.service ${D}${systemd_unitdir}/user/
- ln -s ../calendar.service ${D}${systemd_unitdir}/user/tizen-middleware.target.wants/
+ mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants
+ install ${S}/packaging/calendar.service ${D}${prefix}/lib/systemd/user/
+ ln -s ../calendar.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/
}
calendar-service_files += "/etc/rc.d/rc3.d/S85calendar-serviced"
calendar-service_files += "/etc/rc.d/rc5.d/S85calendar-serviced"
calendar-service_files += "/usr/share/calendar-svc/dft-calendar"
-calendar-service_files += "${systemd_unitdir}/user/calendar.service"
-calendar-service_files += "${systemd_unitdir}/user/tizen-middleware.target.wants/calendar.service"
+calendar-service_files += "${prefix}/lib/systemd/user/calendar.service"
+calendar-service_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/calendar.service"
MANIFESTFILES_${PN} = "calendar-service.manifest"
calendar-service-dev_files = ""
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- mkdir -p ${D}${systemd_unitdir}/user/tizen-middleware.target.wants
- install -m 0644 ${S}/packaging/contacts-service.service ${D}${systemd_unitdir}/user/contacts-service.service
- ln -s ../contacts-service.service ${D}${systemd_unitdir}/user/tizen-middleware.target.wants/contacts-service.service
+ mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants
+ install -m 0644 ${S}/packaging/contacts-service.service ${D}${prefix}/lib/systemd/user/contacts-service.service
+ ln -s ../contacts-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service
- mkdir -p ${D}${systemd_unitdir}/user/sockets.target.wants
- install -m 0644 ${S}/packaging/contacts-service.socket ${D}${systemd_unitdir}/user/contacts-service.socket
- ln -s ../contacts-service.socket ${D}${systemd_unitdir}/user/sockets.target.wants/contacts-service.socket
+ mkdir -p ${D}${prefix}/lib/systemd/user/sockets.target.wants
+ install -m 0644 ${S}/packaging/contacts-service.socket ${D}${prefix}/lib/systemd/user/contacts-service.socket
+ ln -s ../contacts-service.socket ${D}${prefix}/lib/systemd/user/sockets.target.wants/contacts-service.socket
contacts-service2_files = ""
contacts-service2_files += "${prefix}/lib/libcontacts-service2.so.*"
contacts-service2_files += "${prefix}/bin/contacts-service-ipcd*"
-contacts-service2_files += "${systemd_unitdir}/user/contacts-service.service"
-contacts-service2_files += "${systemd_unitdir}/user/tizen-middleware.target.wants/contacts-service.service"
-contacts-service2_files += "${systemd_unitdir}/user/sockets.target.wants/contacts-service.socket"
-contacts-service2_files += "${systemd_unitdir}/user/contacts-service.socket"
+contacts-service2_files += "${prefix}/lib/systemd/user/contacts-service.service"
+contacts-service2_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/contacts-service.service"
+contacts-service2_files += "${prefix}/lib/systemd/user/sockets.target.wants/contacts-service.socket"
+contacts-service2_files += "${prefix}/lib/systemd/user/contacts-service.socket"
MANIFESTFILES_${PN}2 = "contacts-service2.manifest"
contacts-service2-dev_files = ""
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=460390ae423ed8b84ea014d6389dc529cde2aec5;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=715ce55f9def9e994dbb3dc5b08d3c61afcaa6cd;nobranch=1"
BBCLASSEXTEND += " native "
if [ -f ${prefix}/share/crosswalk-thirdparty/out.tgz ]; then
tar -zxvf ${prefix}/share/crosswalk-thirdparty/out.tgz
fi
-
find . -exec touch -a -m -t "200912120000" {} \;
# Stop unconditionally passing -Wall to the compiler. Chromium has its own
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=460390ae423ed8b84ea014d6389dc529cde2aec5;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/framework/web/crosswalk;tag=715ce55f9def9e994dbb3dc5b08d3c61afcaa6cd;nobranch=1"
BBCLASSEXTEND += " native "
rm -rf ${D}/usr/src
}
-FILES_${PN}-dbg = "${prefix}/bin/.debug/IVISurfaceCreator"
-FILES_${PN}-dbg = "${prefix}/bin/.debug/LayerManagerControl"
-FILES_${PN}-dbg = "${prefix}/bin/.debug/EGLWLMockNavigation"
-FILES_${PN}-dbg = "${prefix}/lib/.debug/libilmCommon.so.1.2.0"
-FILES_${PN}-dbg = "${prefix}/lib/.debug/libilmControl.so.1.2.0"
-FILES_${PN}-dbg = "${prefix}/lib/.debug/libilmClient.so.1.2.0"
-FILES_${PN}-dbg = "${prefix}/lib/weston/.debug/ivi-controller.so"
-
+FILES_${PN}-dbg += "${prefix}/bin/.debug"
+FILES_${PN}-dbg += "${prefix}/lib/weston/.debug"
+FILES_${PN}-dbg += "${prefix}/src/debug/.debug"
+FILES_${PN}-dbg += "${prefix}/lib/.debug"
rm -f ${D}${infodir}/dir
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- install -m 755 -d ${D}${systemd_unitdir}/user
- install -m 644 data/gsignond.service ${D}${systemd_unitdir}/user/
- install -m 755 -d ${D}${systemd_unitdir}/user/weston.target.wants
- ln -s ../gsignond.service ${D}${systemd_unitdir}/user/weston.target.wants/gsignond.service
+ install -m 755 -d ${D}${prefix}/lib/systemd/user
+ install -m 644 data/gsignond.service ${D}${prefix}/lib/systemd/user/
+ install -m 755 -d ${D}${prefix}/lib/systemd/user/weston.target.wants
+ ln -s ../gsignond.service ${D}${prefix}/lib/systemd/user/weston.target.wants/gsignond.service
}
gsignond_files += "${prefix}/lib/gsignond/extensions/*.so*"
gsignond_files += "${prefix}/lib/gsignond/gplugins/*.so*"
gsignond_files += "${prefix}/lib/gsignond/pluginloaders/gsignond-plugind"
-gsignond_files += "${systemd_unitdir}/user/gsignond.service"
-gsignond_files += "${systemd_unitdir}/user/weston.target.wants/gsignond.service"
+gsignond_files += "${prefix}/lib/systemd/user/gsignond.service"
+gsignond_files += "${prefix}/lib/systemd/user/weston.target.wants/gsignond.service"
gsignond_files += "${sysconfdir}/gsignond.conf"
MANIFESTFILES_${PN} = "gsignond.manifest"
# configurations
mkdir -p ${D}/opt/etc/ico/device-input-controller
- mkdir -p ${D}${systemd_unitdir}/user
+ mkdir -p ${D}${prefix}/lib/systemd/user
install -m 0644 settings/drivingforcegt.conf ${D}/opt/etc/ico/device-input-controller
install -m 0644 settings/g27racingwheel.conf ${D}/opt/etc/ico/device-input-controller
install -m 0755 settings/set_daynight.sh ${D}/opt/etc/ico/device-input-controller
- install -m 644 settings/ico-device-input-controller.service ${D}${systemd_unitdir}/user/ico-device-input-controller.service
+ install -m 644 settings/ico-device-input-controller.service ${D}${prefix}/lib/systemd/user/ico-device-input-controller.service
}
ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/drivingforcegt.conf"
ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/g27racingwheel.conf"
ico-uxf-device-input-controller_files += "/opt/etc/ico/device-input-controller/set_daynight.sh"
-ico-uxf-device-input-controller_files += "${systemd_unitdir}/user/ico-device-input-controller.service"
+ico-uxf-device-input-controller_files += "${prefix}/lib/systemd/user/ico-device-input-controller.service"
MANIFESTFILES_${PN} = "ico-uxf-device-input-controller.manifest"
FILES_${PN} = "${ico-uxf-device-input-controller_files}"
do_install_append() {
if ${@bb.utils.contains('SYS_CTLR_PROVIDER', 'ico-uxf-homescreen', 'false', 'true', d)}; then
- rm -f ${D}${systemd_unitdir}/user/ico-uxf-wait-launchpad-ready.path
- rm -f ${D}${systemd_unitdir}/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path
- rm -f ${D}${systemd_unitdir}/user/ico-system-controller.service
+ rm -f ${D}${prefix}/lib/systemd/user/ico-uxf-wait-launchpad-ready.path
+ rm -fr ${D}${prefix}/lib/systemd/use
fi
}
ico-uxf-homescreen-system-controller_files = ""
ico-uxf-homescreen-system-controller_files += "${prefix}/share/packages/org.tizen.ico.system-controller.xml"
-ico-uxf-homescreen-system-controller_files += "${systemd_unitdir}/user/ico-uxf-wait-launchpad-ready.path"
-ico-uxf-homescreen-system-controller_files += "${systemd_unitdir}/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path"
-ico-uxf-homescreen-system-controller_files += "${systemd_unitdir}/user/ico-system-controller.service"
+ico-uxf-homescreen-system-controller_files += "${prefix}/lib/systemd/user/ico-uxf-wait-launchpad-ready.path"
+ico-uxf-homescreen-system-controller_files += "${prefix}/lib/systemd/user/weston.target.wants/ico-uxf-wait-launchpad-ready.path"
+ico-uxf-homescreen-system-controller_files += "${prefix}/lib/systemd/user/ico-system-controller.service"
ico-uxf-homescreen-system-controller_files += "${prefix}/apps/org.tizen.ico.system-controller/bin"
ico-uxf-homescreen-system-controller_files += "/home/app/ico/defaultApps.info"
ico-uxf-homescreen-system-controller_files += "/home/app/ico"
# configurations
mkdir -p ${D}${sysconfdir}/ico-vic-carsim/
- mkdir -p ${D}${systemd_unitdir}/user
+ mkdir -p ${D}${prefix}/lib/systemd/user
install -m 0644 G25.conf ${D}${sysconfdir}/ico-vic-carsim/
install -m 0644 G27.conf ${D}${sysconfdir}/ico-vic-carsim/
- install -m 0644 ico-vic-carsim.service ${D}${systemd_unitdir}/user/ico-vic-carsim.service
+ install -m 0644 ico-vic-carsim.service ${D}${prefix}/lib/systemd/user/ico-vic-carsim.service
}
ico-vic-carsimulator_files += "${prefix}/bin/ico-vic-carsim"
ico-vic-carsimulator_files += "${prefix}/bin/*"
ico-vic-carsimulator_files += "${sysconfdir}/ico-vic-carsim/*"
-ico-vic-carsimulator_files += "${systemd_unitdir}/user/ico-vic-carsim.service"
+ico-vic-carsimulator_files += "${prefix}/lib/systemd/user/ico-vic-carsim.service"
CONFFILES_${PN} = ""
CONFFILES_${PN} += "${sysconfdir}/ico-vic-carsim/*"
MANIFESTFILES_${PN} = "ico-vic-carsimulator.manifest"
mkdir -p ${D}${systemd_unitdir}/system/multi-user.target.wants
install -m 644 ${S}/packaging/media-server.service ${D}${systemd_unitdir}/system/media-server.service
- mkdir -p ${D}${systemd_unitdir}/user
- install -m 644 ${S}/packaging/media-server-user.service ${D}${systemd_unitdir}/user/media-server-user.service
+ mkdir -p ${D}${prefix}/lib/systemd/user
+ install -m 644 ${S}/packaging/media-server-user.service ${D}${prefix}/lib/systemd/user/media-server-user.service
ln -s ../media-server.service ${D}${systemd_unitdir}/system/multi-user.target.wants/media-server.service
mkdir -p ${D}${prefix}/data/data-media/Camera
mkdir -p ${D}${prefix}/data/data-media/Downloads
chgrp -R users $D${prefix}/data/data-media
chgrp -R users $D${prefix}/data/file-manager-service
# setup dbupdate in user session
- mkdir -p ${systemd_unitdir}/user/default.target.requires/
- ln -sf ../media-server-user.service ${systemd_unitdir}/user/default.target.wants/
+ mkdir -p $D${prefix}/lib/systemd/user/default.target.requires/
+ ln -sf ../media-server-user.service $D${prefix}/lib/systemd/user/default.target.wants/
}
media-server_files += "${prefix}/bin/mediadb-update"
media-server_files += "${systemd_unitdir}/system/media-server.service"
media-server_files += "${systemd_unitdir}/system/multi-user.target.wants/media-server.service"
-media-server_files += "${systemd_unitdir}/user/media-server-user.service"
+media-server_files += "${prefix}/lib/systemd/user/media-server-user.service"
media-server_files += "${prefix}/bin/media-data-sdk_create_db.sh"
media-server_files += "${prefix}/data/data-media/*"
media-server_files += "${prefix}/data/file-manager-service/.thumb/*"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;tag=b7d3ced2f1ab861d84626c24e2c4912730ca4b08;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/upstream/meta-generic;tag=72a4d5300da9073826427213bad09ffc53d9934e;nobranch=1"
BBCLASSEXTEND += " native "
-DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE} . \
-DTZ_SYS_SHARE=${prefix}/share \
- -DUNITDIR_USER=${systemd_unitdir}/user \
+ -DUNITDIR_USER=${prefix}/lib/systemd/user \
-DTZ_SYS_SMACK=${sysconfdir}/smack
make -j16
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- mkdir -p ${D}${systemd_unitdir}/user/tizen-middleware.target.wants
- #install -m 0644 ${S}/packaging/msg-service.service ${D}${systemd_unitdir}/user/
- ln -s ../msg-service.service ${D}${systemd_unitdir}/user/tizen-middleware.target.wants/msg-service.service
- ln -s ../msg-service-log.service ${D}${systemd_unitdir}/user/tizen-middleware.target.wants/msg-service-log.service
+ mkdir -p ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants
+ #install -m 0644 ${S}/packaging/msg-service.service ${D}${prefix}/lib/systemd/user/
+ ln -s ../msg-service.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service.service
+ ln -s ../msg-service-log.service ${D}${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service
mkdir -p ${D}${sysconfdir}/rc.d/rc3.d
ln -s ${sysconfdir}/rc.d/init.d/msg-server ${D}${sysconfdir}/rc.d/rc3.d/S70msg-server
msg-service-tools_files += "${sysconfdir}/rc.d/init.d/msg-server"
msg-service-tools_files += "${sysconfdir}/rc.d/rc3.d/S70msg-server"
msg-service-tools_files += "${sysconfdir}/rc.d/rc5.d/S70msg-server"
-msg-service-tools_files += "${systemd_unitdir}/user/msg-service.service"
-msg-service-tools_files += "${systemd_unitdir}/user/msg-service-log.service"
-msg-service-tools_files += "${systemd_unitdir}/user/tizen-middleware.target.wants/msg-service.service"
-msg-service-tools_files += "${systemd_unitdir}/user/tizen-middleware.target.wants/msg-service-log.service"
+msg-service-tools_files += "${prefix}/lib/systemd/user/msg-service.service"
+msg-service-tools_files += "${prefix}/lib/systemd/user/msg-service-log.service"
+msg-service-tools_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service.service"
+msg-service-tools_files += "${prefix}/lib/systemd/user/tizen-middleware.target.wants/msg-service-log.service"
msg-service-tools_files += "${sysconfdir}/config/sysinfo-message.xml"
msg-service-tools_files += "/var/log/msgfw"
MANIFESTFILES_${PN}-tools = "msg-service-tools.manifest"
PARALLEL_MAKE = ""
do_install_append() {
- rm -fr ${D}${systemd_unitdir}/user
+ rm -fr ${D}${prefix}/lib/systemd/user
rm ${D}/usr/lib/libmurphy-plugin-system-monitor*
if ${@bb.utils.contains('SYS_CTLR_PROVIDER', 'murphy', 'false', 'true', d)}; then
rm ${D}${prefix}/lib/murphy/plugins/plugin-system-controller.so
- rm ${D}${systemd_unitdir}/user/ico-homescreen.service
- rm ${D}${systemd_unitdir}/user/murphy-wait-for-launchpad-ready.path
+ rm ${D}${prefix}/lib/systemd/user/ico-homescreen.service
+ rm ${D}${prefix}/lib/systemd/user/murphy-wait-for-launchpad-ready.path
fi
}
-FILES_${PN}-dev += " /usr/include/murphy"
-FILES_${PN}-dbg += " /usr/lib/murphy/plugins/.debug"
+FILES_${PN}-dev += " ${prefix}/include/murphy"
+FILES_${PN}-dbg += " ${prefix}/lib/murphy/plugins/.debug"
murphy-doc_files = ""
murphy-doc_files += "${prefix}/share/doc/murphy/AUTHORS"
-INSANE_SKIP_ds-public-plugins = "dev-so"
\ No newline at end of file
+INSANE_SKIP_ds-public-plugins = "dev-so"
+
+FILES_${PN}-dbg += "${prefix}/lib/sync-agent/ds-public/.debug"
\ No newline at end of file
${EXTRA_OECMAKE} . \
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DENABLE_TIME_TRACER="OFF" \
- -DSYSTEMD_SERVICE_PREFIX="${systemd_unitdir}/user"
+ -DSYSTEMD_SERVICE_PREFIX="${prefix}/lib/systemd/user"
oe_runmake -j16 VERBOSE=1
phoned_files += "${prefix}/lib/pkgconfig/phoned.pc"
phoned_files += "${prefix}/bin/phoned"
phoned_files += "${prefix}/share/dbus-1/services/org.tizen.phone.service"
-phoned_files += "${systemd_unitdir}/user/phoned.service"
-phoned_files += "${systemd_unitdir}/user/weston.target.wants/phoned.service"
+phoned_files += "${prefix}/lib/systemd/user/phoned.service"
+phoned_files += "${prefix}/lib/systemd/user/weston.target.wants/phoned.service"
MANIFESTFILES_${PN} = "phoned.manifest"
FILES_${PN} = "${phoned_files}"
"${CMAKE_SOURCE_DIR}/client/inc/"
"${CMAKE_SOURCE_DIR}/common/inc/"
)
-@@ -61,5 +57,5 @@ ADD_CUSTOM_COMMAND(TARGET ${this_target}
- COMMENT "strip ${this_target}"
- )
-
--INSTALL(TARGETS ${this_target} DESTINATION "../etc/package-manager/parserlib")
-+INSTALL(TARGETS ${this_target} DESTINATION lib)
+
-DVERSION=0.0.4 \
-DFILTER_LISTED_PKG=ON \
-DPRIVACY_POPUP=OFF
- make -j16
+ oe_runmake -j16
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
- mkdir -p ${D}${prefix}/lib/systemd/system/multi-user.target.wants
- #install -m 0644 ${S}/packaging/privacy-manager-server.service ${D}${prefix}/lib/systemd/system/privacy-manager-server.service
- #ln -sf /usr/lib/systemd/system/privacy-manager-server.service ${D}${prefix}/lib/systemd/system/multi-user.target.wants/privacy-manager-server.service
+ #mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+ #install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/system/privacy-manager-server.service
+ #ln -sf /usr/lib/systemd/system/privacy-manager-server.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/privacy-manager-server.service
pkg_postinst_privacy-manager-server() {
#!/bin/sh -e
- [ "x$D" == "x" ] && ldconfig
+ ldconfig
echo "Check privacy DB"
if [ ! -f $D${prefix}/dbspace/.privacy.db ]
then
echo "Create privacy DB"
- $D${prefix}/bin/privacy_manager_create_clean_db.sh
+ privacy_manager_create_clean_db.sh
fi
chsmack -a 'User' $D${prefix}/dbspace/.privacy.db*
chsmack -a 'User' $D${prefix}/dbspace/.privacylist.db*
privacy-manager-server_files = ""
privacy-manager-server_files += "${prefix}/lib/libprivacy-manager-server.so*"
privacy-manager-server_files += "${prefix}/dbspace/.privacylist.db"
-privacy-manager-server_files += "/usr/bin/*"
+privacy-manager-server_files += "${prefix}/bin/*"
MANIFESTFILES_${PN} = "privacy-manager-server.manifest"
privacy-manager-server-dev_files = ""
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/core/security/privacy-manager;tag=9771931036d2c3ced1e962f3caf149999b43f23b;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/core/security/privacy-manager;tag=866b0492038f7515b22f415f40c6edfa02e8cb84;nobranch=1"
BBCLASSEXTEND += " native "
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=4911aabb47f039aa3d205aa6c6ebe1a982797c97;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/upstream/rpm;tag=b56ed49a97939d11dd4270c9550966c43b9ce5a6;nobranch=1"
BBCLASSEXTEND += " native "
EXTRA_OECONF += "--disable-manpages"
EXTRA_OECONF += "--without-python"
-#EXTRA_OECONF += "--with-rootprefix=/"
GTKDOC_DOCDIR = "${S}/docs/"
$D${prefix}/bin/mv -n ${sysconfdir}/systemd/systemd-journald.conf ${sysconfdir}/systemd/journald.conf >/dev/null 2>&1 || :
}
-systemd_files += "${sysconfdir}/*"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.py"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.py"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_daemon.so"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_reader.so"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/_journal.so"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/__init__.pyo"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/daemon.pyo"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.pyo"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/journal.py"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/id128.so"
-systemd_files += "/usr/lib64/python2.7/site-packages/systemd/login.so"
-systemd_files += "${prefix}/lib/rpm/macros.d"
-systemd_files += "/var/log"
-systemd_files += "/var/lib/systemd"
-systemd_files += "/var/volatile/log/README"
-systemd_files += "/var/volatile/log/journal"
-
-systemd-dbg_files += "${prefix}/lib/security/.debug"
-systemd-dbg_files += "${prefix}/lib/systemd/system-generators/.debug"
-systemd-dbg_files += "${prefix}/lib/udev/.debug"
-systemd-dbg_files += "${prefix}/lib64/python2.7/site-packages/systemd/.debug"
+systemd-dbg_files += "${systemd_unitdir}/.debug"
+systemd-dbg_files += "/lib/security/.debug"
+systemd-dbg_files += "${systemd_unitdir}/system-generators/.debug"
+systemd-dbg_files += "/lib/udev/.debug"
FILES_${PN}-dbg += "${systemd-dbg_files}"
+
+
+FILES_${PN}-locale-fr += "${prefix}/lib/systemd/catalog/systemd.fr.catalog"
+FILES_${PN}-locale-it += "${prefix}/lib/systemd/catalog/systemd.it.catalog"
+FILES_${PN}-locale-ru += "${prefix}/lib/systemd/catalog/systemd.ru.catalog"
+FILES_${PN}-locale += "${prefix}/lib/systemd/catalog/systemd.catalog"
+
+
+
+
\ No newline at end of file
intltoolize --force --automake
autotools_do_configure
- oe_runmake -j16 systemunitdir=${systemd_unitdir}/system userunitdir=${systemd_unitdir}/user
+
+ oe_runmake -j16
}
-EXTRA_OECONF += " --enable-compat-libs --enable-bootchart --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/systemd --disable-static --with-sysvinit-path= --with-sysvrcnd-path= --with-smack-run-label=System cc_cv_CFLAGS__flto=no"
+EXTRA_OECONF += " --enable-compat-libs --enable-bootchart --libexecdir=${prefix}/lib --docdir=${prefix}/share/doc/packages/systemd --disable-static --with-sysvinit-path= --with-sysvrcnd-path= --with-smack-run-label=System --with-rootprefix=/ --with-rootlibdir=//lib cc_cv_CFLAGS__flto=no"
do_install() {
export RPM_BUILD_ROOT=${D}
rm -f ${D}${infodir}/dir
find ${D} -regex ".*\.la$" | xargs rm -f --
find ${D} -regex ".*\.a$" | xargs rm -f --
+
#find_lang systemd
cat <<EOF >> systemd.lang
- %lang(fr) /usr/lib/systemd/catalog/systemd.fr.catalog
- %lang(it) /usr/lib/systemd/catalog/systemd.it.catalog
- %lang(ru) /usr/lib/systemd/catalog/systemd.ru.catalog
+ %lang(fr) ${prefix}/lib/systemd/catalog/systemd.fr.catalog
+ %lang(it) ${prefix}/lib/systemd/catalog/systemd.it.catalog
+ %lang(ru) ${prefix}/lib/systemd/catalog/systemd.ru.catalog
EOF
# udev links
# Create SysV compatibility symlinks. systemctl/systemd are smart
# enough to detect in which way they are called.
- ln -s ../lib/systemd/systemd ${D}${prefix}/sbin/init
- ln -s ../lib/systemd/systemd ${D}${prefix}/bin/systemd
- ln -s ../bin/systemctl ${D}${prefix}/sbin/reboot
- ln -s ../bin/systemctl ${D}${prefix}/sbin/halt
- ln -s ../bin/systemctl ${D}${prefix}/sbin/poweroff
- ln -s ../bin/systemctl ${D}${prefix}/sbin/shutdown
- ln -s ../bin/systemctl ${D}${prefix}/sbin/telinit
- ln -s ../bin/systemctl ${D}${prefix}/sbin/runlevel
+ ln -sf //lib/systemd/systemd ${D}${prefix}/sbin/init
+ ln -sf //lib/systemd/systemd ${D}${prefix}/bin/systemd
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/reboot
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/halt
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/poweroff
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/shutdown
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/telinit
+ ln -sf ../bin/systemctl ${D}${prefix}/sbin/runlevel
# legacy links
- ln -s loginctl ${D}${prefix}/bin/systemd-loginctl
+ ln -sf 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.
- rm -r ${D}${sysconfdir}/systemd/system/*.target.wants
+ rm -rf ${D}${sysconfdir}/systemd/system/*.target.wants
# Make sure the ghost-ing below works
touch ${D}${sysconfdir}/systemd/system/runlevel2.target
touch ${D}${sysconfdir}/systemd/system/runlevel5.target
# Make sure these directories are properly owned
- mkdir -p ${D}${prefix}/lib/systemd/system/basic.target.wants
- mkdir -p ${D}${prefix}/lib/systemd/system/default.target.wants
- mkdir -p ${D}${prefix}/lib/systemd/system/dbus.target.wants
- mkdir -p ${D}${prefix}/lib/systemd/system/syslog.target.wants
+ mkdir -p ${D}${systemd_unitdir}/system/basic.target.wants
+ mkdir -p ${D}${systemd_unitdir}/system/default.target.wants
+ mkdir -p ${D}${systemd_unitdir}/system/dbus.target.wants
+ mkdir -p ${D}${systemd_unitdir}/system/syslog.target.wants
# Make sure the user generators dir exists too
- mkdir -p ${D}${prefix}/lib/systemd/system-generators
+ mkdir -p ${D}//lib/systemd/system-generators
mkdir -p ${D}${prefix}/lib/systemd/user-generators
# Create new-style configuration files so that we can ghost-own them
touch ${D}${sysconfdir}/machine-id
touch ${D}${sysconfdir}/machine-info
touch ${D}${sysconfdir}/timezone
- #mkdir -p ${D}${sysconfdir}/X11/xorg.conf.d
- #touch ${D}${sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
+ #mkdir -p %{buildroot}%{_sysconfdir}/X11/xorg.conf.d
+ #touch %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/00-keyboard.conf
- mkdir -p ${D}${prefix}/lib/systemd/system-preset/
- mkdir -p ${D}${prefix}/lib/systemd/user-preset/
+ mkdir -p ${D}//lib/systemd/system-preset/
+ mkdir -p ${D}//lib/systemd/user-preset/
# Make sure the shutdown/sleep drop-in dirs exist
- mkdir -p ${D}${prefix}/lib/systemd/system-shutdown/
- mkdir -p ${D}${prefix}/lib/systemd/system-sleep/
+ mkdir -p ${D}//lib/systemd/system-shutdown/
+ mkdir -p ${D}//lib/systemd/system-sleep/
# Make sure the NTP units dir exists
mkdir -p ${D}${prefix}/lib/systemd/ntp-units.d/
mkdir -p ${D}${sysconfdir}/modprobe.d/
# Enable readahead services
- ln -s ../systemd-readahead-collect.service ${D}${prefix}/lib/systemd/system/default.target.wants/
- ln -s ../systemd-readahead-replay.service ${D}${prefix}/lib/systemd/system/default.target.wants/
+ ln -sf ../systemd-readahead-collect.service ${D}${systemd_unitdir}/system/default.target.wants/
+ ln -sf ../systemd-readahead-replay.service ${D}${systemd_unitdir}/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
# 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
+
+ rm -fr ${D}${prefix}/lib/rpm
+ rm -fr ${D}${sysconfdir}/kernel
+ rm -fr ${D}${sysconfdir}/modprobe.d
+ rm -fr ${D}${localstatedir}
}
remote-fs.target \
systemd-readahead-replay.service \
systemd-readahead-collect.service >/dev/null 2>&1 || :
- rm -f /etc/systemd/system/default.target >/dev/null 2>&1 || :
+ rm -f ${sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || :
fi
}
PACKAGES += " systemd-analyze "
libsystemd_files = ""
-libsystemd_files += "${prefix}/lib/security/pam_systemd.so"
-libsystemd_files += "${prefix}/lib/libsystemd.so.*"
-libsystemd_files += "${prefix}/lib/libudev.so.*"
-libsystemd_files += "${prefix}/lib/libsystemd-daemon.so.*"
-libsystemd_files += "${prefix}/lib/libsystemd-id128.so.*"
-libsystemd_files += "${prefix}/lib/libsystemd-journal.so.*"
-libsystemd_files += "${prefix}/lib/libsystemd-login.so.*"
+libsystemd_files += "/lib/security/pam_systemd.so"
+libsystemd_files += "/lib/libsystemd.so.*"
+libsystemd_files += "/lib/libudev.so.*"
+libsystemd_files += "/lib/libsystemd-daemon.so.*"
+libsystemd_files += "/lib/libsystemd-id128.so.*"
+libsystemd_files += "/lib/libsystemd-journal.so.*"
+libsystemd_files += "/lib/libsystemd-login.so.*"
libsystemd_files += "${prefix}/lib/libnss_myhostname.so.2"
MANIFESTFILES_lib${PN} = "systemd.manifest"
systemd_files += "${prefix}/bin/bootctl"
systemd_files += "${prefix}/bin/busctl"
systemd_files += "${prefix}/bin/kernel-install"
-systemd_files += "${prefix}/bin/machinectl"
+systemd_files += "/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 += "/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}/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 += "/lib/systemd"
+systemd_files += "${systemd_unitdir}/system"
+systemd_files += "/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 += "/lib/systemd/system-preset"
+systemd_files += "/lib/systemd/user-preset"
+systemd_files += "/lib/systemd/system-shutdown"
+systemd_files += "/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/firmware"
systemd_files += "${prefix}/lib/firmware/updates"
systemd_files += "${prefix}/share/systemd"
+systemd_files += "${prefix}/lib/systemd/ntp-units.d"
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}/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 += "/bin/systemctl"
+systemd_files += "/bin/systemd-notify"
+systemd_files += "/bin/systemd-ask-password"
+systemd_files += "/bin/systemd-tty-ask-password-agent"
+systemd_files += "/bin/systemd-machine-id-setup"
+systemd_files += "/bin/loginctl"
systemd_files += "${prefix}/bin/systemd-loginctl"
-systemd_files += "${prefix}/bin/journalctl"
-systemd_files += "${prefix}/bin/systemd-tmpfiles"
+systemd_files += "/bin/journalctl"
+systemd_files += "/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-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 += "/bin/systemd-inhibit"
+systemd_files += "/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 += "/lib/systemd/systemd"
+systemd_files += "${systemd_unitdir}/system"
+systemd_files += "${systemd_unitdir}/system/basic.target.wants"
systemd_files += "${prefix}/lib/systemd/user"
systemd_files += "${prefix}/lib/systemd/network"
systemd_files += "${prefix}/lib/systemd/user/basic.target"
systemd_files += "${prefix}/lib/systemd/user/busnames.target"
systemd_files += "${prefix}/lib/systemd/network/80-container-host0.network"
systemd_files += "${prefix}/lib/systemd/network/99-default.link"
-systemd_files += "${prefix}/lib/systemd/systemd-*"
+systemd_files += "/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 += "/lib/udev"
+systemd_files += "/lib/systemd/system-generators/systemd-getty-generator"
+systemd_files += "/lib/systemd/system-generators/systemd-fstab-generator"
+systemd_files += "/lib/systemd/system-generators/systemd-system-update-generator"
+systemd_files += "/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}/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"
MANIFESTFILES_${PN} = "systemd.manifest"
DIRFILES_${PN} = ""
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} += "/lib/systemd"
+DIRFILES_${PN} += "${systemd_unitdir}/system"
+DIRFILES_${PN} += "/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} += "/lib/systemd/system-preset"
+DIRFILES_${PN} += "/lib/systemd/user-preset"
+DIRFILES_${PN} += "/lib/systemd/system-shutdown"
+DIRFILES_${PN} += "/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/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/ntp-units.d"
+DIRFILES_${PN} += "${systemd_unitdir}/system/basic.target.wants"
DIRFILES_${PN} += "${prefix}/lib/systemd/user"
DIRFILES_${PN} += "${prefix}/lib/systemd/network"
DIRFILES_${PN} += "${prefix}/lib/systemd/catalog"
systemd-docs_files = ""
libgudev_files = ""
-libgudev_files += "${prefix}/lib/libgudev-1.0.so.*"
+libgudev_files += "/lib/libgudev-1.0.so.*"
MANIFESTFILES_libgudev = "systemd.manifest"
systemd-analyze_files = ""
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=946095230fe92a254df7795c14fac4910df094a2;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/upstream/systemd;tag=f1a985d567a9094ef916d59d8e528810bdbffc0a;nobranch=1"
BBCLASSEXTEND += " native "
FILESEXTRAPATHS_append := "${THISDIR}/user-session-units"
do_install_append() {
- rm -f ${D}${systemd_unitdir}/user/dbus.socket
+ rm -f ${D}${prefix}/lib/systemd/user/dbus.socket
- echo "[Unit]" > ${D}${systemd_unitdir}/user/default.target
- echo "Description=User session default target" >> ${D}${systemd_unitdir}/user/default.target
+ echo "[Unit]" > ${D}${prefix}/lib/systemd/user/default.target
+ echo "Description=User session default target" >> ${D}${prefix}/lib/systemd/user/default.target
- mkdir -p ${D}${systemd_unitdir}/user/default.target.wants
- ln -sf ../dbus.service ${D}${systemd_unitdir}/user/default.target.wants/dbus.service
- rm ${D}${systemd_unitdir}/user/dbus.service
+ mkdir -p ${D}${prefix}/lib/systemd/user/default.target.wants
+ ln -sf ../dbus.service ${D}${prefix}/lib/systemd/user/default.target.wants/dbus.service
+ rm ${D}${prefix}/lib/systemd/user/dbus.service
- rm -f ${D}${systemd_unitdir}/user/default.target
- ln -sf weston.target ${D}${systemd_unitdir}/user/default.target
+ rm -f ${D}${prefix}/lib/systemd/user/default.target
+ ln -sf weston.target ${D}${prefix}/lib/systemd/user/default.target
}
-user-session-units_files += "${systemd_unitdir}/user/*"
+user-session-units_files += "${prefix}/lib/systemd/user/*"
PACKAGES += " user-session-units-gnome "
user-session-units-enlightenment_files = ""
-user-session-units-enlightenment_files += "${systemd_unitdir}/user/e17.target"
-user-session-units-enlightenment_files += "${systemd_unitdir}/user/enlightenment.service"
-user-session-units-enlightenment_files += "${systemd_unitdir}/user/e17.target.wants/enlightenment.service"
+user-session-units-enlightenment_files += "${prefix}/lib/systemd/user/e17.target"
+user-session-units-enlightenment_files += "${prefix}/lib/systemd/user/enlightenment.service"
+user-session-units-enlightenment_files += "${prefix}/lib/systemd/user/e17.target.wants/enlightenment.service"
MANIFESTFILES_${PN}-enlightenment = "user-session-units.manifest"
user-session-units_files = ""
MANIFESTFILES_${PN} = "user-session-units.manifest"
user-session-units-gnome_files = ""
-user-session-units-gnome_files += "${systemd_unitdir}/user/gnome.target"
-user-session-units-gnome_files += "${systemd_unitdir}/user/gnome-session.service"
-user-session-units-gnome_files += "${systemd_unitdir}/user/gnome.target.wants/gnome-session.service"
+user-session-units-gnome_files += "${prefix}/lib/systemd/user/gnome.target"
+user-session-units-gnome_files += "${prefix}/lib/systemd/user/gnome-session.service"
+user-session-units-gnome_files += "${prefix}/lib/systemd/user/gnome.target.wants/gnome-session.service"
MANIFESTFILES_${PN}-gnome = "user-session-units.manifest"
FILES_${PN}-enlightenment = "${user-session-units-enlightenment_files}"
install -m 0644 weston_tmpfiles.conf ${D}${prefix}/lib/tmpfiles.d/weston.conf
# install weston-user service in user session
- mkdir -p ${D}${systemd_unitdir}/user
- install -m 644 weston-user.service ${D}${systemd_unitdir}/user/
+ mkdir -p ${D}${prefix}/lib/systemd/user
+ install -m 644 weston-user.service ${D}${prefix}/lib/systemd/user/
# install weston.sh
mkdir -p ${D}${sysconfdir}/profile.d/
mkdir -p ${systemd_unitdir}/system/graphical.target.wants/
ln -sf ../display-manager.path ${systemd_unitdir}/system/graphical.target.wants/
# setup display manager access (inside user session)
- mkdir -p ${systemd_unitdir}/user/default.target.requires/
- ln -sf ../weston-user.service ${systemd_unitdir}/user/default.target.requires/
+ mkdir -p $D${prefix}/lib/systemd/user/default.target.requires/
+ ln -sf ../weston-user.service $D${prefix}/lib/systemd/user/default.target.requires/
}
#!/bin/sh -e
rm -f ${systemd_unitdir}/system/graphical.target.wants/display-manager.path
- rm -f ${systemd_unitdir}/user/default.target.requires/weston-user.service
+ rm -f $D${prefix}/lib/systemd/user/default.target.requires/weston-user.service
}
weston-common_files += "${systemd_unitdir}/system/display-manager.path"
weston-common_files += "${sysconfdir}/sysconfig/*"
weston-common_files += "${prefix}/lib/tmpfiles.d/weston.conf"
-weston-common_files += "${systemd_unitdir}/user/weston-user.service"
+weston-common_files += "${prefix}/lib/systemd/user/weston-user.service"
weston-common_files += "${sysconfdir}/profile.d/*"
weston-common_files += "${sysconfdir}/udev/rules.d/*"
weston-common_files += "${prefix}/share/applications/*.desktop"
mkdir -p ${D}
- install -d ${D}${systemd_unitdir}/user/weston.target.wants
- install -m 644 weston.service ${D}${systemd_unitdir}/user/weston.service
- ln -sf ../weston.service ${D}/${systemd_unitdir}/user/weston.target.wants/
+ install -d ${D}${prefix}/lib/systemd/user/weston.target.wants
+ install -m 644 weston.service ${D}${prefix}/lib/systemd/user/weston.service
+ ln -sf ../weston.service ${D}/${prefix}/lib/systemd/user/weston.target.wants/
mkdir -p ${D}${sysconfdir}/profile.d/
install -m 0644 weston.sh ${D}${sysconfdir}/profile.d/
#!/bin/sh -e
ln -s ${sysconfdir}/xdg/weston/weston-modello.ini ${sysconfdir}/xdg/weston/weston.ini
- sed -i 's/ --current-mode//' ${systemd_unitdir}/user/weston.service
+ sed -i 's/ --current-mode//' $D${prefix}/lib/systemd/user/weston.service
}
#!/bin/sh -e
rm ${sysconfdir}/xdg/weston/weston.ini
- sed -i 's/\(^ExecStart.*\)/\1 --current-mode/' ${systemd_unitdir}/user/weston.service
+ sed -i 's/\(^ExecStart.*\)/\1 --current-mode/' $D${prefix}/lib/systemd/user/weston.service
}
MANIFESTFILES_${PN}-config = "weston-ivi.manifest"
weston-ivi_files = ""
-weston-ivi_files += "${systemd_unitdir}/user/weston.service"
-weston-ivi_files += "${systemd_unitdir}/user/weston.target.wants/weston.service"
+weston-ivi_files += "${prefix}/lib/systemd/user/weston.service"
+weston-ivi_files += "${prefix}/lib/systemd/user/weston.target.wants/weston.service"
weston-ivi_files += "${sysconfdir}/profile.d/*"
CONFFILES_${PN} = ""
CONFFILES_${PN} += "${sysconfdir}/profile.d/*"
install -m 755 weston-fullscreen ${D}${prefix}/bin
- install -d ${D}${systemd_unitdir}/user
- install -m 644 ${S}/packaging/weston.target ${D}${systemd_unitdir}/user/weston.target
+ install -d ${D}${prefix}/lib/systemd/user
+ install -m 644 ${S}/packaging/weston.target ${D}${prefix}/lib/systemd/user/weston.target
# The weston.service unit file must be provided by the weston-startup
# virtual package, i.e. "Provide: weston-startup". The weston-startup
# virtual package requirement is intended to force Tizen profile
weston_files += "${prefix}/lib/weston/wayland-backend.so"
weston_files += "${prefix}/lib/weston/gl-renderer.so"
weston_files += "${prefix}/share/weston"
-weston_files += "${systemd_unitdir}/user/weston.target"
+weston_files += "${prefix}/lib/systemd/user/weston.target"
MANIFESTFILES_${PN} = "weston.manifest"
weston-clients_files = ""
#!/bin/sh -e
# setup xwalk preinstall service (inside user session)
- mkdir -p $D${systemd_unitdir}/user/default.target.wants/
- ln -sf ../xwalk_widgets_preinstall.service $D${systemd_unitdir}/user/default.target.wants/
+ mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/
+ ln -sf ../xwalk_widgets_preinstall.service $D${prefix}/lib/systemd/user/default.target.wants/
}
\ No newline at end of file
cp install.conf ${D}/${prefix}/share/widget_demo/
# install xwalk preinstall service in user session
- mkdir -p ${D}${systemd_unitdir}/user
- install -m 644 xwalk_widgets_preinstall.service ${D}${systemd_unitdir}/user/
+ mkdir -p ${D}${prefix}/lib/systemd/user
+ install -m 644 xwalk_widgets_preinstall.service ${D}${prefix}/lib/systemd/user/
}
#!/bin/sh -e
# setup xwalk preinstall service (inside user session)
- mkdir -p ${systemd_unitdir}/user/default.target.wants/
- ln -sf ../xwalk_widgets_preinstall.service ${systemd_unitdir}/user/default.target.wants/
+ mkdir -p $D${prefix}/lib/systemd/user/default.target.wants/
+ ln -sf ../xwalk_widgets_preinstall.service $D${prefix}/lib/systemd/user/default.target.wants/
}
pkg_postrm_${PN}() {
#!/bin/sh -e
- rm -f ${systemd_unitdir}/user/default.target.wants/xwalk_widgets_preinstall.service
+ rm -f $D${prefix}/lib/systemd/user/default.target.wants/xwalk_widgets_preinstall.service
}
wrt-widgets_files += "${prefix}/share/widget_demo/*"
wrt-widgets_files += "${prefix}/bin/install_widgets.sh"
wrt-widgets_files += "${prefix}/bin/prepare_widgets.sh"
-wrt-widgets_files += "${systemd_unitdir}/user/xwalk_widgets_preinstall.service"
+wrt-widgets_files += "${prefix}/lib/systemd/user/xwalk_widgets_preinstall.service"
MANIFESTFILES_${PN} = "wrt-widgets.manifest"
FILES_${PN} = "${wrt-widgets_files}"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/profile/common/wrt-widgets;tag=e84337cd05c5879886ab5a87ef68c500d64cbab7;nobranch=1"
+SRC_URI += "git://review.tizen.org/profile/common/wrt-widgets;tag=b7c5bf1ce8f51ad5ca50ba93e612579b2d451ecd;nobranch=1"
BBCLASSEXTEND += " native "