summaryrefslogtreecommitdiffstats
path: root/package/vboot-utils
Commit message (Collapse)AuthorAgeFilesLines
* package/vboot-utils: Add support for openssl 1.1.xVadim Kochan2019-01-271-0/+268
| | | | | | | | | | Backported changes from commit bce7904376beee2912932433a4634c1c25afe2f5, there was some conflicts in few places which includes openssl_compat.h and 1 place in vb2_rsa_sig_alg function. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* vboot-utils: fix major() build failure due to glibc 2.28Giulio Benetti2018-09-121-0/+51
| | | | | | | | | | | | | | | | | | | | | | | glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>, and therefore <sys/sysmacros.h> must be included explicitly when major() are used. This commit adds an upstream patch to directly include <sys/sysmacros.h> into cgpt_wrapper.c and dump_kernel_config_lib.c files where major() macro is used. The upstream patch has been taken from: https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/435fbcee218b37a87368e2b22fa33366875d458c Fixes: http://autobuild.buildroot.net/results/4a2/4a21307984cb16d7879149dd9b9b062181b0388f/ http://autobuild.buildroot.net/results/899/899569165112fe577cf191cd4f0c698cbedeb9b1/ http://autobuild.buildroot.net/results/0e5/0e527d231fa791ec8e3375804f1a0043f92d73d0/ http://autobuild.buildroot.net/results/184/1849be60dd13c1debfbcfb8fba5cec113e81af62/ http://autobuild.buildroot.net/results/38f/38fcefe4feabfd95692cf6b3f7ecf84259fca4de/ Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* vboot-utils: fix ARCH detectionAlex Suykov2017-11-111-0/+5
| | | | | | | | | | | | | | | | | | The package includes some target-specific code that is irrelevant in a host package but gets built anyway. The target for this code must be one of the supported ChromeOS targets. Supplied Makefile apparently relies on the environment to provide a valid target, with a simple fallback to host arch. This breaks the build if no value is provided and the host arch is not among the supported ones. Should fix http://autobuild.buildroot.net/results/d118a83b6c4f7f910d0d44c279f36251d7ba29e8/ and similar failures. Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: disable static futilityAlex Suykov2017-10-051-0/+30
| | | | | | | | | | | Possibly fixes http://autobuild.buildroot.net/results/fbe/fbe7892539cc1bf18f89d18c6609a5aa747647d0/ http://autobuild.buildroot.net/results/4bc/4bc388618ff02dde26ae09db021434a936c8cc1b/ and similar errors. Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Tested-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* Globally replace $(HOST_DIR)/usr with $(HOST_DIR)Arnout Vandecappelle2017-07-051-1/+1
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '\$(HOST_DIR)/usr' | xargs sed -i 's%\$(HOST_DIR)/usr%$(HOST_DIR)%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: correct hashArnout Vandecappelle2017-03-221-1/+1
| | | | | | | | | | I created the hash based on an old tarball in my dl dir which was generated without the sorting introduced in commit 4f87aa7db5ee. This time it is based on a properly created tarball. Reported-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: add hashArnout Vandecappelle2017-03-211-2/+2
| | | | | | | | | vboot-utils had a hash file, but is says "none" because it is a git download. Since our git downloads are not reproducible, we can actually add a hash. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: fix RSA redefinition build error with old compilersThomas Petazzoni2016-01-231-0/+44
| | | | | | | | | | | | | | | Old gcc compilers do not support type redefinitions, which causes a build failure of the host-vboot-utils package on certain machines. The vboot-utils source code redefines "typedef struct rsa_st RSA" which is already defined in the OpenSSL headers. This commit adds a patch which works around this build issue. Fixes: http://autobuild.buildroot.org/results/1a4/1a45412939a3f9d6fa59d086d834a3b4a4bffef7/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: convert to Git formatted patchesThomas Petazzoni2016-01-233-15/+41
| | | | | | | Since vboot-utils is hosted in a Git repository, it makes sense to use Git formatted patches for this package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: ssize_t needs unistd.hAlex Suykov2015-12-301-0/+14
| | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/95c8708411fbb116f313a0fdeccacf92cf9e3d8d/ http://autobuild.buildroot.net/results/cf4aa60f9fc9c48ff13d3233994b77b7c0950afe/ http://autobuild.buildroot.net/results/6f7dcafde693f06dfc88c922c5f8dd70ae2e30b5/ http://autobuild.buildroot.net/results/a2e95784d32c8842f6947801fd0d8c48f68b84e2/ http://autobuild.buildroot.net/results/f69ae4c9eee27df43389ae76048fb4ddd5a3eca6/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: MTD_CHAR_MAJOR definitionAlex Suykov2015-12-301-0/+17
| | | | | | | | | | Fixes http://autobuild.buildroot.net/results/a6360fd21314899321071c34fcb4892c5eed9bcc/ http://autobuild.buildroot.net/results/0af3aa4a429c45d3a2609913ec1040f32378f3c8/ http://autobuild.buildroot.net/results/cc4940fd6f51b31d71014f5aedee5223180eb36e/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: add missing dependency on host-util-linuxThomas Petazzoni2015-12-272-1/+2
| | | | | | | | | | | vboot-utils needs uuid.h and libuuid for the cgpt tool, so we need to depend on host-util-linux. Fixes: http://autobuild.buildroot.org/results/ee1/ee18202cb6d7751178617e6a3d0bc97e65318aa9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* vboot-utils: new packageAlex Suykov2015-12-273-0/+46
Chromium OS verified boot utilities. Needed for signing kernel images and manipulating bootable partitions on media intended for Chromebooks. Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud