Lines 5-11
source ${clst_shdir}/support/functions.sh
Link Here
|
5 |
## START RUNSCRIPT |
5 |
## START RUNSCRIPT |
6 |
|
6 |
|
7 |
# Check for our CD ISO creation tools |
7 |
# Check for our CD ISO creation tools |
8 |
case ${clst_hostarch} in |
8 |
case ${clst_basearch} in |
9 |
alpha) |
9 |
alpha) |
10 |
cdmaker="xorriso" |
10 |
cdmaker="xorriso" |
11 |
cdmakerpkg="dev-libs/libisoburn" |
11 |
cdmakerpkg="dev-libs/libisoburn" |
Lines 42-48
if [ -z "${clst_iso_volume_id}" ]
Link Here
|
42 |
then |
42 |
then |
43 |
case ${clst_livecd_type} in |
43 |
case ${clst_livecd_type} in |
44 |
gentoo-*) |
44 |
gentoo-*) |
45 |
case ${clst_hostarch} in |
45 |
case ${clst_basearch} in |
46 |
alpha) |
46 |
alpha) |
47 |
clst_iso_volume_id="Gentoo Linux - Alpha" |
47 |
clst_iso_volume_id="Gentoo Linux - Alpha" |
48 |
;; |
48 |
;; |
Lines 119-125
run_mkisofs() {
Link Here
|
119 |
} |
119 |
} |
120 |
|
120 |
|
121 |
# Here we actually create the ISO images for each architecture |
121 |
# Here we actually create the ISO images for each architecture |
122 |
case ${clst_hostarch} in |
122 |
case ${clst_basearch} in |
123 |
alpha) |
123 |
alpha) |
124 |
isoroot_checksum |
124 |
isoroot_checksum |
125 |
|
125 |
|
Lines 195-206
case ${clst_hostarch} in
Link Here
|
195 |
isoroot_checksum |
195 |
isoroot_checksum |
196 |
|
196 |
|
197 |
extra_opts=("-joliet" "-iso-level" "3") |
197 |
extra_opts=("-joliet" "-iso-level" "3") |
198 |
case ${clst_hostarch} in |
198 |
case ${clst_basearch} in |
199 |
sparc*) extra_opts+=("--sparc-boot") ;; |
199 |
sparc*) extra_opts+=("--sparc-boot") ;; |
200 |
esac |
200 |
esac |
201 |
|
201 |
|
202 |
echo ">> Running grub-mkrescue to create iso image...." |
202 |
echo ">> Running grub-mkrescue to create iso image...." |
203 |
grub-mkrescue "${extra_opts[@]}" -o "${1}" "${clst_target_path}" |
203 |
grub-mkrescue "${extra_opts[@]}" -o "${1}" "${clst_target_path}" |
204 |
;; |
204 |
;; |
|
|
205 |
*) |
206 |
die "Cannot create ISO image: unsupported ARCH=${clst_basearch}" |
207 |
;; |
205 |
esac |
208 |
esac |
206 |
exit $? |
209 |
exit $? |