swupdate: add hwrevision file
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 16 Jan 2023 21:54:28 +0000 (16:54 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 1 Mar 2023 17:10:15 +0000 (12:10 -0500)
recipes-core/base-files/base-files_%.bbappend

index c9f2ca9..be6fd99 100644 (file)
@@ -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
 }