Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
meta-seco-clea-os-embedded
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
layers
seco
meta-seco-clea-os-embedded
Commits
b5a5f4b6
Commit
b5a5f4b6
authored
Mar 16, 2023
by
Davide Cardillo
Browse files
Options
Downloads
Patches
Plain Diff
[WESTON-INIT] Fix weston.service using root user
FIXME: weston should be run as weston, not as root
parent
a5687e77
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!10
Draft: [WESTON-INIT] Fix weston.service using root user
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-graphics/wayland/weston-init.bbappend
+13
-0
13 additions, 0 deletions
recipes-graphics/wayland/weston-init.bbappend
with
13 additions
and
0 deletions
recipes-graphics/wayland/weston-init.bbappend
0 → 100644
+
13
−
0
View file @
b5a5f4b6
update_file() {
if ! grep -q "$1" $3; then
bbfatal $1 not found in $3
fi
sed -i -e "s,$1,$2," $3
}
do_install:append() {
# FIXME: weston should be run as weston, not as root
update_file "User=weston" "User=root" ${D}${systemd_system_unitdir}/weston.service
update_file "Group=weston" "Group=root" ${D}${systemd_system_unitdir}/weston.service
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment