mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-11-08 06:28:23 +01:00
add sudo support
This commit is contained in:
parent
226d43b8cc
commit
5ab57b8e5d
@ -8,7 +8,8 @@ EXTRA_USERS_PARAMS = "usermod -p BJpK8ADNDLsGg root; \
|
||||
usermod -a -G video diya; \
|
||||
usermod -a -G tty diya; \
|
||||
usermod -a -G input diya; \
|
||||
usermod -a -G dialout diya \
|
||||
usermod -a -G dialout diya; \
|
||||
usermod -a -G sudo diya \
|
||||
"
|
||||
IMAGE_BOOT_FILES:append = "fs_resize"
|
||||
|
||||
@ -20,10 +21,12 @@ IMAGE_INSTALL:append = "libcurl \
|
||||
libgl-mesa \
|
||||
libglapi \
|
||||
libudev \
|
||||
udev \
|
||||
glew \
|
||||
freetype \
|
||||
freeglut \
|
||||
mesa \
|
||||
sudo \
|
||||
libsdl2 \
|
||||
libsdl2-ttf \
|
||||
libsdl2-image \
|
||||
|
@ -84,10 +84,10 @@ int main( int argc, char** argv )
|
||||
running = false;
|
||||
break;
|
||||
case SDL_KEYDOWN:
|
||||
if(ev.key.keysym.sym == SDLK_ESCAPE)
|
||||
{
|
||||
running = false;
|
||||
}
|
||||
//if(ev.key.keysym.sym == SDLK_ESCAPE)
|
||||
//{
|
||||
running = false;
|
||||
//}
|
||||
break;
|
||||
case SDL_FINGERDOWN:
|
||||
case SDL_FINGERMOTION:
|
||||
|
@ -1,4 +1,4 @@
|
||||
DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 libudev "
|
||||
DEPENS += " mesa libdrm alsa virtual/libgbm virtual/libgles2 udev libudev "
|
||||
|
||||
PACKAGECONFIG = " kmsdrm opengl gles2 alsa libusb "
|
||||
# PACKAGECONFIG:remove = "x11 wayland"
|
Loading…
Reference in New Issue
Block a user