From 8083b53f1212bd1d8be5048f020e2b8b791ec940 Mon Sep 17 00:00:00 2001 From: Fayaaz Date: Tue, 28 Jul 2020 03:09:10 +0100 Subject: [PATCH] Fix chmod of script and fix creating dirs --- stage3/02-desktop/02-run.sh | 3 +-- stage3/02-desktop/03-run.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 stage3/02-desktop/03-run.sh diff --git a/stage3/02-desktop/02-run.sh b/stage3/02-desktop/02-run.sh index 35f7efd..a528486 100755 --- a/stage3/02-desktop/02-run.sh +++ b/stage3/02-desktop/02-run.sh @@ -1,7 +1,6 @@ # Add i3 config file -mkdir -m 644 ${ROOTFS_DIR}/home/pi/.config/i3/ +mkdir -p -m 644 ${ROOTFS_DIR}/home/pi/.config/i3/ install -m 755 files/i3.conf ${ROOTFS_DIR}/home/pi/.config/i3/config on_chroot << EOF chown -R pi:root /home/pi/.config/i3/ EOF - diff --git a/stage3/02-desktop/03-run.sh b/stage3/02-desktop/03-run.sh old mode 100644 new mode 100755 index fc050a3..0cfd5d5 --- a/stage3/02-desktop/03-run.sh +++ b/stage3/02-desktop/03-run.sh @@ -1,4 +1,5 @@ # 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 on_chroot << EOF