瀏覽代碼

Fix permissions and desktop shortcut.

tags/v4.0.0-beta.1
Luigi Freitas Cruz 4 年之前
父節點
當前提交
643f14b42f
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      builder/stage4/04-pisdr-system/02-run.sh

+ 5
- 5
builder/stage4/04-pisdr-system/02-run.sh 查看文件

@@ -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…
取消
儲存