forked from shaba/openuds
Fixed UDSClientDir to /tmp (BTW, appimage-builder does not work on btrfs with compressed files due to squashfs)
This commit is contained in:
parent
7f4e7e3309
commit
0b3bcbc63d
@ -1,17 +1,17 @@
|
||||
version: 1
|
||||
script:
|
||||
# Remove any previous build
|
||||
- rm -rf UDSClientDir | true
|
||||
- rm -rf /tmp/UDSClientDir | true
|
||||
# Make usr and icons dirs
|
||||
- mkdir -p UDSClientDir/usr/src
|
||||
- mkdir -p /tmp/UDSClientDir/usr/src
|
||||
# Copy the python application code into the UDSClientDir
|
||||
- cp ../src/UDS*.py UDSClientDir/usr/src
|
||||
- cp -r ../src/uds UDSClientDir/usr/src
|
||||
- cp ../src/UDS*.py /tmp/UDSClientDir/usr/src
|
||||
- cp -r ../src/uds /tmp/UDSClientDir/usr/src
|
||||
# Remove __pycache__ and .mypy if exists
|
||||
- rm UDSClientDir/usr/src/.mypy_cache -rf 2>&1 > /dev/null
|
||||
- rm UDSClientDir/usr/src/uds/.mypy_cache -rf 2>&1 > /dev/null
|
||||
- rm 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/.mypy_cache -rf 2>&1 > /dev/null
|
||||
- rm /tmp/UDSClientDir/usr/src/uds/.mypy_cache -rf 2>&1 > /dev/null
|
||||
- rm /tmp/UDSClientDir/usr/src/__pycache__ -rf 2>&1 > /dev/null
|
||||
- rm /tmp/UDSClientDir/usr/src/uds/__pycache__ -rf 2>&1 > /dev/null
|
||||
|
||||
AppDir:
|
||||
# On /tmp, that is an ext4 filesystem. On btrfs squashfs complains with "Unrecognised xattr prefix btrfs.compression"
|
||||
|
Loading…
Reference in New Issue
Block a user