98d008c6af
Instead of doing the work in the image of parsing through the element's package-install declarations, we can squash it on hostside, where we have both YAML and JSON available to us, and then emit a single pre-processed file into the target to be used later. Change-Id: I3f182aa3aae0a79b2f3ea4e66c1878ad12878b0a
8 lines
156 B
Bash
Executable File
8 lines
156 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
package-uninstalls -d $(dirname $0)
|
|
package-installs-v2 --phase pre-install.d --uninstall /tmp/package-installs.json
|