Move repository to meson
The time has come to move this over to meson as automake is not building
properly with the latest c++ and the OpenBMC project has made it a
requirement that all repos move to meson.
Tested:
- Confirmed p10bmc now builds with appropriate recipe updates on top
of latest sdbusplus bump
Change-Id: I303731f1b5b7c617ecb1140b22bac6dbd27acbc0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/scripts/inventory-sensor.py b/scripts/inventory-sensor.py
index f5a8d1d..680f5e7 100755
--- a/scripts/inventory-sensor.py
+++ b/scripts/inventory-sensor.py
@@ -9,7 +9,7 @@
def generate_cpp(sensor_yaml, output_dir):
- with open(os.path.join(script_dir, sensor_yaml), "r") as f:
+ with open(sensor_yaml, "r") as f:
ifile = yaml.safe_load(f)
if not isinstance(ifile, dict):
ifile = {}
@@ -57,7 +57,7 @@
args = parser.parse_args()
- if not (os.path.isfile(os.path.join(script_dir, args.sensor_yaml))):
+ if not (os.path.isfile(args.sensor_yaml)):
sys.exit("Can not find input yaml file " + args.sensor_yaml)
function = valid_commands[args.command]