mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-07-31 05:00:42 +02:00
add settings to enable readonly fs
This commit is contained in:
4
recipes-extended/sudo/sudo_%.bbappend
Normal file
4
recipes-extended/sudo/sudo_%.bbappend
Normal file
@ -0,0 +1,4 @@
|
||||
do_install:append() {
|
||||
# grant all permission to sudo group
|
||||
sed -i 's/^#\s*\(%sudo\s*ALL=(ALL:ALL)\s*ALL\)/\1/' ${D}/${sysconfdir}/sudoers
|
||||
}
|
Reference in New Issue
Block a user