Add support for non-x86 hosts

This commit is contained in:
uuuvn 2023-06-06 14:20:02 +00:00
parent 417c417588
commit 28268bf703
No known key found for this signature in database
3 changed files with 13 additions and 8 deletions

View file

@ -12,7 +12,7 @@ REPOS=(
rust=rust
)
for package in $(installer/target/release/redox_installer --list-packages -c config/x86_64/desktop.toml)
for package in $(installer/target/release/redox_installer --list-packages -c config/$(uname -m)/desktop.toml)
do
REPOS+=("${package}=cookbook/recipes/${package}/source")
done

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# Ensure arch and config are set as desired, we use these to find the build dir
export ARCH=x86_64
export ARCH=$(uname -m)
export CONFIG_NAME=desktop
# Make sure to unmount the image first