Commit dc5e3402 authored by Florent Revest's avatar Florent Revest

systemd: Install logind.conf as part of systemd-conf

parent 2cf04aa2
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://logind.conf"
do_install_append() {
install -m 0644 ${WORKDIR}/logind.conf ${D}/etc/systemd/logind.conf
}
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://50-video.rules \ SRC_URI_append = " file://50-video.rules \
file://65-android.rules \ file://65-android.rules \
file://logind.conf \
file://0001-Hardcode-the-firmware-path-value-which-can-not-be-se.patch" file://0001-Hardcode-the-firmware-path-value-which-can-not-be-se.patch"
do_install_append() { do_install_append() {
...@@ -13,8 +12,6 @@ do_install_append() { ...@@ -13,8 +12,6 @@ do_install_append() {
install -d ${D}/var/lib/systemd/linger install -d ${D}/var/lib/systemd/linger
touch ${D}/var/lib/systemd/linger/ceres touch ${D}/var/lib/systemd/linger/ceres
sed -i "s@agetty --noclear @agetty --autologin ceres @" ${D}/lib/systemd/system/getty@.service sed -i "s@agetty --noclear @agetty --autologin ceres @" ${D}/lib/systemd/system/getty@.service
install -m 0644 ${WORKDIR}/logind.conf ${D}/etc/systemd/logind.conf
} }
PACKAGECONFIG_append += "pam" PACKAGECONFIG_append += "pam"
......
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