mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-04-30 03:16:44 +02:00
Compare commits
2 Commits
a44cf639b6
...
78a6473a6f
Author | SHA1 | Date | |
---|---|---|---|
|
78a6473a6f | ||
|
07a057d7b3 |
@ -4,6 +4,6 @@ do_install:append() {
|
||||
# allow sudo group to power off/reboot system without password
|
||||
cat << EOF >> ${D}/${sysconfdir}/sudoers
|
||||
## sudo user group is allowed to execute halt and reboot
|
||||
%sudo ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
|
||||
%sudo ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff, /usr/bin/swaylock
|
||||
EOF
|
||||
}
|
20
recipes-support/wlopm/wlopm_git.bb
Normal file
20
recipes-support/wlopm/wlopm_git.bb
Normal file
@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "wlopm"
|
||||
|
||||
LICENSE = ""GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-3.0-only;md5=c79ff39f19dfec6d293b95dea7b07891"
|
||||
|
||||
|
||||
SRCREV = "${AUTOREV}"
|
||||
|
||||
SRC_URI = "https://git.iohub.dev/dany/wlopm.git;branch=master;"
|
||||
|
||||
|
||||
S="${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake -C make/linux
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR='${D}'
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user