<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/scripts/install-buildtools, branch walnascar-next</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=walnascar-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=walnascar-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2025-03-17T17:09:22+00:00</updated>
<entry>
<title>scripts/install-buildtools: write download URLs to files for traceability</title>
<updated>2025-03-17T17:09:22+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2025-03-13T17:22:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7d85b62a8adcb23f5ee2c55cd7bbf684fab129f6'/>
<id>urn:sha1:7d85b62a8adcb23f5ee2c55cd7bbf684fab129f6</id>
<content type='text'>
This extends the previous commit, so that download URLs are preserved
in addition to actual artefacts. By default it's all written to a temporary
directory and erased together with artefacts, but users can choose
to preserve both:

$ install-buildtools -D --downloads-directory=.
...

$ ls -1
buildtools_url
checksum_url
x86_64-buildtools-extended-nativesdk-standalone-5.1.2.sh
x86_64-buildtools-extended-nativesdk-standalone-5.1.2.sh.sha256sum

Additionally, rename check_url variable into checksum_url as it's
a better name.

(From OE-Core rev: 76748d27fd5088971259d08fdeae5c86a054452b)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: add an option to specify where downloads go</title>
<updated>2025-03-17T17:09:22+00:00</updated>
<author>
<name>Alexander Kanavin</name>
<email>alex@linutronix.de</email>
</author>
<published>2025-03-13T17:22:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=157685ca87e19a334bf49cd64737e73b745959b5'/>
<id>urn:sha1:157685ca87e19a334bf49cd64737e73b745959b5</id>
<content type='text'>
By default the script puts everything it downloads into a temporary
directory and erases it after unpacking and installing the buildtools.

This isn't great for traceability and reproducibility of builds
(being able to see what was downloaded exactly, and being able
to reproduce setting up a build, especially if the buildtools
download location isn't available for whatever reason).

This commit adds an option to download items into a specified directory
and keep them there. I would particularly like to use it with
bitbake-setup, where an optional feature to install the buildtools
(exact implementation details tbd) would ensure the tarball remains
available on local disk.

(From OE-Core rev: fc8cedd899f7e5d06215a71808dd0827ccdcf849)

Signed-off-by: Alexander Kanavin &lt;alex@linutronix.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: Update to 5.1.2</title>
<updated>2025-02-18T22:53:44+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2025-02-16T16:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2226616ef8d1f2e51576e1078aac6d95880b0b7e'/>
<id>urn:sha1:2226616ef8d1f2e51576e1078aac6d95880b0b7e</id>
<content type='text'>
Update to the 5.1.2 release of the 5.1 series for buildtools.

(From OE-Core rev: 6766bce806a7e4fd62f6666db731eefc1b98c5ff)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: Update to 5.1.1</title>
<updated>2024-12-13T12:26:01+00:00</updated>
<author>
<name>Antonin Godard</name>
<email>antonin.godard@bootlin.com</email>
</author>
<published>2024-12-12T15:31:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3a737b4c63b53ad640c9066950eeaba917858f84'/>
<id>urn:sha1:3a737b4c63b53ad640c9066950eeaba917858f84</id>
<content type='text'>
Update to the 5.1.1 release of the 5.1 series for buildtools.

(From OE-Core rev: 0b746655fcc133db563d791673484c4ca82cda8a)

Signed-off-by: Antonin Godard &lt;antonin.godard@bootlin.com&gt;
Signed-off-by: Mathieu Dubois-Briand &lt;mathieu.dubois-briand@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: preserve formatting in the help message</title>
<updated>2024-12-09T15:23:28+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2024-12-05T10:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6074281e43f57aa4654eed311559a73b65a94a45'/>
<id>urn:sha1:6074281e43f57aa4654eed311559a73b65a94a45</id>
<content type='text'>
Use the RawTextHelpFormatter formatter to preserve formatting in the
argpars help message.

(From OE-Core rev: ee94d7f99ff3c7e922fdb502fabbda3fd0cd8700)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: Update to 5.1</title>
<updated>2024-11-23T14:44:54+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2024-11-22T11:48:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a43e6ab8c25eed6536f8771c2ac0564ae55da8bb'/>
<id>urn:sha1:a43e6ab8c25eed6536f8771c2ac0564ae55da8bb</id>
<content type='text'>
Update to the 5.1 release of the 5.1 series for buildtools.

(From OE-Core rev: f6c1e5541ee8d215a0327263c9dd3f4cc128cd56)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: Update to 5.0.3</title>
<updated>2024-09-17T11:25:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2024-09-17T11:24:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7c5d68f27af261372f4fd72f18c172a09b60928e'/>
<id>urn:sha1:7c5d68f27af261372f4fd72f18c172a09b60928e</id>
<content type='text'>
Update to the 5.0.3 release of the 5.0 series for buildtools.

(From OE-Core rev: c922ca720a0c3b7b4d3d3187539e7cf77d93d457)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>install-buildtools: update base-url, release and installer version</title>
<updated>2024-06-12T15:08:32+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2024-06-11T09:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a43f15565b18f818d5519376e54849b604156e38'/>
<id>urn:sha1:a43f15565b18f818d5519376e54849b604156e38</id>
<content type='text'>
Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

(From OE-Core rev: b2ebb965a5aa128b05ed7ddc9216171463777732)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>install-buildtools: fix "test installation" step</title>
<updated>2024-06-12T15:08:32+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2024-06-11T09:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=062c289efadc355da8c3dc77bc91f1f47b677b68'/>
<id>urn:sha1:062c289efadc355da8c3dc77bc91f1f47b677b68</id>
<content type='text'>
The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-&lt;arch&gt;-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

(From OE-Core rev: e4eb0b14ecf9bd2fba13260441c9d86eb348f41e)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>install-buildtools: remove md5 checksum validation</title>
<updated>2024-06-12T15:08:32+00:00</updated>
<author>
<name>Aleksandar Nikolic</name>
<email>aleksandar.nikolic@zeiss.com</email>
</author>
<published>2024-06-11T09:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cedb7197cc689c2fc87195697efc01ed784dfce7'/>
<id>urn:sha1:cedb7197cc689c2fc87195697efc01ed784dfce7</id>
<content type='text'>
No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

(From OE-Core rev: b740d2f9d40aef1e18c022d1e82b4fb2c5c1fc22)

Signed-off-by: Aleksandar Nikolic &lt;aleksandar.nikolic@zeiss.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
