Comments (10)
You were almost there, it seems.
First of all, I ran git fetch --all && git rebase origin/master
to update the branch.
Then, I noticed you didn't include the architecture fix snippet we use elsewhere. Since we build RPMs on a Debian system, we need to inform CPack about the right architecture. It doesn't seem very straightforward, but it seems that if that architecture is set to an invalid or empty value, a source package will be built.
# allow building RPM packages on non-RPM systems
if(DEFINED ENV{ARCH})
set(CPACK_RPM_PACKAGE_ARCHITECTURE $ENV{ARCH})
if(CPACK_RPM_PACKAGE_ARCHITECTURE MATCHES "i686")
set(CPACK_RPM_PACKAGE_ARCHITECTURE "i386")
elseif(CPACK_RPM_PACKAGE_ARCHITECTURE MATCHES "amd64")
set(CPACK_RPM_PACKAGE_ARCHITECTURE "x86_64")
endif()
endif()
Then, I moved the include(CPack)
at the end of both cmake/cpack_{rpms,debs}.cmake
files into the main CMake file (below the two include()
s), as CPack doesn't like to be included more than once (there's a warning in the output, we had the same issue in AppImageLauncher).
If you want to, I can force-push to your branch.
from appimaged.
Not entirely sure what you're doing on that other branch, but it's clearly not a fork of the master branch. It still contains a submodule on AppImageKit?!
from appimaged.
If you want to, I can force-push to your branch.
Yes, please do. Does it upload a rpm?
from appimaged.
Thanks @TheAssassin, however we are still getting an error:
https://travis-ci.org/AppImage/appimaged/jobs/453558440#L3743
Travis CI still shows "green", even tough upload.sh was not successful.
from appimaged.
Travis CI still shows "green", even tough upload.sh was not successful.
That's the issue with Travis CI. It's always been behaving like that. Real CI servers have different states for this.
from appimaged.
Easy fix: Don't put stuff into after_success
but put it in script
.
from appimaged.
Travis should simply introduce a "yellow" state...
from appimaged.
True; wanna write a feature request?
from appimaged.
No, I'd rather switch to a real CI system that provides some real features...
from appimaged.
Closed by #27.
from appimaged.
Related Issues (20)
- How to use right click update correctly HOT 4
- AppImage failed to load if using appimaged firejail integrated launchers HOT 2
- Not running from within an AppImage. This binary cannot be installed in this way. HOT 5
- Can I skip Downloads from monitored directories? HOT 3
- Is there a managed way to add the appimage to autostart on ubuntu 19.xx HOT 1
- [feature request] Support for runit (non-systemd init) HOT 2
- Can't install RPM due to conflict with hicolor-icon-theme HOT 9
- can i port .dmg to appimage HOT 1
- Failed to change to directory "~" (no such file or directory) HOT 1
- filename + version.... HOT 1
- Appimaged marked as "deprecated"
- I can't install it HOT 1
- snipped
- appimaged-x86_64.AppImage could not be executed HOT 1
- Tagged Releases HOT 4
- Question about a sensitive bug in appimaged HOT 1
- AppImageLauncher HOT 1
- Provide binaries for ARM HOT 2
- $HOME/Applications not monitored HOT 2
- can appimage be used to install appimaged to systemd HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appimaged.