Preinstall appimage
hihi, so, i want to make an image to be used on callcenters, almost everything is packaged on fedora, but linphone-desktop is not, they only have debs and appimages, how could be the best way to preinstall it with bluebuild?
16 Replies
You would probably want to install it somewhere in like
/usr/libexec/
and then create a .desktop
file for it in /usr/share/applications/
you might be able to use gear lever to install and manage appimage updates https://github.com/mijorus/gearlever?tab=readme-ov-file#cli
GitHub
GitHub - mijorus/gearlever: Manage AppImages with ease 📦
Manage AppImages with ease 📦. Contribute to mijorus/gearlever development by creating an account on GitHub.
how would that work? would that allow me to pre install the app images?
i was thinking you could have some sort of systemd service that runs
flatpak run it.mijorus.gearlever --integrate <appimage>
on startup. Then gearlever would add the desktop file for you. But i think gmpinders idea is probably better if you're ok with hardcoding everythingthat was my first guess, but the appimage seems to be to big
at least for github web
oh rip. maybe you can fetch the appimage inside of a script while building?
a module with curl should work?
not sure, youd probably have to test it
i tried with:
- type: script
source: local
snippets:
- "curl https://download.linphone.org/releases/linux/app/Linphone-5.2.6.AppImage > /usr/libexec/linphone.AppImage"

but that didn't work u.u
maybe try putting it in a bash file
i added it on an sh file, but uhh, same result
yaml indentation looks incorrect here
there is no whitespace between
type:
& source:
& curl snippet isn't 2 whitespaces after snippets:
Check it with https://www.yamllint.com/
YAMLlint - The YAML Validator
Validate, Verify and Reformat your YAML documents, optimized for Ruby on Rails
Also, it's better to put AppImage in
/usr/libexec/linphone/linphone.AppImage
, so it has a dedicated folder in libexec.
Also chmod +x
it, so it's executable.
Full snippet with suggested improvements:
"curl https://download.linphone.org/releases/linux/app/Linphone-5.2.6.AppImage > /usr/libexec/linphone/linphone.AppImage && chmod +x /usr/libexec/linphone/linphone.AppImage"
thank you, that indeed work