History log of /openbmc/phosphor-mrw-tools/print_inventory.pl (Results 1 – 3 of 3)
Revision Date Author Comments
# 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 ...


# 716262fd 09-Apr-2019 Matt Spinler <spinler@us.ibm.com>

Add tool to print out the inventory

The Inventory.pm module queries the MRW to find the system inventory,
and this is a simple wrapper script to print out that inventory for
debug.

Add tool to print out the inventory

The Inventory.pm module queries the MRW to find the system inventory,
and this is a simple wrapper script to print out that inventory for
debug.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I2cd56f954a856077b252c7cede07bccaad440e42

show more ...