/[gentoo-x86]/sys-boot/grub/grub-9999.ebuild
Gentoo

Diff of /sys-boot/grub/grub-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.39 Revision 1.40
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.39 2011/08/28 10:50:33 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/Attic/grub-9999.ebuild,v 1.40 2011/08/31 11:27:51 alexxy Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7if [[ ${PV} == "9999" ]] ; then 7if [[ ${PV} == "9999" ]] ; then
8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/" 8 EBZR_REPO_URI="http://bzr.savannah.gnu.org/r/grub/trunk/grub/"
13 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz 13 SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.xz
14 mirror://gentoo/${MY_P}.tar.xz" 14 mirror://gentoo/${MY_P}.tar.xz"
15 S=${WORKDIR}/${MY_P} 15 S=${WORKDIR}/${MY_P}
16fi 16fi
17 17
18inherit mount-boot eutils flag-o-matic toolchain-funcs ${LIVE_ECLASS} 18inherit mount-boot eutils flag-o-matic pax-utils toolchain-funcs ${LIVE_ECLASS}
19unset LIVE_ECLASS 19unset LIVE_ECLASS
20 20
21DESCRIPTION="GNU GRUB boot loader" 21DESCRIPTION="GNU GRUB boot loader"
22HOMEPAGE="http://www.gnu.org/software/grub/" 22HOMEPAGE="http://www.gnu.org/software/grub/"
23 23
209 209
210 # slot all collisions with grub legacy 210 # slot all collisions with grub legacy
211 mv "${ED}"/usr/share/info/grub.info \ 211 mv "${ED}"/usr/share/info/grub.info \
212 "${ED}"/usr/share/info/grub2.info || die 212 "${ED}"/usr/share/info/grub2.info || die
213 213
214 # Do pax marking
215 local PAX=(
216 "sbin/grub2-probe"
217 "sbin/grub2-setup"
218 "sbin/grub2-mkdevicemap"
219 "bin/grub2-script-check"
220 "bin/grub2-fstest"
221 "bin/grub2-mklayout"
222 "bin/grub2-menulst2cfg"
223 "bin/grub2-mkrelpath"
224 "bin/grub2-mkpasswd-pbkdf2"
225 "bin/grub2-editenv"
226 "bin/grub2-mkimage"
227 )
228 for e in ${PAX[@]}; do
229 pax-mark -mpx "${ED}/${e}"
230 done
231
214 # can't be in docs array as we use defualt_src_install in different builddir 232 # can't be in docs array as we use defualt_src_install in different builddir
215 dodoc AUTHORS ChangeLog NEWS README THANKS TODO 233 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
216 insinto /etc/default 234 insinto /etc/default
217 newins "${FILESDIR}"/grub.default grub 235 newins "${FILESDIR}"/grub.default grub
218 cat <<EOF >> "${ED}"/lib*/grub2/grub-mkconfig_lib 236 cat <<EOF >> "${ED}"/lib*/grub2/grub-mkconfig_lib

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

  ViewVC Help
Powered by ViewVC 1.1.20