summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-17 05:56:09 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1998-09-17 05:56:09 +0000
commit3f15ae9e8e4015f7aebf3b701c968a7f297b4e87 (patch)
tree8ecc8cd28b183de75721bcd656d3927b912b0691 /etc
parentafa9f8ccda18c5ff879f432ae6f0b9a601b992b3 (diff)
Compress the ramdisk images, bootloader can deal with it and
it will save disk space (cd and ftp.
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.powerpc/Makefile.inc10
1 files changed, 9 insertions, 1 deletions
diff --git a/etc/etc.powerpc/Makefile.inc b/etc/etc.powerpc/Makefile.inc
index 768c3f3e0dd..3e238557eac 100644
--- a/etc/etc.powerpc/Makefile.inc
+++ b/etc/etc.powerpc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.11 1998/09/16 20:27:26 rahnds Exp $
+# $OpenBSD: Makefile.inc,v 1.12 1998/09/17 05:56:08 rahnds Exp $
# etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
.ifdef DESTDIR
@@ -53,6 +53,14 @@ distrib:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/bootmix
mkisofs -r ${DESTDIR}/snapshot/bootmix > ${DESTDIR}/snapshot/bootmix.fs
rm -rf ${DESTDIR}/snapshot/bootmix
+ # compress the bsd.rd files but keep original naming,
+ # bootloader can deal with it.
+ gzip -9 ${DESTDIR}/snapshot/bsd.rd
+ mv ${DESTDIR}/snapshot/bsd.rd.gz ${DESTDIR}/snapshot/bsd.rd
+ gzip -9 ${DESTDIR}/snapshot/bsdofw.rd
+ mv ${DESTDIR}/snapshot/bsd.rdofw.gz ${DESTDIR}/snapshot/bsdofw.rd
+ gzip -9 ${DESTDIR}/snapshot/bsdmix.rd
+ mv ${DESTDIR}/snapshot/bsd.rdmix.gz ${DESTDIR}/snapshot/bsdmix.rd
.endif # DESTDIR check