Skip to content

Commit

Permalink
Corrections after upstream update
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalCz committed Jan 24, 2024
1 parent 2d5d8e8 commit b9b50d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions export-image/prerun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ if [ "${NO_PRERUN_QCOW2}" = "0" ]; then
rsync -rtx "${EXPORT_ROOTFS_DIR}/boot/firmware/" "${ROOTFS_DIR}/boot/firmware/"

if [[ -d "${EXPORT_ROOTFS_DIR}/srv/sth" ]]; then
mkdir "${ROOTFS_DIR}/srv"
mkdir "${ROOTFS_DIR}/opt/sth/deploy"
mkdir -p "${ROOTFS_DIR}/srv"
mkdir -p "${ROOTFS_DIR}/opt/sth/deploy"

mount -v "$WORK_DEV" "${ROOTFS_DIR}/srv" -t ext4
mount -v "$DEPLOY_DEV" "${ROOTFS_DIR}/opt/sth/deploy" -t vfat
Expand Down
2 changes: 1 addition & 1 deletion stage99-sth/02-install-node/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ echo "Installing node.js $NODE_VERSION"

on_chroot << EOF
curl -sL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash -
sudo apt-get install -y nodejs jq python3-pip python-is-python3
sudo apt-get install -y nodejs jq python3-venv python3-pip python-is-python3
EOF
2 changes: 1 addition & 1 deletion stage99-sth/03-install-sth/00-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

on_chroot << EOF
npm i -g @scramjet/sth
pip install pyee==9.0.4 scramjet-framework-py
pip install pyee==9.0.4 scramjet-framework-py --break-system-packages
EOF

0 comments on commit b9b50d2

Please sign in to comment.