diff options
author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-05-16 14:22:37 +0000 |
---|---|---|
committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2006-05-16 14:22:37 +0000 |
commit | ef6cf7f1f1e981b38b2bd4eb6a729e6f85c0bcc6 (patch) | |
tree | e5999e791ddb16a8a5ea7a93c36ff6f59f50d75d | |
parent | 29aea9ec7ddbeac001c697bfc0a8b007a6b0aa11 (diff) | |
download | src-ef6cf7f1f1e981b38b2bd4eb6a729e6f85c0bcc6.tar.gz src-ef6cf7f1f1e981b38b2bd4eb6a729e6f85c0bcc6.zip |
Make a bootable CD on pc98.
Notes
Notes:
svn path=/head/; revision=158650
-rw-r--r-- | release/Makefile | 6 | ||||
-rw-r--r-- | release/i386/mkisoimages.sh | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/release/Makefile b/release/Makefile index 6bd9e37ff1f9..de5359b8e6d7 100644 --- a/release/Makefile +++ b/release/Makefile @@ -265,9 +265,7 @@ RD= ${_R}/stage RND= ${RD}/release.doc FD= ${_R}/ftp CD= ${_R}/cdrom -.if ${TARGET} != "pc98" CD_BOOT= ${CD}/bootonly -.endif CD_DISC1= ${CD}/disc1 CD_DISC2= ${CD}/disc2 .if defined(SEPARATE_LIVEFS) @@ -308,7 +306,7 @@ EXTRAS+= cdrom.1 cdrom.2 cdrom.3 EXTRAS+= iso.1 .endif .if ${TARGET} == "pc98" -BOOTABLE= +BOOTABLE="-G" .else BOOTABLE="-b" .endif @@ -945,7 +943,6 @@ cdrom.1: @rm -f ${CD_LIVEFS}/.profile @cp ${.CURDIR}/fixit.profile ${CD_LIVEFS}/.profile @ln -sf /rescue ${CD_LIVEFS}/stand -.if ${TARGET} != "pc98" @echo "Setting up CDROM boot area" @rm -f ${CD_LIVEFS}/boot/loader.conf @cp ${RD}/mfsroot/mfsroot.gz ${CD_LIVEFS}/boot/mfsroot.gz @@ -960,7 +957,6 @@ cdrom.1: @echo 'hint.atkbd.0.flags="0x1"' >> ${CD_LIVEFS}/boot/device.hints .endif .endif -.endif @echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf touch ${.TARGET} diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh index cd796e500469..9bb3dbcaac85 100644 --- a/release/i386/mkisoimages.sh +++ b/release/i386/mkisoimages.sh @@ -28,12 +28,15 @@ publisher="The FreeBSD Project. http://www.freebsd.org/" if [ "x$1" = "x-b" ]; then bootable="-b boot/cdboot -no-emul-boot" shift +elif [ "x$1" = "x-G" ]; then + bootable="-G /R/cdrom/bootonly/boot/cdboot" + shift else bootable="" fi if [ $# -lt 3 ]; then - echo Usage: $0 '[-b] image-label image-name base-bits-dir [extra-bits-dir]' + echo Usage: $0 '[-bG] image-label image-name base-bits-dir [extra-bits-dir]' exit 1 fi |