From dcba9aebf44539e605911f48dab98f989303b8a6 Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Mon, 16 Jan 2023 16:54:28 -0500 Subject: [PATCH] swupdate: add hwrevision file --- recipes-core/base-files/base-files_%.bbappend | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-core/base-files/base-files_%.bbappend b/recipes-core/base-files/base-files_%.bbappend index c9f2ca9..be6fd99 100644 --- a/recipes-core/base-files/base-files_%.bbappend +++ b/recipes-core/base-files/base-files_%.bbappend @@ -1,3 +1,6 @@ do_install:append () { echo "hvmpd" > ${D}${sysconfdir}/hostname + + # Maybe make this machine-specific in the future... + echo "${MACHINE} revA" > ${D}${sysconfdir}/hwrevision } -- 2.20.1