unstable flag

This commit is contained in:
Aiden McClelland
2021-12-27 17:41:35 -07:00
committed by Aiden McClelland
parent ec17059784
commit be98fdfeed
3 changed files with 7 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ avahi = ["avahi-sys"]
default = ["avahi", "sound", "metal"]
metal = []
sound = []
unstable = ["patch-db/unstable"]
[dependencies]
aes = { version = "0.7.5", features = ["ctr"] }

View File

@@ -11,6 +11,10 @@ fi
alias 'rust-arm64-builder'='docker run --rm -it -v "$HOME/.cargo/registry":/root/.cargo/registry -v "$(pwd)":/home/rust/src start9/rust-arm-cross:aarch64'
cd ..
if [[ "$ENVIRONMENT" =~ (^|-)unstable($|-) ]]; then
rust-arm64-builder sh -c "(cd appmgr && cargo build --release --features unstable)"
else
rust-arm64-builder sh -c "(cd appmgr && cargo build --release)"
fi
cd appmgr
#rust-arm64-builder aarch64-linux-gnu-strip target/aarch64-unknown-linux-gnu/release/embassyd

View File

@@ -64,7 +64,7 @@ sudo cp -R diagnostic-ui/www /tmp/eos-mnt/var/www/html/diagnostic
# Make the .ssh directory
sudo mkdir -p /tmp/eos-mnt/root/.ssh
if [ "$ENVIRONMENT" = "dev" ]; then
if [[ "$ENVIRONMENT" =~ (^|-)dev($|-) ]]; then
cat ./build/initialization.sh | grep -v "passwd -l ubuntu" | sudo tee /tmp/eos-mnt/usr/local/bin/initialization.sh > /dev/null
sudo chmod +x /tmp/eos-mnt/usr/local/bin/initialization.sh
else