Realtime scheduling fix in security.conf
This commit is contained in:
@@ -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/[email protected] /etc/systemd/system/getty.target.wants/[email protected]
|
||||
@@ -9,6 +9,10 @@ EOF
|
||||
|
||||
install -m 644 files/autologin.conf ${ROOTFS_DIR}/etc/systemd/system/[email protected]/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
|
||||
|
||||
Reference in New Issue
Block a user