aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Stokely <murray@FreeBSD.org>2004-07-15 09:28:03 +0000
committerMurray Stokely <murray@FreeBSD.org>2004-07-15 09:28:03 +0000
commitf00964812021d6d7478a52eb9050af2c5c4a61e3 (patch)
tree24ab3c6bd8e9e9570501a75ff804b4e758bd1c19
parentde3b3c0e74f94c9dd1a5bd3a865ac8253473c4de (diff)
downloadsrc-f00964812021d6d7478a52eb9050af2c5c4a61e3.tar.gz
src-f00964812021d6d7478a52eb9050af2c5c4a61e3.zip
Add a publisher variable with the URL for the FreeBSD Project, and put
this into the ISO headers by specifying the -P option to mkisofs. Obtained from: share/examples/worm/makecdfs.sh
Notes
Notes: svn path=/head/; revision=132203
-rw-r--r--release/alpha/mkisoimages.sh4
-rw-r--r--release/amd64/mkisoimages.sh3
-rw-r--r--release/i386/mkisoimages.sh4
-rw-r--r--release/ia64/mkisoimages.sh3
-rw-r--r--release/sparc64/mkisoimages.sh3
5 files changed, 12 insertions, 5 deletions
diff --git a/release/alpha/mkisoimages.sh b/release/alpha/mkisoimages.sh
index a115c894d2c4..f23ec6f06238 100644
--- a/release/alpha/mkisoimages.sh
+++ b/release/alpha/mkisoimages.sh
@@ -23,6 +23,8 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
+publisher="The FreeBSD Project. http://www.freebsd.org/"
+
if [ "x$1" = "x-b" ]; then
bootable="yes"
shift
@@ -50,7 +52,7 @@ fi
LABEL=$1; shift
NAME=$1; shift
-mkisofs -r -J -V $LABEL -o $NAME $*
+mkisofs -r -J -V $LABEL -P "$publisher" -o $NAME $*
type setcdboot 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh
index 6d97d4949d9f..9668480361a2 100644
--- a/release/amd64/mkisoimages.sh
+++ b/release/amd64/mkisoimages.sh
@@ -23,6 +23,7 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
+publisher="The FreeBSD Project. http://www.freebsd.org/"
if [ "x$1" = "x-b" ]; then
# This is highly x86-centric and will be used directly below.
bootable="-b boot/cdboot -no-emul-boot"
@@ -53,4 +54,4 @@ fi
LABEL=$1; shift
NAME=$1; shift
-mkisofs $bootable -r -J -V $LABEL -o $NAME $*
+mkisofs $bootable -r -J -V $LABEL -P "$publisher" -o $NAME $*
diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh
index 59fa09468aaf..b02ca91814ae 100644
--- a/release/i386/mkisoimages.sh
+++ b/release/i386/mkisoimages.sh
@@ -23,6 +23,8 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
+publisher="The FreeBSD Project. http://www.freebsd.org/"
+
if [ "x$1" = "x-b" ]; then
bootable="-b boot/cdboot -no-emul-boot"
shift
@@ -55,4 +57,4 @@ fi
LABEL=$1; shift
NAME=$1; shift
-mkisofs $bootable -r -J -V $LABEL -o $NAME $*
+mkisofs $bootable -r -J -V $LABEL -P "$publisher" -o $NAME $*
diff --git a/release/ia64/mkisoimages.sh b/release/ia64/mkisoimages.sh
index b609595e62ab..d7b38b2412d8 100644
--- a/release/ia64/mkisoimages.sh
+++ b/release/ia64/mkisoimages.sh
@@ -23,6 +23,7 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
+publisher="The FreeBSD Project. http://www.freebsd.org/"
set -e
# The hackery function is to help with the development of the release
@@ -91,6 +92,6 @@ if [ $bootable = yes ]; then
BOOTOPTS="-b $EFIPART -no-emul-boot"
fi
-mkisofs $BOOTOPTS -r -J -V $LABEL -o $NAME $BASE $*
+mkisofs $BOOTOPTS -r -J -V $LABEL -P "$publisher" -o $NAME $BASE $*
rm -f $BASE/$EFIPART
exit 0
diff --git a/release/sparc64/mkisoimages.sh b/release/sparc64/mkisoimages.sh
index 5f9c1dc44645..bc91d62767fa 100644
--- a/release/sparc64/mkisoimages.sh
+++ b/release/sparc64/mkisoimages.sh
@@ -23,6 +23,7 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
+publisher="The FreeBSD Project. http://www.freebsd.org/"
IMG=/tmp/bootfs
MNT=/mnt
@@ -65,5 +66,5 @@ fi
LABEL=$1; shift
NAME=$1; shift
-mkisofs $bootable -r -J -V $LABEL -o $NAME $*
+mkisofs $bootable -r -J -V $LABEL -P "$publisher" -o $NAME $*
rm -f ${IMG}