Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176869 Details for
Bug 231935
sys-boot/grub-1.96 must be installed unstripped
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
grub-9999.ebuild
grub-9999.ebuild (text/plain), 1.90 KB, created by
Alexey Shvetsov
on 2008-12-30 12:47:01 UTC
(
hide
)
Description:
grub-9999.ebuild
Filename:
MIME Type:
Creator:
Alexey Shvetsov
Created:
2008-12-30 12:47:01 UTC
Size:
1.90 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/grub-9999.ebuild,v 1.3 2008/12/30 11:35:54 vapier Exp $ > >inherit mount-boot eutils flag-o-matic toolchain-funcs > >if [[ ${PV} == "9999" ]] ; then > ESVN_REPO_URI="svn://svn.sv.gnu.org/grub/trunk/grub2" > inherit subversion > SRC_URI="" >else > SRC_URI="ftp://alpha.gnu.org/gnu/${PN}/${P}.tar.gz > mirror://gentoo/${P}.tar.gz" >fi > >DESCRIPTION="GNU GRUB 2 boot loader" >HOMEPAGE="http://www.gnu.org/software/grub/" > >LICENSE="GPL-2" >use multislot && SLOT="2" || SLOT="0" >KEYWORDS="" >IUSE="custom-cflags multislot static" > >DEPEND=">=sys-libs/ncurses-5.2-r5 > dev-libs/lzo" >PROVIDE="virtual/bootloader" > >RESTRICT="strip" >QA_EXECSTACK="sbin/grub-probe sbin/grub-setup" > >src_compile() { > use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS > use static && append-ldflags -static > > econf \ > --sbindir=/sbin \ > --bindir=/bin \ > --libdir=/$(get_libdir) \ > --includedir=/usr/include \ > || die "econf failed" > emake -j1 || die "making regular stuff" >} > >src_install() { > emake DESTDIR="${D}" install || die > dodoc AUTHORS ChangeLog NEWS README THANKS TODO > if use multislot ; then > sed -i s:grub-install:grub2-install: "${D}"/sbin/grub-install > mv "${D}"/sbin/grub{,2}-install || die > mv "${D}"/usr/share/man/man8/grub{,2}-install.8 || die > fi >} > >setup_boot_dir() { > local boot_dir=$1 > local dir=${boot_dir}/grub > > if [[ ! -e ${dir}/grub.cfg ]] ; then > einfo "Running: grub-mkconfig -o '${dir}/grub.cfg'" > grub-mkconfig -o "${dir}/grub.cfg" > fi > > #local install=grub-install > #use multislot && install="grub2-install --grub-setup=/bin/true" > #einfo "Running: ${install} " > #${install} >} > >pkg_postinst() { > if use multislot ; then > elog "You have installed grub2 with USE=multislot, so to coexist" > elog "with grub1, the grub2 install binary is named grub2-install." > fi > setup_boot_dir "${ROOT}"boot >}
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 231935
:
160988
|
176735
|
176811
|
176830
|
176846
|
176869
|
176933
|
176935
|
176938
|
176939
|
176946
|
176948
|
176991
|
177031