From 63fb7c0c6150b6699379b42de130c1a8dd37fba2 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 19 Oct 2000 20:54:37 +0000 Subject: strip and compress the ramdisk kernel on the cd, makes the image much smaller. --- distrib/powerpc/ramdisk/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'distrib/powerpc/ramdisk') diff --git a/distrib/powerpc/ramdisk/Makefile b/distrib/powerpc/ramdisk/Makefile index 9d8b265b956..6bf4870aeaf 100644 --- a/distrib/powerpc/ramdisk/Makefile +++ b/distrib/powerpc/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2000/10/19 20:32:48 deraadt Exp $ +# $OpenBSD: Makefile,v 1.14 2000/10/19 20:54:36 drahn Exp $ TOP= ${.CURDIR}/.. @@ -41,6 +41,9 @@ cd: ${BSD_RD} -rm -rf ${.OBJDIR}/cd-dir/ -@mkdir -p ${.OBJDIR}/cd-dir/${OSREV}/powerpc/ cp bsd.rd ${.OBJDIR}/cd-dir/${OSREV}/powerpc/bsd.rd + strip ${.OBJDIR}/cd-dir/${OSREV}/powerpc/bsd.rd + gzip -9 ${.OBJDIR}/cd-dir/${OSREV}/powerpc/bsd.rd + mv ${.OBJDIR}/cd-dir/${OSREV}/powerpc/bsd.rd.gz ${.OBJDIR}/cd-dir/${OSREV}/powerpc/bsd.rd cp ${DESTDIR}/usr/mdec/ofwboot ${.OBJDIR}/cd-dir/ mkhybrid -r -part -hfs -o ${.OBJDIR}/cd${OSrev}.fs ${.OBJDIR}/cd-dir -- cgit v1.2.3