Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32449 Details for
Bug 51396
2004.2 beta livecd test bug (all bugs in the beta cds are tracked here)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
livecd/runscript/x86-archscript.sh
x86-archscript.sh (text/plain), 2.91 KB, created by
Chris Gianelloni (RETIRED)
on 2004-06-01 05:51:29 UTC
(
hide
)
Description:
livecd/runscript/x86-archscript.sh
Filename:
MIME Type:
Creator:
Chris Gianelloni (RETIRED)
Created:
2004-06-01 05:51:29 UTC
Size:
2.91 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo/src/catalyst/livecd/runscript/x86-archscript.sh,v 1.7 2004/05/19 12:40:03 zhen Exp $ > >case $1 in > kernel) > ;; > > preclean) > ;; > > clean) > ;; > > bootloader) > # CDFSTYPE and loop_opts are exported from the default > # runscript > > # Time to create a filesystem tree for the ISO at $clst_cdroot_path. > # We extract the "cdtar" to this directory, which will normally contains a pre-built > # binary boot-loader/filesystem skeleton for the ISO. > > cdtar=$clst_livecd_cdtar > [ "$cdtar" = "" ] && die "No livecd/cdtar specified (required)" > tar xjpvf $cdtar -C $clst_cdroot_path || die "Couldn't extract cdtar $cdtar" > [ "$clst_boot_kernel" = "" ] && die "No boot/kernel setting defined, exiting." > first="" > for x in $clst_boot_kernel > do > if [ "$first" = "" ] > then > #grab name of first kernel > first="$x" > fi > [ ! -e "$clst_chroot_path/tmp/binaries/$x.tar.bz2" ] && die "Can't find kernel tarball at $clst_chroot_path/tmp/binaries/$x.tar.bz2" > tar xjvf $clst_chroot_path/tmp/binaries/$x.tar.bz2 -C $clst_cdroot_path/isolinux > #change kernel name from "kernel" to "gentoo", for example > mv $clst_cdroot_path/isolinux/kernel* $clst_cdroot_path/isolinux/$x > #change initrd name from "initrd" to "gentoo.igz", for example > mv $clst_cdroot_path/isolinux/initrd* $clst_cdroot_path/isolinux/$x.igz > done > icfg=$clst_cdroot_path/isolinux/isolinux.cfg > kmsg=$clst_cdroot_path/isolinux/kernels.msg > hmsg=$clst_cdroot_path/isolinux/help.msg > echo "default $first" > $icfg > echo "timeout 150" >> $icfg > echo "prompt 1" >> $icfg > echo "display boot.msg" >> $icfg > echo "F1 kernels.msg" >> $icfg > echo "F2 help.msg" >> $icfg > > echo "Available kernels:" > $kmsg > cp ${clst_sharedir}/livecd/files/x86-help.msg $hmsg > > for x in ${clst_boot_kernel} > do > > eval custom_kopts=\$${x}_kernelopts > echo "APPENDING CUSTOM KERNEL ARGS: ${custom_kopts}" > echo >> $icfg > echo "label $x" >> $icfg > echo " kernel $x" >> $icfg > echo " append initrd=$x.igz root=/dev/ram0 init=/linuxrc acpi=off ${cmdline_opts} ${custom_kopts} cdroot vga=791 splash=silent" >> $icfg > echo >> $icfg > echo " $x" >> $kmsg > echo "label $x-nofb" >> $icfg > echo " kernel $x" >> $icfg > echo " append initrd=$x.igz root=/dev/ram0 init=/linuxrc acpi=off ${cmdline_opts} ${custom_kopts} cdroot" >> $icfg > echo >> $icfg > echo " ${x}-nofb" >> $kmsg > done > > if [ -f ${clst_cdroot_path}/isolinux/memtest86 ] > then > echo >> $icfg > echo " memtest86" >> $kmsg > echo "label memtest86" >> $icfg > echo " kernel memtest86" >> $icfg > fi > ;; > > cdfs) > ;; > > iso) > #this is for the livecd-final target, and calls the proper command to build the iso file > mkisofs -J -R -l -o ${2} -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -z ${clst_cdroot_path} > ;; >esac
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 51396
:
31664
|
31675
|
31676
|
31693
|
31713
|
31766
|
31774
|
32447
|
32448
|
32449
|
32450
|
32451
|
32452
|
32453
|
32458
|
32459
|
32460
|
34347
|
34408
|
34409
|
34410