Browse Source

install cdbr and cdboot for those that have it, too

OPENBSD_3_6
deraadt 20 years ago
parent
commit
b5ce32536e
3 changed files with 11 additions and 6 deletions
  1. +5
    -4
      src/etc/Makefile
  2. +3
    -1
      src/etc/etc.amd64/Makefile.inc
  3. +3
    -1
      src/etc/etc.i386/Makefile.inc

+ 5
- 4
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.210 2004/08/16 17:39:21 deraadt Exp $
# $OpenBSD: Makefile,v 1.211 2004/08/26 03:34:15 deraadt Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -258,15 +258,16 @@ release: distribution snap_pre snap_md
cd ${.CURDIR}/../distrib/sets && exec ${SUDO} sh maketars ${OSrev}
-cp ${DESTDIR}/snapshot/bsd* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/*boot* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/cdbr ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/*BOOT* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/cd*.iso ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/INSTALL.* ${RELEASEDIR}
-cp ${DESTDIR}/snapshot/*.fs ${DESTDIR}/snapshot/*.fs.gz ${RELEASEDIR}
-cd ${RELEASEDIR}; \
md5 bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.iso *.gz *.tgz \
md5 bsd!(*.gz) *boot* cdbr *BOOT* INSTALL.* *.fs *.iso *.gz *.tgz \
> MD5
-cd ${RELEASEDIR}; \
cksum bsd!(*.gz) *boot* *BOOT* INSTALL.* *.fs *.iso *.gz *.tgz \
cksum bsd!(*.gz) *boot* cdbr *BOOT* INSTALL.* *.fs *.iso *.gz *.tgz \
> CKSUM
.if defined(MACHINE_HAS_TOOLS)
mkdir -p ${RELEASEDIR}/tools
@ -372,7 +373,7 @@ distrib:
DHSIZE=1024 1536 2048 3072 4096
update-moduli:
( \
echo '# $$OpenBSD: Makefile,v 1.210 2004/08/16 17:39:21 deraadt Exp $$'; \
echo '# $$OpenBSD: Makefile,v 1.211 2004/08/26 03:34:15 deraadt Exp $$'; \
echo '# Time Type Tests Tries Size Generator Modulus'; \
( for i in ${DHSIZE}; do \
ssh-keygen -b $$i -G /dev/stdout; \


+ 3
- 1
src/etc/etc.amd64/Makefile.inc View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.5 2004/06/25 11:03:36 deraadt Exp $
# $OpenBSD: Makefile.inc,v 1.6 2004/08/26 03:34:16 deraadt Exp $
.ifdef DESTDIR
snap_md: bsd bsd.mp distrib bootblocks
@ -19,6 +19,8 @@ bsd.mp:
bootblocks:
cp ${DESTDIR}/usr/mdec/pxeboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/cdboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/cdbr ${DESTDIR}/snapshot
.PHONY: bsd bootblocks


+ 3
- 1
src/etc/etc.i386/Makefile.inc View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.13 2004/06/13 22:05:14 deraadt Exp $
# $OpenBSD: Makefile.inc,v 1.14 2004/08/26 03:34:16 deraadt Exp $
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
.ifdef DESTDIR
@ -23,6 +23,8 @@ notes:
bootblocks:
cp ${DESTDIR}/usr/mdec/pxeboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/cdboot ${DESTDIR}/snapshot
cp ${DESTDIR}/usr/mdec/cdbr ${DESTDIR}/snapshot
.PHONY: bsd notes bootblocks


Loading…
Cancel
Save