StarlingX build source tree root
3e7d239e2b
This commit reverts a change made in [1].
The input ostree repo should be the one in DEPLOY_DIR,
not the one in the Input ISO.
This is because the script that generates patches has a
"reuse initramfs" feature, which modifies the ostree commit before creating the patch and saves this change on DEPLOY_DIR as well [2],
but not in the "raw" ISO (the one created by "build-image --keep").
The requirement for the DEPLOY_DIR env variable
has been re-introduced.
Note that, instead of pulling just the latest ostree commit,
all commits are pulled and then the old ones (all except the latest)
are deleted from the repo. By doing this, their respective
"tombstone" files are created, which are internal ostree flags
stating that those commits are missing *intentionally*.
Without them, some ostree operations throw errors
for the missing commits.
Ref:
[1] https://review.opendev.org/c/starlingx/root/+/923771
[2]
|
||
---|---|---|
build-tools | ||
stx | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
test-requirements.txt | ||
tox.ini |