<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.koansoftware.com/index.php?action=history&amp;feed=atom&amp;title=BitBake%27s_passthrough_environment_variables</id>
	<title>BitBake&#039;s passthrough environment variables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.koansoftware.com/index.php?action=history&amp;feed=atom&amp;title=BitBake%27s_passthrough_environment_variables"/>
	<link rel="alternate" type="text/html" href="https://wiki.koansoftware.com/index.php?title=BitBake%27s_passthrough_environment_variables&amp;action=history"/>
	<updated>2026-04-17T19:30:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://wiki.koansoftware.com/index.php?title=BitBake%27s_passthrough_environment_variables&amp;diff=415&amp;oldid=prev</id>
		<title>Koan: Created page with &quot;== BitBake&#039;s passthrough environment variables ==  When you need to manage custom variables in a script having an impact with Bitbake, it is possible to add custom environment variables to BitBake&#039;s passthrough mechanism.      #!/bin/bash     #     # A script to demonstrate adding custom environment variables to BitBake&#039;s passthrough mechanism.     #          export CUSTOM=&quot;CustomValue&quot;     export MYVAR=$CUSTOM-$USER     BB_ENV_PASSTHROUGH_ADDITIONS=&quot;$BB_ENV_PASSTHROUGH_...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.koansoftware.com/index.php?title=BitBake%27s_passthrough_environment_variables&amp;diff=415&amp;oldid=prev"/>
		<updated>2025-12-01T15:21:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== BitBake&amp;#039;s passthrough environment variables ==  When you need to manage custom variables in a script having an impact with Bitbake, it is possible to add custom environment variables to BitBake&amp;#039;s passthrough mechanism.      #!/bin/bash     #     # A script to demonstrate adding custom environment variables to BitBake&amp;#039;s passthrough mechanism.     #          export CUSTOM=&amp;quot;CustomValue&amp;quot;     export MYVAR=$CUSTOM-$USER     BB_ENV_PASSTHROUGH_ADDITIONS=&amp;quot;$BB_ENV_PASSTHROUGH_...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== BitBake&amp;#039;s passthrough environment variables ==&lt;br /&gt;
&lt;br /&gt;
When you need to manage custom variables in a script having an impact with Bitbake,&lt;br /&gt;
it is possible to add custom environment variables to BitBake&amp;#039;s passthrough mechanism.&lt;br /&gt;
&lt;br /&gt;
    #!/bin/bash&lt;br /&gt;
    #&lt;br /&gt;
    # A script to demonstrate adding custom environment variables to BitBake&amp;#039;s passthrough mechanism.&lt;br /&gt;
    #&lt;br /&gt;
    &lt;br /&gt;
    export CUSTOM=&amp;quot;CustomValue&amp;quot;&lt;br /&gt;
    export MYVAR=$CUSTOM-$USER&lt;br /&gt;
    BB_ENV_PASSTHROUGH_ADDITIONS=&amp;quot;$BB_ENV_PASSTHROUGH_ADDITIONS MYVAR&amp;quot;&lt;br /&gt;
    bitbake -e os-release | grep ^MYVAR=&lt;br /&gt;
&lt;br /&gt;
Execution example&lt;br /&gt;
&lt;br /&gt;
  $ ../bitbake-test-passthrough.sh&lt;br /&gt;
  MYVAR=&amp;quot;custom_value-tux&amp;quot;&lt;/div&gt;</summary>
		<author><name>Koan</name></author>
	</entry>
</feed>