Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stashed weston changes
Browse files Browse the repository at this point in the history
caila-marashaj committed Oct 27, 2023
1 parent d072193 commit a05f03a
Showing 2 changed files with 18 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# We really do want weston running in its own user. something is
# overriding these to be root for some reason, so over override them
[Service]
User=root
Group=root
WorkingDirectory=/home/root

[Unit]
Requires=create-home-weston.service
After=create-home-weston.service
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " file://manage-users.conf file://create-home-weston.service"

do_install:append() {
install -D -p -m0644 ${WORKDIR}/manage-users.conf ${D}${systemd_system_unitdir}/weston.service.d/manage-users.conf
install -D -p -m0644 ${WORKDIR}/create-home-weston.service ${D}${systemd_system_unitdir}/create-home-weston.service
}

FILES:${PN} += " ${systemd_system_unitdir}/weston.service.d ${systemd_system_unitdir}/weston.service.d/manage-users.conf ${systemd_system_unitdir}/create-home-weston.service"

0 comments on commit a05f03a

Please sign in to comment.