cmd/mkinitfs: simplify the "deviceinfo not found" message
The old message is too specific to pmOS.
This commit is contained in:
@@ -49,9 +49,7 @@ func main() {
|
|||||||
|
|
||||||
deviceinfoFile := "/etc/deviceinfo"
|
deviceinfoFile := "/etc/deviceinfo"
|
||||||
if !misc.Exists(deviceinfoFile) {
|
if !misc.Exists(deviceinfoFile) {
|
||||||
log.Print("NOTE: deviceinfo (from device package) not installed yet, " +
|
log.Printf("NOTE: %q not found, this file is required by mkinitfs.\n", deviceinfoFile)
|
||||||
"not building the initramfs now (it should get built later " +
|
|
||||||
"automatically.)")
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user