CI: Fix Python modules in AppImage
- set PYTHONPATH inside the AppImage so libcalamares is found - add Python module to the sample configuration - relax password requirements (while we're at it)
This commit is contained in:
parent
ed2f9b744d
commit
c9026b429d
@ -176,6 +176,7 @@ cat > "$IMAGE_DIR/usr/bin/calamares" <<"EOF"
|
||||
# Calamares proxy-script
|
||||
export XDG_DATA_DIRS="$APPDIR/usr/share/calamares:"
|
||||
export XDG_CONFIG_DIRS="$APPDIR/etc/calamares:$D/usr/share:"
|
||||
export PYTHONPATH=$APPDIR/usr/lib:
|
||||
cd "$APPDIR"
|
||||
exec "$APPDIR"/usr/bin/calamares.bin -X "$@"
|
||||
EOF
|
||||
|
@ -55,8 +55,5 @@ doReusePassword: true
|
||||
passwordRequirements:
|
||||
minLength: -1 # Password at least this many characters
|
||||
maxLength: -1 # Password at most this many characters
|
||||
libpwquality:
|
||||
- minlen=0
|
||||
- minclass=0
|
||||
|
||||
userShell: /bin/bash
|
||||
|
@ -19,6 +19,7 @@ sequence:
|
||||
- users
|
||||
- summary
|
||||
- exec:
|
||||
- dummypython
|
||||
- locale
|
||||
- keyboard
|
||||
- users
|
||||
|
Loading…
Reference in New Issue
Block a user