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

15 lines
562 B
Bash
Raw Normal View History

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