[Bug 193967] New: Makefile in sys/boot/amd64/boot1.efi lacks correct paths for uudecode, bzip2, and dd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 27 07:42:23 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193967

            Bug ID: 193967
           Summary: Makefile in sys/boot/amd64/boot1.efi lacks correct
                    paths for uudecode, bzip2, and dd
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: grobe0ba at gmail.com

Makefile in sys/boot/amd64/boot1.efi for creating an EFI boot image does not
have hard coded paths for uudecode, bzip2, and dd. make -C /usr/src
installworld fails when it cannot execute the utilities. Confirmed on two
separate machines, both running 11-CURRENT. Patch follows.

R/
B. Atticus Grobe

======================================================================
diff --git a/head/sys/boot/amd64/boot1.efi/Makefile
b/head/sys/boot/amd64/boot1.efi/Makefile
--- a/head/sys/boot/amd64/boot1.efi/Makefile    (revision 272180)
+++ b/head/sys/boot/amd64/boot1.efi/Makefile    (working copy)
@@ -64,10 +64,10 @@

 boot1.efifat: boot1.efi
     echo ${.OBJDIR}
-    uudecode ${.CURDIR}/fat.tmpl.bz2.uu
+    /usr/bin/uudecode ${.CURDIR}/fat.tmpl.bz2.uu
     mv fat.tmpl.bz2 ${.TARGET}.bz2
-    bzip2 -f -d ${.TARGET}.bz2
-    dd if=boot1.efi of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc
+    /usr/bin/bzip2 -f -d ${.TARGET}.bz2
+    /bin/dd if=boot1.efi of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc

 CLEANFILES= boot1.efifat

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list