Index: release/Makefile =========================================================================== --- release/Makefile 2003/06/02 15:10:14 #143 +++ release/Makefile 2003/06/02 15:10:14 @@ -214,6 +214,13 @@ MFSINODE= 8192 MFSLABEL= auto MFSSIZE= 8192 +.elif ${TARGET_ARCH} == "amd64" +BIGBOOTSIZE= 4096 +MFSSIZE= 4096 +BOOTINODE= 8192 +MFSINODE= 8192 +BIGBOOTLABEL= auto +MFSLABEL= auto .endif .if exists(/sbin/bsdlabel) @@ -264,6 +272,9 @@ FIXIT_TARGET= .elif ${TARGET} == "pc98" CRUNCH_TARGETS= boot fixit fixit-small +.elif ${TARGET_ARCH} == "amd64" +CRUNCH_TARGETS= boot +FIXIT_TARGET= .endif .if !defined(CRUNCH_TARGETS) Index: release/amd64/boot_crunch.conf =========================================================================== *** /dev/null Mon Jun 2 15:10:03 2003 --- release/amd64/boot_crunch.conf Mon Jun 2 15:10:18 2003 *************** *** 0 **** --- 1,29 ---- + # $FreeBSD: src/release/i386/boot_crunch.conf,v 1.56 2003/01/23 08:30:47 ru Exp $ + + buildopts -DRELEASE_CRUNCH -Dlint + + srcdirs /usr/src/bin + progs hostname pwd rm sh test + ln sh -sh + ln test [ + + srcdirs /usr/src/gnu/usr.bin + progs cpio + + srcdirs /usr/src/sbin + progs dhclient fsck_ffs ifconfig + progs mount_nfs newfs route rtsol + progs slattach tunefs camcontrol + + srcdirs /usr/src/usr.bin + progs find minigzip sed + ln minigzip gzip + ln minigzip gunzip + ln minigzip zcat + + srcdirs /usr/src/usr.sbin /usr/src/usr.sbin/pccard + progs arp ppp + progs sysinstall usbd usbdevs + + libs -ll -ledit -lutil -lkvm -lmd -lcrypt -lftpio -lz -lnetgraph + libs -ldialog -lncurses -ldisk -lcam -lsbuf -lufs Index: release/amd64/dokern.sh =========================================================================== *** /dev/null Mon Jun 2 15:10:03 2003 --- release/amd64/dokern.sh Mon Jun 2 15:10:18 2003 *************** *** 0 **** --- 1,52 ---- + #!/bin/sh + # + # $FreeBSD: src/release/i386/dokern.sh,v 1.80 2003/05/18 03:52:22 scottl Exp $ + # + + sed \ + -e '/AHC_REG_PRETTY_PRINT/d' \ + -e '/AHD_REG_PRETTY_PRINT/d' \ + -e '/COMPAT_FREEBSD4/d' \ + -e '/DDB/d' \ + -e '/DEBUG/d' \ + -e '/INVARIANTS/d' \ + -e '/INVARIANT_SUPPORT/d' \ + -e '/KTRACE/d' \ + -e '/NFSSERVER/d' \ + -e '/NFS_ROOT/d' \ + -e '/PROCFS/d' \ + -e '/PSEUDOFS/d' \ + -e '/SOFTUPDATES/d' \ + -e '/SYSV/d' \ + -e '/UFS_DIRHASH/d' \ + -e '/WITNESS/d' \ + -e '/IA32/d' \ + -e '/_KPOSIX_PRIORITY_SCHEDULING/d' \ + -e '/ atapist /d' \ + -e '/ faith /d' \ + -e '/ gif /d' \ + -e '/ lpt /d' \ + -e '/ pass /d' \ + -e '/ pmtimer$/d' \ + -e '/ ppi /d' \ + -e '/ ppp /d' \ + -e '/ pty /d' \ + -e '/ random /d' \ + -e '/ ses /d' \ + -e '/ splash /d' \ + -e '/ ugen /d' \ + -e '/ uhid /d' \ + -e '/ ulpt /d' \ + -e '/ urio /d' \ + -e '/ uscanner /d' \ + -e 's/ident.*GENERIC/ident BOOTMFS/g' + + echo "options MUTEX_NOINLINE" + + echo "options NETGRAPH" + echo "options NETGRAPH_ETHER" + echo "options NETGRAPH_PPPOE" + echo "options NETGRAPH_SOCKET" + + echo "options SCSI_NO_OP_STRINGS" + echo "options SCSI_NO_SENSE_STRINGS" Index: release/amd64/fixit_crunch.conf =========================================================================== *** /dev/null Mon Jun 2 15:10:03 2003 --- release/amd64/fixit_crunch.conf Mon Jun 2 15:10:19 2003 *************** *** 0 **** --- 1,25 ---- + # $FreeBSD: src/release/i386/fixit_crunch.conf,v 1.10 2003/05/17 19:16:28 ru Exp $ + + buildopts -DRELEASE_CRUNCH + + srcdirs /usr/src/bin + progs cat chmod cp dd df echo expr kill + progs ln ls mkdir mv rm rmdir sleep sync + + srcdirs /usr/src/sbin + progs bsdlabel clri dmesg fdisk mknod + progs mount mount_cd9660 mount_msdosfs + progs reboot restore swapon umount + ln bsdlabel disklabel + ln restore rrestore + + srcdirs /usr/src/usr.bin + progs ftp telnet vi + ln vi view + ln vi ex + + srcdirs /usr/src/usr.sbin + progs chown chroot + ln chown chgrp + + libs -ledit -lgeom -lkvm -lm -lncurses -lutil Index: release/amd64/mkisoimages.sh =========================================================================== *** /dev/null Mon Jun 2 15:10:03 2003 --- release/amd64/mkisoimages.sh Mon Jun 2 15:10:19 2003 *************** *** 0 **** --- 1,56 ---- + #!/bin/sh + # + # Module: mkisoimages.sh + # Author: Jordan K Hubbard + # Date: 22 June 2001 + # + # $FreeBSD: src/release/i386/mkisoimages.sh,v 1.7 2002/04/11 16:39:13 jhb Exp $ + # + # This script is used by release/Makefile to build the (optional) ISO images + # for a FreeBSD release. It is considered architecture dependent since each + # platform has a slightly unique way of making bootable CDs. This script + # is also allowed to generate any number of images since that is more of + # publishing decision than anything else. + # + # Usage: + # + # mkisoimages.sh [-b] image-label image-name base-bits-dir [extra-bits-dir] + # + # Where -b is passed if the ISO image should be made "bootable" by + # whatever standards this architecture supports (may be unsupported), + # image-label is the ISO image label, image-name is the filename of the + # resulting ISO image, base-bits-dir contains the image contents and + # extra-bits-dir, if provided, contains additional files to be merged + # into base-bits-dir as part of making the image. + + if [ "x$1" = "x-b" ]; then + # This is highly x86-centric and will be used directly below. + bootable="-b boot/cdboot -no-emul-boot" + shift + else + bootable="" + fi + + if [ $# -lt 3 ]; then + echo Usage: $0 '[-b] image-label image-name base-bits-dir [extra-bits-dir]' + exit 1 + fi + + type mkisofs 2>&1 | grep " is " >/dev/null + if [ $? -ne 0 ]; then + echo The mkisofs port is not installed. Trying to get it now. + if [ -f /usr/ports/sysutils/mkisofs/Makefile ]; then + cd /usr/ports/sysutils/mkisofs && make install && make clean + else + if ! pkg_add -r mkisofs; then + echo "Could not get it via pkg_add - please go install this" + echo "from the ports collection and run this script again." + exit 2 + fi + fi + fi + + LABEL=$1; shift + NAME=$1; shift + + mkisofs $bootable -r -J -V $LABEL -o $NAME $*