mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 06:19:44 +00:00
Update compatibility image (#440)
* backup create compiling * backup restore compiling * wip * wip * backups compiling * wip * wip update set result * fix config set * wip remove async * make synchronous * add build steps * remove tokio * add restore subcommand * fix set to read stdin * add package properties key * proper error handle * create config path if it doesnt exist * fix merge conflict * make config a path and koin config file when needed * update cargo lock * fix cargo lock * update properties sub command * fix dependency check and auto configure; clean up error handling * fix errors * fix properties subcommand order * fix cargo lock * update cargo.lock * update appmgr cargo lock with build-portable * fix error strings and input dependency config in dependency commands * rename temp file instead * read dependent config file * fix temp config file creation * create config file regardless if it exists * add curl * wip refactor config * wip refactor config * update rules to use embassyos config type Co-authored-by: Chris Guida <chrisguida@gmail.com>
This commit is contained in:
15
compat/build.sh
Executable file
15
compat/build.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
shopt -s expand_aliases
|
||||
|
||||
if [ "$0" != "./build.sh" ]; then
|
||||
>&2 echo "Must be run from compat directory"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
alias 'rust-musl-builder'='docker run --rm -it -v "$HOME"/.cargo/registry:/root/.cargo/registry -v "$(pwd)":/home/rust/src start9/rust-musl-cross:aarch64-musl'
|
||||
|
||||
cd ../..
|
||||
rust-musl-builder sh -c "(cd embassy-os/compat && cargo +beta build --release --target=aarch64-unknown-linux-musl --no-default-features)"
|
||||
cd embassy-os/compat
|
||||
Reference in New Issue
Block a user