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
This commit is contained in:
parent
105f4be1ec
commit
e3c768ec2b
@ -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
|
||||
|
@ -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 $*
|
||||
|
@ -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 $*
|
||||
|
@ -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
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user