diff --git a/internal/bootdeploy/bootdeploy.go b/internal/bootdeploy/bootdeploy.go index 0720aab..6613af7 100644 --- a/internal/bootdeploy/bootdeploy.go +++ b/internal/bootdeploy/bootdeploy.go @@ -8,8 +8,6 @@ import ( "os/exec" "path/filepath" "strings" - - "gitlab.com/postmarketOS/postmarketos-mkinitfs/internal/misc" ) type BootDeploy struct { @@ -87,14 +85,10 @@ func bootDeploy(workDir string, outDir string) error { "-d", workDir, "-o", outDir, "initramfs-extra") - if !misc.Exists(cmd.Path) { - return errors.New("boot-deploy command not found") - } cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr if err := cmd.Run(); err != nil { - log.Print("'boot-deploy' command failed") return err }