Author: jhibbits
Date: Fri Sep 20 13:35:28 2019
New Revision: 352557
URL: https://svnweb.freebsd.org/changeset/base/352557

Log:
  powerpc/loader: Install ubldr without stripping
  
  Summary:
  Install's strip capability, by way of strip(1), doesn't seem to work
  correctly on msdosfs, and instead ends up truncating the resulting
  binary to 0-length.  As a workaround, don't strip ubldr(8).  This
  fixes installworld on Book-E ubldr-based platforms, which prior to this
  would need to manually install ubldr separately after installworld, in
  order to have a functional ubldr.
  
  The same thing could be done on PowerNV platforms that use msdosfs /boot
  volumes, since loader and loader.kboot, etc, all get truncated to 0 on
  install.  However, PowerNV does not use loader, instead loading from
  petitboot, so it's not really necessary at this time.
  
  Reviewed by:  kevans
  Differential Revision: https://reviews.freebsd.org/D21725

Modified:
  head/stand/powerpc/uboot/Makefile

Modified: head/stand/powerpc/uboot/Makefile
==============================================================================
--- head/stand/powerpc/uboot/Makefile   Fri Sep 20 11:28:45 2019        
(r352556)
+++ head/stand/powerpc/uboot/Makefile   Fri Sep 20 13:35:28 2019        
(r352557)
@@ -13,6 +13,7 @@ LOADER_BZIP2_SUPPORT?=        no
 
 BINDIR=        /boot/uboot
 PROG=          ubldr
+STRIP=
 NEWVERSWHAT=   "U-Boot loader" ${MACHINE_ARCH}
 INSTALLFLAGS=  -b
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to