1999-11-11 16:10:37 -01:00
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
# Copyright 1999 Rapha<68>l Hertzog <hertzog@debian.org>
|
|
|
|
|
# See the README file for the license.
|
|
|
|
|
|
|
|
|
|
# This script does output additionnal mkisofs options
|
|
|
|
|
# depending on the ARCH and the CD number.
|
|
|
|
|
|
|
|
|
|
# Type can be "bin" or "src"
|
|
|
|
|
TYPE=$1
|
|
|
|
|
# The CD number
|
|
|
|
|
CD=$2
|
|
|
|
|
|
|
|
|
|
# No additional options by default
|
|
|
|
|
OPTS=
|
|
|
|
|
|
|
|
|
|
case "$ARCH" in
|
|
|
|
|
i386)
|
2018-02-10 11:09:56 -01:00
|
|
|
|
OPTS="-J -joliet-long"
|
1999-11-11 16:10:37 -01:00
|
|
|
|
;;
|
2004-12-08 21:41:18 -01:00
|
|
|
|
amd64)
|
2018-02-10 11:09:56 -01:00
|
|
|
|
OPTS="-J -joliet-long"
|
2004-12-08 21:41:18 -01:00
|
|
|
|
;;
|
1999-11-11 16:10:37 -01:00
|
|
|
|
alpha)
|
2018-02-10 11:09:56 -01:00
|
|
|
|
OPTS="-J -joliet-long"
|
2018-02-09 23:35:30 -01:00
|
|
|
|
;;
|
|
|
|
|
arm*)
|
2018-02-10 11:09:56 -01:00
|
|
|
|
OPTS="-J -joliet-long"
|
2018-02-09 23:35:30 -01:00
|
|
|
|
;;
|
|
|
|
|
s390*)
|
2018-02-10 11:09:56 -01:00
|
|
|
|
OPTS="-J -joliet-long"
|
1999-11-11 16:10:37 -01:00
|
|
|
|
;;
|
|
|
|
|
*)
|
2018-02-09 23:35:30 -01:00
|
|
|
|
#No options by default - don't know about other arches
|
1999-11-11 16:10:37 -01:00
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
echo -n "$OPTS "
|