Sfoglia il codice sorgente

Fix permissions and desktop shortcut.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 anni fa
parent
commit
643f14b42f
1 ha cambiato i file con 5 aggiunte e 5 eliminazioni
  1. +5
    -5
      builder/stage4/04-pisdr-system/02-run.sh

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

@@ -1,9 +1,9 @@
#!/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

Caricamento…
Annulla
Salva