[PureOS] SOURCE_DATE_EPOCH for PureOS ISO builds (now with a merge request)

Jeremiah C. Foster jeremiah.foster at puri.sm
Thu Jul 11 17:34:03 PDT 2019


On Tue, 2019-07-09 at 16:20 -0300, Chris Lamb wrote:
> 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...

I sent a merge request to Matthias for this: 
https://source.puri.sm/-/ide/project/pureos/infra/make-live/merge_requests/1?target_project=

- Jeremiah

> 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,
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puri.sm/pipermail/pureos-project/attachments/20190711/cd3a6f52/attachment-0001.sig>


More information about the Pureos-project mailing list