summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/dmidecode
Commit message (Collapse)AuthorAgeFilesLines
* dmidecode: fixup for CVE-2023-30630Adrian Freihofer2023-08-196-191/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | The previous CVE-2023-30630_1.patch picked only the patch "dmidecode: Write the whole dump file at once" d8cfbc808f. But there was a refactoring which does not allow to cherry-pick it fast forward. Resolving this conflict was not correctly done. The patch was: + u32 len; + u8 *table; ... - if (!(opt.flags & FLAG_QUIET)) - pr_comment("Writing %d bytes to %s.", crafted[0x05], - opt.dumpfile); - write_dump(0, crafted[0x05], crafted, opt.dumpfile, 1); + dmi_table_dump(crafted, crafted[0x05], table, len); It looks like the variables len and table have been added without initialization. Now this problem is solved by applying the previous refactoring as well. Patch 1 gets replaced by Patch 1a and Patch 1b. Patch 2..4 are rebased without changes. (From OE-Core rev: ea069a94a213cc153528aebfc387f30215566cc7) Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* dmidecode: fix CVE-2023-30630Yogita Urade2023-08-025-0/+527
| | | | | | | | | | | | | | | | | | | | | Dmidecode before 3.5 allows -dump-bin to overwrite a local file. This has security relevance because, for example, execution of Dmidecode via Sudo is plausible. References: https://nvd.nist.gov/vuln/detail/CVE-2023-30630 https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00016.html https://lists.nongnu.org/archive/html/dmidecode-devel/2023-04/msg00017.html Backport: fixes fuzz in the CVE-2023-30630_2.patch in kirkstone (From OE-Core rev: 4f83427a0a01e8285c9eb42d2a635d1ff7b23779) Signed-off-by: Yogita Urade <yogita.urade@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> (cherry picked from commit f92e59a0894145a828dc9ac74bf8c7a9355e0587) Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
* meta/meta-selftest/meta-skeleton: Update LICENSE variable to use SPDX ↵Richard Purdie2022-02-201-1/+1
| | | | | | | | | | | | | license identifiers An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers. Two recipes in meta-selftest were not converted as they're that way specifically for testing. A change in linux-firmware was also skipped and may need a more manual tweak. (From OE-Core rev: ceda3238cdbf1beb216ae9ddb242470d5dfc25e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-devtools: Add HOMEPAGE / DESCRIPTIONDorinda2021-02-261-0/+1
| | | | | | | | | | | Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage [YOCTO #13471] (From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: upgrade 3.2 -> 3.3Alexander Kanavin2020-11-032-6/+6
| | | | | | | (From OE-Core rev: 528790d8a79f9d7234c877ff07c12f53057b6d20) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: fix the Upstream-Status in a custom patchAlexander Kanavin2018-11-231-1/+1
| | | | | | | (From OE-Core rev: c2d8081216b03c7f26063ca9f971661e76550464) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: update to 3.2Alexander Kanavin2018-11-232-8/+29
| | | | | | | | | Also, replace a sed hack with a proper patch. (From OE-Core rev: bdde940c05490d3128721e4f5eb67d456e7cc323) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: correct docdirChristopher Larson2018-06-271-0/+4
| | | | | | | | | Without this, the package clutters up the root of /usr/share/doc. (From OE-Core rev: af4f0d44acef328245dfe1bd102bb5e61293ee2d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: update to 3.1Alexander Kanavin2017-06-281-2/+2
| | | | | | | (From OE-Core rev: dc1110ba6a3a4958da7a16f01343666ce5c75aaf) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: Explicitly set EXTRA_OEMAKE as requiredMike Crowe2016-02-101-0/+2
| | | | | | | | | | | This recipe currently relies on EXTRA_OEMAKE having been set to "-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this explicit so that the default in bitbake.conf can be changed. (From OE-Core rev: ca35d45a3a208e2c5eaa64c2a19989fca202bbfc) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: update to 3.0Alexander Kanavin2015-12-161-4/+5
| | | | | | | | | | LICENSE is still GPLv2, with a different physical address for the FSF. (From OE-Core rev: f86e612c147c69756cd263f6855a65646672c0e8) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: use absolute paths in fixup taskRoss Burton2015-07-161-1/+1
| | | | | | | | | | The calls to sed use relative paths so they depend on the directory the task starts in. To clarify the code, use absolute paths. (From OE-Core rev: b61c56ade298726f0b861c5189cb9d5fd6260a36) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: add powerpc64 to compatible hostJackie Huang2015-01-291-1/+1
| | | | | | | | (From OE-Core rev: 8f2928dbfedb001c44795c4239502b6d51684677) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors.bbclass: Add mirror site for savannahChanghyeok Bae2014-05-111-1/+1
| | | | | | | | | | | | | | | | * The SRC_URI is not accessible. So need to add mirror site referred by the original site. * The problem is that http://download.savannah.gnu.org/releases redirects to closest mirror and few mirrors (e.g. .jp) weren't working correctly while http://download-mirror.savannah.gnu.org/releases/ seems to be reliable. * Add SAVANNAH_GNU_MIRROR and SAVANNAH_NONGNU_MIRROR variable in bitbake.conf. * Change the SRC_URI using the new variable. (From OE-Core rev: af00b6544f60e4d7581f9d9767f9d3f574392359) Signed-off-by: Changhyeok Bae <changhyeok.bae@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: add powerpc to compatible hostWenzong Fan2014-03-111-1/+1
| | | | | | | | (From OE-Core rev: e69d9eaf4f81bfcf5b5aa73dd29784548f1fa166) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. (From OE-Core rev: b8feee3cf21f70ba4ec3b822d2f596d4fc02a292) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove PR = r0 from all recipesRichard Purdie2013-10-301-1/+0
| | | | | | | | | | | | | Remove all PR = "r0" from all .bb files in oe-core. This was done with the command sed -e '/^PR.*=.*r0\"/d' recipes*/*/*.bb -i We've switching to the PR server, PR bumps are no longer needed and this saves people either accidentally bumping them or forgetting to remove the lines (r0 is the default anyway). (From OE-Core rev: 58ae94f1b06d0e6234413dbf9869bde85f154c85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: add aarch64 and arm to compatible hostFathi Boudra2013-07-291-1/+1
| | | | | | | | (From OE-Core rev: 025ee772f4ec21abef1fd89c4a36dbc02c9143a9) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: fix fetch path to use BPSaul Wold2013-05-081-1/+1
| | | | | | | | | This is so the multilib prefix is not used (From OE-Core rev: 50e26e553152485461d096463db0fb4f4fa826d6) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dmidecode: Add dmidecode to dev toolsDarren Hart2013-05-031-0/+21
Dmidecode reports information about your system's hardware as described in your system BIOS according to the SMBIOS/DMI standard. This recipe was updated to version 2.12 and cleaned up slightly from the OE 2.10 version and proposed here for inclusion in oe-core. (From OE-Core rev: 120495843118b55e865bb8d87933bd585fced992) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>