Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238247 Details for
Bug 324705
Version bump: sys-kernel/dracut-006
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dracut-006-r1.ebuild
dracut-006-r1.ebuild (text/plain), 2.94 KB, created by
Amadeusz Żołnowski (RETIRED)
on 2010-07-10 21:28:42 UTC
(
hide
)
Description:
dracut-006-r1.ebuild
Filename:
MIME Type:
Creator:
Amadeusz Żołnowski (RETIRED)
Created:
2010-07-10 21:28:42 UTC
Size:
2.94 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >inherit eutils mount-boot > >DESCRIPTION="Generic initramfs generation tool" >HOMEPAGE="http://sourceforge.net/projects/dracut/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="btrfs crypt dmraid iscsi lvm multipath nbd nfs mdraid plymouth selinux uswsusp xen" > ># common networking deps >NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils" > >RDEPEND=" > >=app-shells/bash-4.0 > >=app-shells/dash-0.5.4.11 > >=sys-apps/module-init-tools-3.5 > >=sys-apps/sysvinit-2.87-r3 > >=sys-apps/util-linux-2.16 > >=sys-fs/udev-149 > btrfs? ( sys-fs/btrfs-progs ) > crypt? ( sys-fs/cryptsetup ) > dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ) > lvm? ( >=sys-fs/lvm2-2.02.33 ) > mdraid? ( sys-fs/mdadm ) > nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) > iscsi? ( sys-block/open-iscsi[utils] ${NETWORK_DEPS} ) > multipath? ( sys-fs/multipath-tools ) > nbd? ( sys-block/nbd ${NETWORK_DEPS} ) > plymouth? ( >=sys-boot/plymouth-0.8.3 ) > selinux? ( sys-libs/libselinux sys-libs/libsepol ) > uswsusp? ( sys-power/suspend ) > xen? ( app-emulation/xen ) > " >DEPEND="${RDEPEND}" > >src_prepare() { > epatch "${FILESDIR}/${P}-dhcp6.patch" > epatch "${FILESDIR}/${P}-lc-all-c.patch" > epatch "${FILESDIR}/${P}-console_init-not-necessary.patch" >} > >src_compile() { > emake WITH_SWITCH_ROOT=0 prefix=/usr sysconfdir=/etc || die "emake failed" >} > >src_install() { > local modules_dir="${D}/usr/share/dracut/modules.d" > > emake WITH_SWITCH_ROOT=0 \ > prefix=/usr sysconfdir=/etc \ > DESTDIR="${D}" install || die "emake install failed" > echo "${PF}" > "${modules_dir}"/10rpmversion/dracut-version > dodir /boot/dracut /var/lib/dracut/overlay > dodoc HACKING TODO AUTHORS NEWS README* > # disable modules not enabled by use flags > for module in btrfs crypt dmraid lvm mdraid multipath uswsusp xen ; do > ! use ${module} && rm -rf ${modules_dir}/90${module} > done > # disable all network modules > for module in iscsi nbd nfs ; do > ! use ${module} && rm -rf ${modules_dir}/95${module} > done > # if no networking at all, disable the rest > if ! use iscsi && ! use nbd && ! use nfs ; then > rm -rf ${modules_dir}/40network > fi > # disable modules which won't work for sure > rm -rf ${modules_dir}/01fips > rm -rf ${modules_dir}/10redhat-i18n > rm -rf ${modules_dir}/95fcoe >} > >pkg_postinst() { > elog 'To generate the initramfs:' > elog ' # mount /boot (if necessary)' > elog ' # dracut "" <kernel-version>' > elog '' > elog 'For command line documentation, see:' > elog 'http://sourceforge.net/apps/trac/dracut/wiki/commandline' > elog '' > elog 'Simple example to select root and resume partition:' > elog ' root=/dev/???? resume=/dev/????' > elog '' > elog 'Configuration is in /etc/dracut.conf.' > elog 'The default config is very minimal and is highly recommended you' > elog 'adjust based on your needs. To include only drivers for this system,' > elog 'use the "-H" option.' >}
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 324705
:
236347
|
236349
|
236351
| 238247 |
238249