Skip to content

Instantly share code, notes, and snippets.

@Smithx10
Created November 17, 2023 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Smithx10/c7cd2418e6074606abb8093f4af1c058 to your computer and use it in GitHub Desktop.
Save Smithx10/c7cd2418e6074606abb8093f4af1c058 to your computer and use it in GitHub Desktop.
ENGBLD_SKIP_VALIDATE_BUILDENV= \
/root/sdc-cloudapi/deps/eng/tools/validate-buildenv.sh
The following packages should be installed for 2021Q4:
py27-expat gsharutils flex pcre pigz rust
The current platform image, 20230214T155114Z, is not valid.
This component should instead be built on 20210826T002459Z
To disable this check, set
$ENGBLD_SKIP_VALIDATE_BUILD_PLATFORM in the environment.
This build zone is missing /opt/tools/bin, which is
needed in order to run certain parts of the build, notably
the 'buildimage' target.
All modern jenkins-agent images contain these, so using
this image will work as a build zone: 6fc6ec02-a41a-4711-b811-27dc121d0396
Alternatively, you can install the current pkgsrc bootstrap bits
which deliver /opt/tools. Run the following:
curl -k -o /var/tmp/bootstrap-2019Q4-tools.tar.gz \
https://pkgsrc.joyent.com/packages/SmartOS/bootstrap//bootstrap-2019Q4-tools.tar.gz
( verify that the SHA-1 sum of the tar file is e7bcc5352d0f4ecdad3143cb6c39c251bac2d0b6 )
tar -zxpf /var/tmp/bootstrap-2019Q4-tools.tar.gz -C /
rm /var/tmp/bootstrap-2019Q4-tools.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment