Fixed UDSClientDir to /tmp (BTW, appimage-builder does not work on btrfs with compressed files due to squashfs)

This commit is contained in:
Adolfo Gómez García 2021-06-17 11:14:05 +02:00
parent 7f4e7e3309
commit 0b3bcbc63d

View File

@ -1,17 +1,17 @@
version: 1 version: 1
script: script:
# Remove any previous build # Remove any previous build
- rm -rf UDSClientDir | true - rm -rf /tmp/UDSClientDir | true
# Make usr and icons dirs # Make usr and icons dirs
- mkdir -p UDSClientDir/usr/src - mkdir -p /tmp/UDSClientDir/usr/src
# Copy the python application code into the UDSClientDir # Copy the python application code into the UDSClientDir
- cp ../src/UDS*.py UDSClientDir/usr/src - cp ../src/UDS*.py /tmp/UDSClientDir/usr/src
- cp -r ../src/uds UDSClientDir/usr/src - cp -r ../src/uds /tmp/UDSClientDir/usr/src
# Remove __pycache__ and .mypy if exists # Remove __pycache__ and .mypy if exists
- rm UDSClientDir/usr/src/.mypy_cache -rf 2>&1 > /dev/null - rm /tmp/UDSClientDir/usr/src/.mypy_cache -rf 2>&1 > /dev/null
- rm UDSClientDir/usr/src/uds/.mypy_cache -rf 2>&1 > /dev/null - rm /tmp/UDSClientDir/usr/src/uds/.mypy_cache -rf 2>&1 > /dev/null
- rm UDSClientDir/usr/src/__pycache__ -rf 2>&1 > /dev/null - rm /tmp/UDSClientDir/usr/src/__pycache__ -rf 2>&1 > /dev/null
- rm UDSClientDir/usr/src/uds/__pycache__ -rf 2>&1 > /dev/null - rm /tmp/UDSClientDir/usr/src/uds/__pycache__ -rf 2>&1 > /dev/null
AppDir: AppDir:
# On /tmp, that is an ext4 filesystem. On btrfs squashfs complains with "Unrecognised xattr prefix btrfs.compression" # On /tmp, that is an ext4 filesystem. On btrfs squashfs complains with "Unrecognised xattr prefix btrfs.compression"