burrow-pi-img/stage3/02-desktop/03-run.sh

13 lines
527 B
Bash
Raw Normal View History

# Do mixxx stuff like copy the udev rules and config file
mkdir -p -m 644 ${ROOTFS_DIR}/home/pi/.mixxx
install -m 644 files/mixxx.cfg ${ROOTFS_DIR}/home/pi/.mixxx/mixxx.cfg
install -m 440 files/udev.mixxx ${ROOTFS_DIR}/etc/udev/rules.d/69-mixxx-usb-uaccess.rules
2020-07-28 01:08:56 +00:00
on_chroot << EOF
chown -R pi:root /home/pi/.mixxx
EOF
# 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