Realtime scheduling fix in security.conf
This commit is contained in:
parent
9ca0333bf4
commit
0f8007b3cd
|
@ -2,5 +2,5 @@ git
|
||||||
xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo xserver-xorg-legacy xscreensaver
|
xserver-xorg-video-fbdev xserver-xorg xinit xserver-xorg-video-fbturbo xserver-xorg-legacy xscreensaver
|
||||||
lxde lxtask menu-xdg # gksu
|
lxde lxtask menu-xdg # gksu
|
||||||
xdg-utils gvfs-backends gvfs-fuse
|
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
|
liblo7 liblo-dev libasound-dev libjack-jackd2-dev
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Enable ssh.
|
# Enable ssh.
|
||||||
touch ${ROOTFS_DIR}/boot/ssh
|
touch ${ROOTFS_DIR}/boot/ssh
|
||||||
|
|
||||||
# Boot to gui by default
|
# Boot to graphical by default
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
systemctl set-default graphical.target
|
systemctl set-default graphical.target
|
||||||
ln -fs /lib/systemd/system/getty@.service /etc/systemd/system/getty.target.wants/getty@tty1.service
|
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
|
install -m 644 files/autologin.conf ${ROOTFS_DIR}/etc/systemd/system/getty@tty1.service.d/autologin.conf
|
||||||
|
|
||||||
|
|
||||||
# Set up sudoers.d for user patch
|
# Set up sudoers.d for user patch
|
||||||
rm -f ${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd
|
rm -f ${ROOTFS_DIR}/etc/sudoers.d/010_pi-nopasswd
|
||||||
install -m 440 files/010_pi-nopasswd ${ROOTFS_DIR}/etc/sudoers.d/
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user