Accepting request 1088528 from home:dmach:branches:openSUSE:Tools
Fix building AppImage: - change shebang from /usr/bin/env python3 to /usr/bin/python3 to use the interpreter from the image - also update packages to list all obs services and scm-bridge OBS-URL: https://build.opensuse.org/request/show/1088528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=401
This commit is contained in:
parent
74761bc601
commit
9f0b78817f
15
appimage.yml
15
appimage.yml
@ -8,11 +8,14 @@ ingredients:
|
|||||||
packages:
|
packages:
|
||||||
- build
|
- build
|
||||||
- osc
|
- osc
|
||||||
- python-yaml
|
- obs-scm-bridge
|
||||||
|
- obs-service-download_files
|
||||||
|
- obs-service-format_spec_file
|
||||||
- obs-service-obs_scm
|
- obs-service-obs_scm
|
||||||
- obs-service-tar_scm
|
|
||||||
- obs-service-set_version
|
|
||||||
- obs-service-recompress
|
- obs-service-recompress
|
||||||
|
- obs-service-set_version
|
||||||
|
- obs-service-tar_scm
|
||||||
|
- obs-service-verify_file
|
||||||
- openSUSE-release
|
- openSUSE-release
|
||||||
- openSUSE-release-ftp
|
- openSUSE-release-ftp
|
||||||
- rsync
|
- rsync
|
||||||
@ -27,7 +30,7 @@ script:
|
|||||||
- echo "Icon=appimage" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
- echo "Icon=appimage" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
- echo "Categories=Development" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
- echo "Categories=Development" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
- echo "Type=Application" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
- echo "Type=Application" >> $BUILD_APPDIR/usr/share/applications/osc.desktop
|
||||||
# - sed -i -e 's,^#!/usr/bin/python,#!/usr/bin/env python,' $BUILD_APPDIR/usr/bin/osc
|
# /usr/bin/python3 would run system python3 with libs from the appimage
|
||||||
|
# while /usr/bin/env python3 uses the correct binary from the appimage
|
||||||
|
- sed -i -e 's,^#!/usr/bin/python3,#!/usr/bin/env python3,' $BUILD_APPDIR/usr/bin/osc
|
||||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
|
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=2
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user