cmd/mkinitfs: show time spent running boot-deploy

This commit is contained in:
Clayton Craft
2023-02-18 22:26:00 -08:00
parent bb50041257
commit a9f4281fbd

View File

@@ -109,6 +109,7 @@ func main() {
func bootDeploy(workDir, outDir, ubootBoardname string) error { func bootDeploy(workDir, outDir, ubootBoardname string) error {
log.Print("== Using boot-deploy to finalize/install files ==") log.Print("== Using boot-deploy to finalize/install files ==")
defer misc.TimeFunc(time.Now(), "boot-deploy")
bd := bootdeploy.New(workDir, outDir, ubootBoardname) bd := bootdeploy.New(workDir, outDir, ubootBoardname)
return bd.Run() return bd.Run()