You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to customize how the source area is copied to an spk layer, you quickly find (via that env) that there are no SPK_* or other environment variables set, no breadcrumbs that let you write interesting scripts that know what they are doing. In particular, I cannot figure out how one can detect what was the pwd when spk build was run, that is, the place where you are supposed to be copying from.
I think it would be good if at the "sources" stage, we had available all of the same SPK env variables that are present at the "build" stage. At the very least, the project name, the version, and the launch directory are a bare minimum. But the whole works would be better, including other build variables/options, versions of dependencies, etc.
The text was updated successfully, but these errors were encountered:
HELP WANTED on this one. I know that not all SPK env variables can be ready (some values change for each variant, obviously). But there is some minimum set -- the name and version of the package being built, the path to the original source area from which things should be copied, etc. -- that could be known and would be very helpful to writing sources script.
rydrman
changed the title
At build step, there are no SPK environment variables
At make-source step, there are no SPK environment variables
May 11, 2021
If you try to use
to customize how the source area is copied to an spk layer, you quickly find (via that
env
) that there are noSPK_*
or other environment variables set, no breadcrumbs that let you write interesting scripts that know what they are doing. In particular, I cannot figure out how one can detect what was the pwd whenspk build
was run, that is, the place where you are supposed to be copying from.I think it would be good if at the "sources" stage, we had available all of the same SPK env variables that are present at the "build" stage. At the very least, the project name, the version, and the launch directory are a bare minimum. But the whole works would be better, including other build variables/options, versions of dependencies, etc.
The text was updated successfully, but these errors were encountered: