diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2000-10-19 20:54:37 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2000-10-19 20:54:37 +0000 |
commit | 63fb7c0c6150b6699379b42de130c1a8dd37fba2 (patch) | |
tree | 2fbf707056392646faad0d01ce51df6c9cb6a2a2 /distrib | |
parent | 2e44bc838e87b13eaed6e6b6e4b46b81baeba172 (diff) |
strip and compress the ramdisk kernel on the cd, makes the image much
smaller.
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/powerpc/ramdisk/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |