burrow-pi-img/stage3/02-desktop/03-run.sh
2020-07-28 03:41:59 +01:00

15 lines
562 B
Bash
Executable File

# Do mixxx stuff like copy the udev rules and config file
mkdir -p -m 755 ${ROOTFS_DIR}/home/pi/.mixxx
install -m 755 files/mixxx.cfg ${ROOTFS_DIR}/home/pi/.mixxx/mixxx.cfg
on_chroot << EOF
chown -R pi:root /home/pi/.mixxx
chmod -R 755 /home/pi/.mixxx/
EOF
install -m 644 files/udev.mixxx ${ROOTFS_DIR}/etc/udev/rules.d/69-mixxx-usb-uaccess.rules
# USB Mount
mkdir -m 644 ${ROOTFS_DIR}/etc/systemd/system/systemd-udevd.service.d
install -m 644 files/00-usbmountflags.conf ${ROOTFS_DIR}/etc/systemd/system/systemd-udevd.service.d/00-usbmountflags.conf