summaryrefslogtreecommitdiff
path: root/distrib/i386/iso
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2017-08-13 15:41:31 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2017-08-13 15:41:31 +0000
commit4819d952120301bfd514ad0e8d064a10debf07ca (patch)
tree37e736da7cacaa25c8ee4b1ee65b97938379f020 /distrib/i386/iso
parent9a193c422ecd5f28cd1f89c503b528fd11de1890 (diff)
strip .SUNW_ctf in the remaining strip invocations
broke amd64/ramdisk_cd as it no longer fit; spotted by jsg@ ok deraadt@ mpi@
Diffstat (limited to 'distrib/i386/iso')
-rw-r--r--distrib/i386/iso/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/i386/iso/Makefile b/distrib/i386/iso/Makefile
index dd502999869..4c3fbcee484 100644
--- a/distrib/i386/iso/Makefile
+++ b/distrib/i386/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2017/06/13 16:28:06 deraadt Exp $
+# $OpenBSD: Makefile,v 1.14 2017/08/13 15:41:30 jasper Exp $
TOP= ${.CURDIR}/..
@@ -44,8 +44,7 @@ ${FS}: ${BASE} ${XBASE} bsd.gz
newfs -m 0 -o space -i 524288 -c ${FSSIZE} ${VND_RDEV}
mount ${VND_DEV} ${MOUNT_POINT}
cp ${BOOT} ${MOUNT_POINT}/boot
- strip ${MOUNT_POINT}/boot
- strip -R .comment ${MOUNT_POINT}/boot
+ strip -R .comment -R .SUNW_ctf ${MOUNT_POINT}/boot
dd if=bsd.gz of=${MOUNT_POINT}/bsd bs=512
installboot -v -r ${MOUNT_POINT} ${VND_CRDEV} \
${DESTDIR}/usr/mdec/biosboot ${MOUNT_POINT}/boot
@@ -102,7 +101,7 @@ clean cleandir:
bsd.gz: bsd.rd
cp ${BSDRD} bsd.strip
strip bsd.strip
- strip -R .comment bsd.strip
+ strip -R .comment -R .SUNW_ctf bsd.strip
gzip -c9n bsd.strip > bsd.gz
bsd.rd: ${BSDRD}