Browse Source

Compress the ramdisk images, bootloader can deal with it and

it will save disk space (cd and ftp.
OPENBSD_2_4
rahnds 26 years ago
parent
commit
17101dcf53
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      src/etc/etc.powerpc/Makefile.inc

+ 9
- 1
src/etc/etc.powerpc/Makefile.inc View File

@ -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 # etc.powerpc/Makefile.inc -- powerpc-specific etc Makefile targets
.ifdef DESTDIR .ifdef DESTDIR
@ -53,6 +53,14 @@ distrib:
cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/bootmix cp ${DESTDIR}/usr/mdec/ofwboot ${DESTDIR}/snapshot/bootmix
mkisofs -r ${DESTDIR}/snapshot/bootmix > ${DESTDIR}/snapshot/bootmix.fs mkisofs -r ${DESTDIR}/snapshot/bootmix > ${DESTDIR}/snapshot/bootmix.fs
rm -rf ${DESTDIR}/snapshot/bootmix 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 .endif # DESTDIR check

Loading…
Cancel
Save