mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2025-12-24 05:56:24 +01: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