diff --git a/stage3/01-install-packages/00-packages-nr b/stage3/01-install-packages/00-packages-nr index 333655c..7bbc9e1 100644 --- a/stage3/01-install-packages/00-packages-nr +++ b/stage3/01-install-packages/00-packages-nr @@ -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 diff --git a/stage3/02-tweaks/01-run.sh b/stage3/02-tweaks/01-run.sh index 2779683..684f4ee 100755 --- a/stage3/02-tweaks/01-run.sh +++ b/stage3/02-tweaks/01-run.sh @@ -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