Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix building on distros that already use xbps #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Stargirl-chan
Copy link
Contributor

Please note that this PR depends on the following: iglunix/iglupkg#2

Every time the iglu.sh script is invoked to install packages, we now pass the desired architecture to the script.
This circumvents running into an mismatched arch error if your distro already uses xbps.

Example: host xbps is x86_64, but packages are built for x86_64-musl. This causes xbps-rindex to fail due to a architecture mismatch.

autobuild-ng.sh Outdated
@@ -2,8 +2,10 @@

if [ -z "$1" ]; then
export ARCH=x86_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i sholud probably change this to not be x86 but uname -m but later

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went ahead and added it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants