-# $OpenBSD: Makefile,v 1.21 2021/02/13 18:48:23 semarie Exp $
+# $OpenBSD: Makefile,v 1.22 2021/02/14 17:14:42 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 5760
rm -f vnd
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf -R .eh_frame -R .shstrtab bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ -R .eh_frame -R .shstrtab \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.14 2021/02/13 18:52:08 semarie Exp $
+# $OpenBSD: Makefile,v 1.15 2021/02/14 17:14:42 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
MRMAKEFSARGS= -o disklabel=${MRDISKTYPE},minfree=0,density=4096
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.29 2021/02/14 17:11:02 semarie Exp $
+# $OpenBSD: Makefile,v 1.30 2021/02/14 17:14:42 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 9920
MRMAKEFSARGS= -o disklabel=${MRDISKTYPE},minfree=0,density=4096
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.13 2021/02/13 18:52:08 semarie Exp $
+# $OpenBSD: Makefile,v 1.14 2021/02/14 17:14:42 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
MRMAKEFSARGS= -o disklabel=${MRDISKTYPE},minfree=0,density=4096
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.23 2021/02/14 17:11:02 semarie Exp $
+# $OpenBSD: Makefile,v 1.24 2021/02/14 17:14:42 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8064
MRMAKEFSARGS= -o disklabel=${MRDISKTYPE},minfree=0,density=4096
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.49 2021/02/14 17:11:02 semarie Exp $
+# $OpenBSD: Makefile,v 1.50 2021/02/14 17:14:42 semarie Exp $
CDROM= cd${OSrev}.iso
MTREE= ${UTILS}/mtree.conf
gzip -9cn bsd.rd > bsd.gz
bsd.rd: mr.fs bsd
- cp bsd bsd.rd
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd bsd.rd
rdsetroot bsd.rd mr.fs
- strip -R .SUNW_ctf bsd.rd
bsd:
cd ${.CURDIR}/../../../sys/arch/${MACHINE}/compile/${RAMDISK} && \
-# $OpenBSD: Makefile,v 1.26 2021/02/14 17:11:02 semarie Exp $
+# $OpenBSD: Makefile,v 1.27 2021/02/14 17:14:42 semarie Exp $
FS= miniroot${OSrev}.img
FSSIZE= 6400
mksuncd f ${CDROM} ${FS}
bsd.gz: bsd.rd
- objcopy -S -R .comment -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.52 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.53 2021/02/14 17:14:42 semarie Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
rm -f vnd
bsd.gz: bsd.rd
- objcopy -S -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .comment -R .SUNW_ctf \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd
-# $OpenBSD: Makefile,v 1.48 2021/02/13 18:46:52 semarie Exp $
+# $OpenBSD: Makefile,v 1.49 2021/02/14 17:14:42 semarie Exp $
FS= floppyB${OSrev}.img
FSSIZE= 2880
rm -f vnd
bsd.gz: bsd.rd
- objcopy -S -R .SUNW_ctf bsd.rd bsd.strip
+ objcopy -S -R .SUNW_ctf -R .comment \
+ -K rd_root_size -K rd_root_image \
+ bsd.rd bsd.strip
gzip -9cn bsd.strip > bsd.gz
bsd.rd: mr.fs bsd