Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 699 Details for
Bug 2172
ebuild for memtest86 v2.9
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild script for memtest86
memtest86-2.9.ebuild (text/plain), 1.63 KB, created by
Alastair Nicol
on 2002-04-27 20:14:56 UTC
(
hide
)
Description:
ebuild script for memtest86
Filename:
MIME Type:
Creator:
Alastair Nicol
Created:
2002-04-27 20:14:56 UTC
Size:
1.63 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># Author Alastair Nicol <ifni@blueyonder.co.uk> > >S=${WORKDIR}/${P} >DESCRIPTION="A stand alone memory test for x86 computers" >SRC_URI="http://www.teresaudio.com/memtest86/${P}.tar.gz" >HOMEPAGE="http://www.teresaudio.com/memtest86/" > >DEPEND="virtual/glibc" > >pkg_setup() { > [ "$ROOT" != "/" ] && return 0 > #If the user doesn't have a /boot or /mnt/boot filesystem, skip. > [ -z "`grep /boot /etc/fstab | grep -v "^[ \t]*#"`" ] || return 0 > local myboot > myboot=`cat /etc/fstab | grep -v ^# | grep /boot | sed -e 's/^[^[:space:]]*[[:space:]]*\([^[:space:]]*\).*$/\1/'` > [ `cat /proc/mounts | cut -f2 -d" " | grep $myboot` ] && return 0 > mount $myboot > if [ $? -ne 0 ] > then > eerror "MEMTEST86 installation requires that $myboot is mounted or mountable." > eerror "If you do not have a seperate /boot partition please remove any" > eerror "/boot entries from /etc/fstab and make sure /boot exists." > eerror "" > eerror "Unable to mount $myboot automatically; exiting." > die "Please mount your $myboot filesystema and remerge this ebuild." > fi >} > > >src_compile() { > > emake || die >} > >src_install() { > > dodir /boot/memtest86 > cp memtest.bin ${D}/boot/memtest86 > > dodoc README README.build-process > >} > >pkg_postinst() { > > einfo '*** memtest.bin has been installed in /boot/memtest86, please remember to' > einfo '*** update your boot loader. For example grub :' > einfo "*** edit /boot/grub/menu.lst and add the following lines " > einfo "*** > title=Memtest86" > einfo "*** > root (hd0,0)" > einfo "*** > kernel /boot/memtest86/memtest.bin" >} > >
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 2172
: 699