Commit 9bc03de2 authored by Florent Revest's avatar Florent Revest

android-init, asteroid-launcher, glacier-home: install .service in...

android-init, asteroid-launcher, glacier-home: install .service in /lib/systemd/system instead of /etc/systemd/system
parent ac707502
......@@ -9,9 +9,9 @@ S = "${WORKDIR}"
do_install() {
install -m 0644 ${WORKDIR}/init.rc ${D}/init.rc
install -d ${D}/etc/systemd/system/multi-user.target.wants/
cp ${WORKDIR}/android-init.service ${D}/etc/systemd/system/
ln -s ../android-init.service ${D}/etc/systemd/system/multi-user.target.wants/android-init.service
install -d ${D}/lib/systemd/system/multi-user.target.wants/
cp ${WORKDIR}/android-init.service ${D}/lib/systemd/system/
ln -s ../android-init.service ${D}/lib/systemd/system/multi-user.target.wants/android-init.service
}
FILES_${PN} += "/init.rc"
FILES_${PN} += "/init.rc /lib/systemd/system/"
......@@ -14,14 +14,14 @@ inherit qmake5
DEPENDS += "lipstick"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qtquickcontrols-qmlplugins qtquickcontrols-nemo qtwayland-plugins qtgraphicaleffects-qmlplugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration nemo-theme-glacier libconnman-qt libqofono xkeyboard-config ttf-opensans"
FILES_${PN} += "/usr/share/lipstick-glacier-home-qt5"
FILES_${PN} += "/usr/share/asteroid-launcher/ /lib/systemd/system"
do_install_append() {
install -d ${D}/var/lib/environment/compositor/
cp ../default.conf ${D}/var/lib/environment/compositor/
# TODO: This should definitely be run as a simple user !!
install -d ${D}/etc/systemd/system/multi-user.target.wants/
cp ../asteroid-launcher.service ${D}/etc/systemd/system/
ln -s ../asteroid-launcher.service ${D}/etc/systemd/system/multi-user.target.wants/asteroid-launcher.service
install -d ${D}/lib/systemd/system/multi-user.target.wants/
cp ../asteroid-launcher.service ${D}/lib/systemd/system/
ln -s ../asteroid-launcher.service ${D}/lib/systemd/system/multi-user.target.wants/asteroid-launcher.service
}
......@@ -14,14 +14,14 @@ inherit qmake5
DEPENDS += "lipstick"
RDEPENDS_${PN} += "qtdeclarative-qmlplugins qtquickcontrols-qmlplugins qtquickcontrols-nemo qtwayland-plugins qtgraphicaleffects-qmlplugins nemo-qml-plugin-time nemo-qml-plugin-contextkit nemo-qml-plugin-configuration nemo-theme-glacier libconnman-qt libqofono xkeyboard-config ttf-opensans"
FILES_${PN} += "/usr/share/lipstick-glacier-home-qt5"
FILES_${PN} += "/usr/share/lipstick-glacier-home-qt5 /lib/systemd/system"
do_install_append() {
install -d ${D}/var/lib/environment/compositor/
cp ../default.conf ${D}/var/lib/environment/compositor/
# TODO: This should definitely be run as a simple user !!
install -d ${D}/etc/systemd/system/multi-user.target.wants/
cp ../lipstick.service ${D}/etc/systemd/system/
ln -s ../lipstick.service ${D}/etc/systemd/system/multi-user.target.wants/lipstick.service
install -d ${D}/lib/systemd/system/multi-user.target.wants/
cp ../lipstick.service ${D}/lib/systemd/system/
ln -s ../lipstick.service ${D}/lib/systemd/system/multi-user.target.wants/lipstick.service
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment