@le-space/rootfs 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -215,6 +215,7 @@ function createRootfsBuildPlan(contract, options) {
215
215
  }
216
216
  function rootfsBuildShellEnv(plan) {
217
217
  return {
218
+ PROJECT_DIR: plan.projectDir,
218
219
  OUT_DIR: plan.outDir,
219
220
  ROOTFS_CONTRACT_FILE: plan.contractPath,
220
221
  ROOTFS_BUILD_DRIVER: plan.driver,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@le-space/rootfs",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Shared rootfs contract parsing, reference profile assets, and build helpers.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -107,12 +107,13 @@ build_with_docker() {
107
107
 
108
108
  docker run --rm --privileged --platform linux/amd64 \
109
109
  -e LIBGUESTFS_BACKEND=direct \
110
- -e ROOTFS_CONTRACT_FILE=/workspace/universal-connectivity/go-peer/aleph/root-profiles/uc-go-peer.json \
110
+ -e ROOTFS_CONTRACT_FILE=/workspace/shared-rootfs/input-rootfs-contract.json \
111
111
  -e OUT_DIR=/workspace/universal-connectivity/go-peer/aleph/dist-rootfs \
112
112
  -e ROOTFS_IMAGE_SIZE="${ROOTFS_IMAGE_SIZE}" \
113
113
  -e PROJECT_DIR=/workspace/universal-connectivity \
114
114
  -v "${PROJECT_DIR}:/workspace/universal-connectivity" \
115
115
  -v "${SCRIPT_DIR}:/workspace/shared-rootfs" \
116
+ -v "${ROOTFS_CONTRACT_FILE}:/workspace/shared-rootfs/input-rootfs-contract.json:ro" \
116
117
  -w /workspace/shared-rootfs \
117
118
  uc-go-peer-rootfs-builder:local \
118
119
  /bin/bash /workspace/shared-rootfs/build-rootfs-image.sh