cmd/mkinitfs: simplify the "deviceinfo not found" message

The old message is too specific to pmOS.
This commit is contained in:
Clayton Craft
2023-02-20 22:14:51 -08:00
parent 0179a0ca5c
commit 5968622f60

View File

@@ -49,9 +49,7 @@ func main() {
deviceinfoFile := "/etc/deviceinfo"
if !misc.Exists(deviceinfoFile) {
log.Print("NOTE: deviceinfo (from device package) not installed yet, " +
"not building the initramfs now (it should get built later " +
"automatically.)")
log.Printf("NOTE: %q not found, this file is required by mkinitfs.\n", deviceinfoFile)
return
}