mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* wip * wip * wip * wip * wip * wip * remove debian dir * lazy env and git hash * remove env and git hash on clean * don't leave project dir * use docker for native builds * start9 rust * correctly mount registry * remove systemd config * switch to /usr/bin * disable sound for now * wip * change disk list * multi-arch images * multi-arch system images * default aarch64 * edition 2021 * dynamic wifi interface name * use wifi interface from config * bugfixes * add beep based sound * wip * wip * wip * separate out raspberry pi specific files * fixes * use new initramfs always * switch journald conf to sed script * fixes * fix permissions * talking about kernel modules not scripts * fix * fix * switch to MBR * install to /usr/lib * fixes * fixes * fixes * fixes * add media config to cfg path * fixes * fixes * fixes * raspi image fixes * fix test * fix workflow * sync boot partition * gahhhhh
18 lines
708 B
Bash
Executable File
18 lines
708 B
Bash
Executable File
#!/bin/bash
|
|
# Reason for this being is that we need to create a snapshot for the deno runtime. It wants to pull 3 files from build, and during the creation it gets embedded, but for some
|
|
# reason during the actual runtime it is looking for them. So this will create a docker in arm that creates the snaphot needed for the arm
|
|
set -e
|
|
|
|
if [ "$0" != "./build-v8-snapshot.sh" ]; then
|
|
>&2 echo "Must be run from backend/workspace directory"
|
|
exit 1
|
|
fi
|
|
|
|
echo "Creating v8 Snapshot"
|
|
cargo run -p snapshot-creator --release
|
|
sudo chown -R $USER target
|
|
sudo chown -R $USER ~/.cargo
|
|
sudo chown $USER JS_SNAPSHOT.bin
|
|
sudo chmod 0644 JS_SNAPSHOT.bin
|
|
|
|
sudo mv -f JS_SNAPSHOT.bin ./js_engine/src/artifacts/JS_SNAPSHOT.bin |