Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2019 13:35:28 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352557 - head/stand/powerpc/uboot
Message-ID:  <201909201335.x8KDZSuP031094@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909201335.x8KDZSuP031094>