@le-space/rootfs 0.1.3 → 0.1.4
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 +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -307,7 +307,7 @@ function createHostRootfsExecutionPlan(plan, options = {}) {
|
|
|
307
307
|
reason: "Using host virt-customize/qemu-img toolchain.",
|
|
308
308
|
referenceRootfsDir,
|
|
309
309
|
runCommand: {
|
|
310
|
-
command: "bash",
|
|
310
|
+
command: "/bin/bash",
|
|
311
311
|
args: [path2.join(referenceRootfsDir, "build-rootfs-image.sh")],
|
|
312
312
|
workdir: referenceRootfsDir,
|
|
313
313
|
env: {
|
|
@@ -369,7 +369,7 @@ function createDockerRootfsExecutionPlan(plan, options = {}) {
|
|
|
369
369
|
"-w",
|
|
370
370
|
rootfsMountPath,
|
|
371
371
|
dockerImageTag,
|
|
372
|
-
"bash",
|
|
372
|
+
"/bin/bash",
|
|
373
373
|
path2.posix.join(rootfsMountPath, "build-rootfs-image.sh")
|
|
374
374
|
]
|
|
375
375
|
}
|
|
@@ -532,7 +532,7 @@ function rootfsScriptDir(buildPlan, override) {
|
|
|
532
532
|
function createRootfsScriptCommand(buildPlan, referenceRootfsDir) {
|
|
533
533
|
const scriptDir = rootfsScriptDir(buildPlan, referenceRootfsDir);
|
|
534
534
|
return {
|
|
535
|
-
command: "bash",
|
|
535
|
+
command: "/bin/bash",
|
|
536
536
|
args: [path3.join(scriptDir, "build-rootfs.sh")],
|
|
537
537
|
workdir: scriptDir,
|
|
538
538
|
env: rootfsBuildShellEnv(buildPlan)
|