Browse Source

Fix permissions and desktop shortcut.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 years ago
parent
commit
643f14b42f
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      builder/stage4/04-pisdr-system/02-run.sh

+ 5
- 5
builder/stage4/04-pisdr-system/02-run.sh View File

@@ -1,9 +1,9 @@
#!/bin/bash -e #!/bin/bash -e


on_chroot << EOF
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR"
ln -sf "/home/${FIRST_USER_NAME}/PiSDR" PiSDR
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Software"
install -v -o 1000 -g 1000 -d "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/PiSDR/Radios/"


mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Software"
mkdir -p "/home/${FIRST_USER_NAME}/PiSDR/Radios"
on_chroot << EOF
ln -sf "/home/${FIRST_USER_NAME}/PiSDR" "/home/${FIRST_USER_NAME}/Desktop/PiSDR"
EOF EOF

Loading…
Cancel
Save