Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 847995d

Browse files
committed
Build specified initramfs image if it doesn't exists
1 parent 19ade37 commit 847995d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"BigRedButton": "scripts/BigRedButton",
77
"build": "scripts/build",
8-
"install": "prebuild-install -d https://github.com/NodeOS/nodeos-initramfs/releases/download/v{version}/{platform}-{arch}.tar.gz || (buildDependencies && npm run build)",
8+
"install": "(prebuild-install -d https://github.com/NodeOS/nodeos-initramfs/releases/download/v{version}/{platform}-{arch}.tar.gz && scripts/checkOut) || (buildDependencies && npm run build)",
99
"start": "scripts/start",
1010
"postinstall": "scripts/postinstall",
1111
"pretest": "scripts/pretest",

‎scripts/checkOut

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/env bash
2+
3+
set -o pipefail
4+
5+
TOOLCHAIN=`node -p "require('nodeos-cross-toolchain')"` &&
6+
source $TOOLCHAIN/scripts/adjustEnvVars.sh || exit $?
7+
8+
test -f out/$CPU-${SINGLE_USER-"nodeos-boot-multiUser"}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /