Realtime scheduling fix in security.conf

pull/436/head
Fayaaz 2020-07-27 02:16:53 +01:00
parent 9ca0333bf4
commit 0f8007b3cd
2 changed files with 6 additions and 2 deletions

View File

@ -2,5 +2,5 @@ git
xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo xserver-xorg-legacy xscreensaver
lxde lxtask menu-xdg # gksu
xdg-utils gvfs-backends gvfs-fuse
lightdm gnome-themes-standard-data gnome-icon-theme i3 i3status
lightdm gnome-themes-standard-data gnome-icon-theme
liblo7 liblo-dev libasound-dev libjack-jackd2-dev

View File

@ -1,7 +1,7 @@
# Enable ssh.
touch ${ROOTFS_DIR}/boot/ssh
# Boot to gui by default
# Boot to graphical by default
on_chroot << EOF
systemctl set-default graphical.target
ln -fs /lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty1.service
@ -9,6 +9,10 @@ EOF
install -m 644 files/autologin.conf ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/autologin.conf
# Set up sudoers.d for user patch
rm -f ${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd
install -m 440 files/010_pi-nopasswd ${ROOTFS_DIR}/etc/sudoers.d/
echo @audio - memlock 256000 >> ${ROOTFS_DIR}/etc/security/limits.conf
echo @audio - rtprio 75 >> ${ROOTFS_DIR}/etc/security/limits.conf