#
b4edc27a |
| 19-Jul-2022 |
Andrew Geissler <geissonator@yahoo.com> |
utilize "/usr/bin/env perl" in perl scripts
When utilizing /usr/bin/perl, this expands to the full path of your filesystem build. i.e. something like this:
/home/andrewg/Code/openbmc/build/withersp
utilize "/usr/bin/env perl" in perl scripts
When utilizing /usr/bin/perl, this expands to the full path of your filesystem build. i.e. something like this:
/home/andrewg/Code/openbmc/build/witherspoon/tmp/work/x86_64-linux/mrw-perl-tools-native/1.0+gitAUTOINC+65ca8e19c4-r1/recipe-sysroot-native/usr/bin/perl
This now exceeds the allowed size by yocto: "maximum shebang size exceeded, the maximum size is 128."
There are ways to disable this check in yocto, and we probably have a case to argue this upstream, but our use in OpenBMC of perl is pretty limited so the easiest solution is to just move the perl scripts over to using /usr/bin/env. Half the perl scripts in this repo already do this.
Tested: - Verified new yocto now builds this repo
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I1c6dfc49a9a1d5ace0d0b9fdd4fa7a0abdee033e
show more ...
|
#
65ca8e19 |
| 16-Jul-2022 |
Andrew Geissler <geissonator@yahoo.com> |
ensure no space in script type string
New bitbake checks to ensure the #! line does not exceed 180 characters and it requires no space between it and the script type info.
Signed-off-by: Andrew Gei
ensure no space in script type string
New bitbake checks to ensure the #! line does not exceed 180 characters and it requires no space between it and the script type info.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: If52da98c06aced381a6b82cfc0756c1a322f7aec
show more ...
|
#
51041fc8 |
| 08-Oct-2019 |
Santosh Puranik <santosh.puranik@in.ibm.com> |
IPMI Parser Script Updates This commit adds a new option to the IPMI MRW parsing scripts (--skip-broken-mrw). When specified, the option will cause the scripts to ignore bro
IPMI Parser Script Updates This commit adds a new option to the IPMI MRW parsing scripts (--skip-broken-mrw). When specified, the option will cause the scripts to ignore broken MRW targets such as IPMI sensor targets without a valid SENSOR_ID attribute or a FRU without a valid FRU_ID. This allows us to pull in an in-progress MRW without it breaking our builds. Tested: I tested the scripts against an incomplete MRW and made sure that the scripts ignored broken targets and generated output config files for whatever targets were valid. Signed-off-by: Santosh Puranik <santosh.puranik@in.ibm.com> Change-Id: Ibf2ca3769e6030d62e73fb362d73a775433273bc
show more ...
|
#
5102e57b |
| 28-Jun-2019 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
gen-ipmi-sel: force numeric context Coerce any bin/oct/hex strings returned from Targets.pm getAttribute calls into numeric context, so the user can use whatever number base encoding
gen-ipmi-sel: force numeric context Coerce any bin/oct/hex strings returned from Targets.pm getAttribute calls into numeric context, so the user can use whatever number base encoding makes sense to them. Change-Id: I66195dde94093041e304e1738b9b4330a1681d06 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
58825916 |
| 05-May-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Fetch inventory path and sensor information from MRW. Generate output yaml containing inventory to sensor information mapping by processing MRW and the config file. Sample entry in t
Fetch inventory path and sensor information from MRW. Generate output yaml containing inventory to sensor information mapping by processing MRW and the config file. Sample entry in the output yaml. /xyz/openbmc_project/inventory/system/chassis/motherboard/cpu1/core16: sensorID: 0x8c sensorType: 0x07 eventReadingType: 0x6F offset: 0x08 Change-Id: I34a42b8d81c08fc14849b7d29162433319474cf8 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|