From 3f1051935b40fdbf9011b374d7a76112102d6e2e Mon Sep 17 00:00:00 2001 From: Danil Klimuk Date: Tue, 31 Mar 2026 08:59:21 +0200 Subject: [PATCH] Fix pre-commit Fix after updatee in Dasharo/meta-dts#292. I have modified the .oelint.constants.json manually beacause of https://github.com/priv-kweihmann/oelint-data/issues/285 . Signed-off-by: Danil Klimuk --- .oelint-constants.json | 10 +++++++++- docs/error-paths.md | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.oelint-constants.json b/.oelint-constants.json index 5f4b69a..3068152 100644 --- a/.oelint-constants.json +++ b/.oelint-constants.json @@ -2,8 +2,16 @@ "variables": { "known": [ "IMAGE_EFI_BOOT_FILES", - "INITRD_ARCHIVE" + "INITRD_ARCHIVE", + "hostname", + "insane_skip", + "GRUB_BUILDIN" ], "renamed": {} + }, + "functions": { + "known": [ + "do_image_wic" + ] } } diff --git a/docs/error-paths.md b/docs/error-paths.md index a20ffcc..562eaa9 100644 --- a/docs/error-paths.md +++ b/docs/error-paths.md @@ -151,8 +151,8 @@ Wrong values in DTS variables in `dts-scripts` or `dts-configs` * set version in format unsupported by `compare_version` - Variables related to binary preparation i.e. `*_MIGRATION`. Those - variables decide whether we need to run workflow related to this migration. If - they have wrong value then final workflow result might be different from + variables decide whether we need to run workflow related to this migration. + If they have wrong value then final workflow result might be different from expected e.g. in case of `NEED_SMMSTORE_MIGRATION` we might end up without migrated config (so we lose all BIOS configuration after update)