[PureOS] SOURCE_DATE_EPOCH for PureOS ISO builds (was: "Re: Bits from PureOS")

Chris Lamb chris.lamb at puri.sm
Tue Jul 9 12:20:06 PDT 2019


Hi Jeremiah,

> I was musing about whether and how environment variables get passed
> along across various boundaries (container, ssh). 

Indeed. If anything, this is what you may encounter problems with,
particularly as containers are designed to be, well, not influenced by
their outside environment...

Obvious workarounds (if you need them) that I end up using all the time
here are shell "tricks" like explicitly exporting stuff with env(1):

  - start-container build-script.sh
  + start-container env SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" build-script.sh

... and throwing a whole bunch of "echo SDE=$SOURCE_DATE_EPOCH" around
is probably the best way to find which barrier is not being crossed.


Best wishes,

-- 
Chris Lamb
https://puri.sm


More information about the Pureos-project mailing list