diff options
author | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2011-03-29 16:36:10 +0000 |
---|---|---|
committer | Amadeusz Żołnowski <aidecoe@gentoo.org> | 2011-03-29 16:36:10 +0000 |
commit | 9ae3fba6d8a31d8c9a258a03526bd0042a1c1ae4 (patch) | |
tree | 93e1be0594f0a43840b2b27e5bb0aa381031d7c2 /sys-kernel/dracut | |
parent | Add back mp3 useflag and enable external mpet123 as the implementation for it... (diff) | |
download | historical-9ae3fba6d8a31d8c9a258a03526bd0042a1c1ae4.tar.gz historical-9ae3fba6d8a31d8c9a258a03526bd0042a1c1ae4.tar.bz2 historical-9ae3fba6d8a31d8c9a258a03526bd0042a1c1ae4.zip |
sys-kernel/dracut: Removed ancient versions (002-006) and broken
dracut-009.ebuild.
Package-Manager: portage-2.1.9.45/cvs/Linux x86_64
Diffstat (limited to 'sys-kernel/dracut')
-rw-r--r-- | sys-kernel/dracut/ChangeLog | 7 | ||||
-rw-r--r-- | sys-kernel/dracut/Manifest | 28 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-002-r1.ebuild | 87 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-003.ebuild | 78 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-004.ebuild | 78 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-006-r1.ebuild | 153 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-006.ebuild | 91 | ||||
-rw-r--r-- | sys-kernel/dracut/dracut-009.ebuild | 212 | ||||
-rw-r--r-- | sys-kernel/dracut/metadata.xml | 1 |
9 files changed, 15 insertions, 720 deletions
diff --git a/sys-kernel/dracut/ChangeLog b/sys-kernel/dracut/ChangeLog index 65a6466d3464..867a10f37189 100644 --- a/sys-kernel/dracut/ChangeLog +++ b/sys-kernel/dracut/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-kernel/dracut # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.17 2011/03/29 12:17:24 aidecoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/ChangeLog,v 1.18 2011/03/29 16:36:10 aidecoe Exp $ + + 29 Mar 2011; Amadeusz Żołnowski <aidecoe@gentoo.org> -dracut-002-r1.ebuild, + -dracut-003.ebuild, -dracut-004.ebuild, -dracut-006.ebuild, + -dracut-006-r1.ebuild, -dracut-009.ebuild, metadata.xml: + Removed ancient versions and broken dracut-009.ebuild. *dracut-009-r1 (29 Mar 2011) diff --git a/sys-kernel/dracut/Manifest b/sys-kernel/dracut/Manifest index 052d76fbde13..f3982b72dab3 100644 --- a/sys-kernel/dracut/Manifest +++ b/sys-kernel/dracut/Manifest @@ -18,33 +18,23 @@ AUX dracut-008-i18n-config-file-parsing-in-hostonly.patch 966 RMD160 3d37f7f3009 AUX dracut-008-multipath-udev-rules.patch 852 RMD160 b215724ca292f6e7faa94f9e29aea3cd910a85be SHA1 5e00b4032c26dfbe794c0dc43b6d783e9f744983 SHA256 464566649128b42d5735b6d4521b01d6f826b3857e889a1f313448b2f4eae246 AUX dracut-009-don-t-skip-zero-length-string-outfile.patch 950 RMD160 1cd175424227556503e834cba87c94f6fc8a183b SHA1 d3a3d0574d1bc8e8fac7ef07a4b87aa72248387d SHA256 b6b9d10da95495b33b8cb9f6eac7b675fe2ffbb18d9d573ca48ba62df37915f3 AUX dracut-009-multipath-udev-rules.patch 848 RMD160 99527326b1c5c33647a750d4bba2da9b6b5f0c92 SHA1 353c065322645f063fd3ae90ece7635eab8225ed SHA256 0e2215897b7cbac1bf9c84b42d6eb8af4438674934749bc339f768cba6662c18 -DIST dracut-002.tar.bz2 68444 RMD160 9cfd1a29c01506fe36611745cf40a36a71502435 SHA1 dd86eac785486d5aff1d8529a67e4522f5519b54 SHA256 c667fa44b76553c49a463b0c40ac8aa3bb0bd401e18016190158abe85c0d736f -DIST dracut-003.tar.bz2 82841 RMD160 627ce019f739787a4048d5d1d461619c0b0c51e2 SHA1 2921127f01042d59f5b1d6e2697aad2b0dff0dc9 SHA256 ca1545e48143d059ea82c4de7669e11fbb20f4225a0e63a62b55f27188cbe50b -DIST dracut-004.tar.bz2 86057 RMD160 13cd737aa2c68fb281af914541c2791de7de8366 SHA1 870f1f32a14a8f8b8ca8b15806dc4f2418fe1577 SHA256 2ce114b861965cadc004e9e7fb34b810b6b823d85521249cb87db302b63e1eea -DIST dracut-006.tar.bz2 88986 RMD160 e477b3e7d55f450613d4d4b0e7e15816fc943ca1 SHA1 851f8c19a7624e87b2fcae15eba793d0e9b2e101 SHA256 88831d055e1139616a57d5446fecb9f3349dd0edc7c64aa024d7f5ca7e7538fc DIST dracut-007.tar.bz2 99629 RMD160 5bb9d1e89e3d7b3a024369eecb594e71a359778d SHA1 38f2e74f127f682eac4dc7da30ee0ea8debfff1f SHA256 6d58778bcf24b46c82cc72c7d6f5cc1e7bac7f3f9c33aa542052583bd00d20e1 DIST dracut-008.tar.bz2 136218 RMD160 2804a92c99539c19af54f256da2ceca34cff110a SHA1 7a3d3133ee52d824f11c9b2ccfca56fb983bda81 SHA256 f0cb0e022064c5b2fe02af9906f19ad77000d5f1813fe6cd57b037aaee921d31 DIST dracut-009.tar.bz2 143623 RMD160 bf9126fd1310f74bf78917f8ea374ded15e7359c SHA1 4b8efde1ac7e82d740873f051309b1fc946a21c4 SHA256 791b4167f78e5c553bdd4165f4753bbe54a3662d90fc7ef695dd15c5c95f68c7 -EBUILD dracut-002-r1.ebuild 2833 RMD160 8833ea7680a1a03e4ab79dc6020de39e1e70df1d SHA1 9af0c9f35f3d526b110bbddad7ab89b4480e27f6 SHA256 e6047fd603226bd9e78dc359522952ea26723dc27a5404ed5685de1925605c96 -EBUILD dracut-003.ebuild 2479 RMD160 ee169ce1f2658e6158d754cf42f171d9a810b6ba SHA1 ce465d891e920340af4f251012ce6033e9cc8002 SHA256 5663e2616f299d1f157a55106be8b859e01009d20bd64a51e18102345a244f6e -EBUILD dracut-004.ebuild 2479 RMD160 f93fc7e4ecca21461ec1df0f78b61a33a89b3c9d SHA1 667e8d6d9d13c34f95a3b2babab96c19ccd8c18c SHA256 ed290957b745d29e5eb54a0e588c6f4c590b8ef99fb17cba6d29caab582dfa1e -EBUILD dracut-006-r1.ebuild 4097 RMD160 0c681c25387ca5c48578b5ee5348b3c1880335a4 SHA1 29b04818920b384441c8bd0cee236d1af8782a84 SHA256 8d54113b754d8d1b92f33772fc3f56a6ddeb36b1f340de12f365adba5d8c2a4d -EBUILD dracut-006.ebuild 2902 RMD160 93b6e82c389c9f4fe5608b22fdf9d9eb39656341 SHA1 c41a4b161e812ffabd512e8f19906fc3ae35b872 SHA256 5c6983b58113fbbe0c208f0ab1db0c7511a1e9640c3116f193034f607b514275 EBUILD dracut-007.ebuild 4816 RMD160 3812816e7d41a564f124a4ce6b8d171cfc5060c3 SHA1 783cf18f6c110881512332120c853f74e760ce71 SHA256 9e45d69f1ab6304c07401739b6c3e027281fd87a41d95293981772f701b7d72f EBUILD dracut-008-r1.ebuild 5831 RMD160 0db8d18a0387c4769e652080f955e03be6364f70 SHA1 f214b1dc8c8e80021af73ef6f06460f99084027f SHA256 063807d219e84f1ec2f3b8af0be0b1023dd11ec9c4c17d1804a8605c6135bb51 EBUILD dracut-008.ebuild 5744 RMD160 164ad9849da18ff05acaf28b0033cd6670040378 SHA1 ff917591bbc2b8262731b21aaf616c98fa9720b0 SHA256 448f7370344e0c4327db320401c503d2376cd3ecca0184a487fa578e21b4db90 EBUILD dracut-009-r1.ebuild 5911 RMD160 9ca9b6f32fbccb9f1b256d178da324c0408ec8cd SHA1 12d79150f7a8ad6e7f9117ba6c8618bcca1cd2bd SHA256 68ca1f5c20c6c7703c65f0bec02b6ffb9e8e143fd31823d2e4ed85b4212b400c -EBUILD dracut-009.ebuild 5922 RMD160 a75d7884dd33800c5f38ac361abca52274157ba0 SHA1 38f4723d20eac31190f0fd2181a2bf762d4fbef4 SHA256 018986a908c44f10216e12e8f9c2db1611aab95615e57c8244d8b855f9678ef5 -MISC ChangeLog 5542 RMD160 278f6d727ffaec680a1814e6f99b43d5c83f1eaf SHA1 0cb8e9d0b5d94e7fe90e667e5a00bcbfe22891c4 SHA256 77fe5f15037a16f9c26dafeb98e64144b763b8ebb5ec952c053bea93347d1440 -MISC metadata.xml 1820 RMD160 6e51027b7113eb28371e85618e636bf6ee1a3942 SHA1 63b26083897f28ae527b3d580f30981e60ebbf7d SHA256 cb8e1b5f04b63b4832c38fc1dd9e95501bcffa41f6f79fe6e251bfc7c702e5c3 +MISC ChangeLog 5801 RMD160 8fd49144a6b28eda46fde2567a3152083e047ed1 SHA1 c2a26ef1dac3c4c8a5cf770f5bf4fd998071daf2 SHA256 f22085f1bdd14b301d43d4565ea0ea3b77a0f2c0ec0c1620df2783bc7a737ec6 +MISC metadata.xml 1725 RMD160 39ad0c0c425b5422045655565f4fb4ac0b466ae8 SHA1 cf1a5835711f3cf7b5b25a49dc046d9493f1c6ea SHA256 572c681c3a7996183b74fe19a6da477dccc4184c6f0d0e7c0608f6909611048a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iQEcBAEBAgAGBQJNkc3ZAAoJEPATRTHh2/q13SEH/00JR1VvjQp0h4teIeeL63au -AR3l3ztvb4l6Uq8OwmVhufTcLzz/xBV0ToqcJF9Pyf28YR7lbJi6f1pUXm8A94o+ -lqIso86Ug6HDVmHbY8pf5x6DD1Mm+jN9pYl107Yr70Ro3f7Pb6omhEUZ2eMfdHO+ -XtG4z9gXRvkCst2XmLx+psBQDF6O3bmkzyF5IcqFC7EA4xXtUT/daH9JC+tj4O+F -JUk7TXSVV+nuTiFgr6ZSO02kR7UxA3/3+9SyV5DSTnnTF6B5ck8Dcn47JAO6orEL -QxhvUFPJ0Uc6O8tcxg3cEG9QLY0xNKwp1Plof7Bqe1opOCL8SsumgLLAqkE9cyk= -=PiHK +iQEcBAEBAgAGBQJNkgp/AAoJEPATRTHh2/q14lcIAITneuNwbjkKoSImdL1FmFAf +rthT30oCduuolEVTsNMbmL9QKwxb3d/0DxfJ3pqAV7+gmLIDHdoacVFIhmwfde11 +rZoJrYcX0uFVEB1HMQF+ihks0sNTI6LeipgnuNdBGf6oqCZQJFFZ6d4d+ZqWvFYe +7CwNIShkZZ/eMCGvkZLUU2uw/kWa46nWKiWCO8kQYlJZf5qPR+mrTublJpJmbcv6 +NhZXYXUVjFXaQK3vKohbT5Gm+jbciBI8RF0b4wR1bL6r/4nmBooZtnPgvOSPcWex +VvFYUNQQ/Gp/ASAYtF6u7C4NntYnOQHLKXAsMB2UVv/q9pHaAq4HxwfyoOMoqJw= +=82Um -----END PGP SIGNATURE----- diff --git a/sys-kernel/dracut/dracut-002-r1.ebuild b/sys-kernel/dracut/dracut-002-r1.ebuild deleted file mode 100644 index 2d073c3a1982..000000000000 --- a/sys-kernel/dracut/dracut-002-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-002-r1.ebuild,v 1.3 2011/03/21 12:39:05 aidecoe Exp $ - -EAPI=2 - -inherit eutils mount-boot - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crypt dmraid iscsi lvm nbd nfs md selinux" -RESTRICT="test" - -# common networking deps -NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils" - -RDEPEND="app-shells/dash - >=sys-apps/module-init-tools-3.6 - >=sys-apps/util-linux-2.16 - crypt? ( sys-fs/cryptsetup ) - dmraid? ( sys-fs/dmraid ) - lvm? ( >=sys-fs/lvm2-2.02.33 ) - md? ( sys-fs/mdadm ) - nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) - iscsi? ( sys-block/open-iscsi[utils] ${NETWORK_DEPS} ) - nbd? ( sys-block/nbd ${NETWORK_DEPS} ) - selinux? ( sys-libs/libselinux sys-libs/libsepol )" -DEPEND="${RDEPEND}" - -src_prepare() { - epatch "${FILESDIR}/${P}-unmount.patch" - epatch "${FILESDIR}/${P}-custom-paths.patch" - epatch "${FILESDIR}/${P}-dir-symlinks.patch" - epatch "${FILESDIR}/${P}-add-missing-functions.patch" - epatch "${FILESDIR}/${P}-gencmdline-check-for-keyboard-i18n-files.patch" - epatch "${FILESDIR}/${P}-makefile-add-with_switch_root.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 crypt dmraid lvm md ; 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 - rm -rf ${modules_dir}/95fcoe - fi -} - -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.' -} diff --git a/sys-kernel/dracut/dracut-003.ebuild b/sys-kernel/dracut/dracut-003.ebuild deleted file mode 100644 index 84d8476f7d42..000000000000 --- a/sys-kernel/dracut/dracut-003.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-003.ebuild,v 1.3 2011/03/21 12:39:04 aidecoe Exp $ - -EAPI=2 - -inherit mount-boot - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crypt dmraid iscsi lvm nbd nfs md selinux" -RESTRICT="test" - -# common networking deps -NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils" - -RDEPEND="app-shells/dash - >=sys-apps/module-init-tools-3.6 - >=sys-apps/util-linux-2.16 - crypt? ( sys-fs/cryptsetup ) - dmraid? ( sys-fs/dmraid ) - lvm? ( >=sys-fs/lvm2-2.02.33 ) - md? ( sys-fs/mdadm ) - nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) - iscsi? ( sys-block/open-iscsi[utils] ${NETWORK_DEPS} ) - nbd? ( sys-block/nbd ${NETWORK_DEPS} ) - selinux? ( sys-libs/libselinux sys-libs/libsepol )" -DEPEND="${RDEPEND}" - -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 crypt dmraid lvm md ; 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 - rm -rf ${modules_dir}/95fcoe - fi -} - -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.' -} diff --git a/sys-kernel/dracut/dracut-004.ebuild b/sys-kernel/dracut/dracut-004.ebuild deleted file mode 100644 index db305a2b020a..000000000000 --- a/sys-kernel/dracut/dracut-004.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-004.ebuild,v 1.3 2011/03/21 12:39:05 aidecoe Exp $ - -EAPI=2 - -inherit mount-boot - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crypt dmraid iscsi lvm nbd nfs md selinux" -RESTRICT="test" - -# common networking deps -NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils" - -RDEPEND="app-shells/dash - >=sys-apps/module-init-tools-3.6 - >=sys-apps/util-linux-2.16 - crypt? ( sys-fs/cryptsetup ) - dmraid? ( sys-fs/dmraid ) - lvm? ( >=sys-fs/lvm2-2.02.33 ) - md? ( sys-fs/mdadm ) - nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) - iscsi? ( sys-block/open-iscsi[utils] ${NETWORK_DEPS} ) - nbd? ( sys-block/nbd ${NETWORK_DEPS} ) - selinux? ( sys-libs/libselinux sys-libs/libsepol )" -DEPEND="${RDEPEND}" - -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 crypt dmraid lvm md ; 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 - rm -rf ${modules_dir}/95fcoe - fi -} - -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.' -} diff --git a/sys-kernel/dracut/dracut-006-r1.ebuild b/sys-kernel/dracut/dracut-006-r1.ebuild deleted file mode 100644 index 980b234a54e8..000000000000 --- a/sys-kernel/dracut/dracut-006-r1.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-006-r1.ebuild,v 1.4 2011/03/21 12:39:04 aidecoe Exp $ - -EAPI=2 - -inherit eutils mount-boot - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -COMMON_IUSE="btrfs debug mdraid multipath selinux syslog uswsusp xen" -NETWORK_IUSE="iscsi nbd nfs" -DM_IUSE="crypt dmraid dmsquash-live lvm" -IUSE="${COMMON_IUSE} ${DM_IUSE} ${NETWORK_IUSE}" -RESTRICT="test" - -# common networking deps -NETWORK_DEPS="net-misc/bridge-utils >=net-misc/dhcp-3.1.2_p1 sys-apps/iproute2" -DM_DEPS="|| ( sys-fs/device-mapper >=sys-fs/lvm2-2.02.33 )" - -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 ${DM_DEPS} ) - debug? ( dev-util/strace ) - dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ${DM_DEPS} ) - dmsquash-live? ( sys-apps/eject ${DM_DEPS} ) - iscsi? ( sys-block/open-iscsi[utils] ${NETWORK_DEPS} ) - lvm? ( >=sys-fs/lvm2-2.02.33 ) - mdraid? ( sys-fs/mdadm ) - multipath? ( sys-fs/multipath-tools ) - nbd? ( sys-block/nbd ${NETWORK_DEPS} ) - nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) - selinux? ( sys-libs/libselinux sys-libs/libsepol ) - syslog? ( || ( app-admin/syslog-ng app-admin/rsyslog ) ) - uswsusp? ( sys-power/suspend ) - xen? ( app-emulation/xen ) - " -DEPEND="${RDEPEND}" - -# -# Helper functions -# - -# Returns true if any of specified modules is enabled by USE flag and false -# otherwise. -# $1 = list of modules (which have corresponding USE flags of the same name) -any_module() { - local m modules=" $@ " - - for m in ${modules}; do - ! use $m && modules=${modules/ $m / } - done - - shopt -s extglob - modules=${modules%%+( )} - shopt -u extglob - - [[ ${modules} ]] -} - -# Removes module from modules.d. -# $1 = module name -# Module name can be specified without number prefix. -rm_module() { - local m - - for m in $@; do - if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then - rm -rf "${modules_dir}"/$m - else - rm -rf "${modules_dir}"/[0-9][0-9]$m - fi - done -} - -# -# ebuild functions -# - -src_prepare() { - epatch "${FILESDIR}/${P}-dhcp6.patch" - epatch "${FILESDIR}/${P}-lc-all-c.patch" - epatch "${FILESDIR}/${P}-dm-udev-rules.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() { - emake WITH_SWITCH_ROOT=0 \ - prefix=/usr sysconfdir=/etc \ - DESTDIR="${D}" install || die "emake install failed" - - dodir /boot/dracut /var/lib/dracut/overlay - dodoc HACKING TODO AUTHORS NEWS README* - - # - # Modules - # - local module - modules_dir="${D}/usr/share/dracut/modules.d" - - echo "${PF}" > "${modules_dir}"/10rpmversion/dracut-version - - # Disable modules not enabled by USE flags - for module in ${IUSE} ; do - ! use ${module} && rm_module ${module} - done - - ! any_module ${DM_IUSE} && rm_module 90dm - ! any_module ${NETWORK_IUSE} && rm_module 45ifcfg 40network - - # Disable S/390 modules which are not tested at all - rm_module 95dasd 95dasd_mod 95zfcp 95znet - - # Disable modules which won't work for sure - rm_module 01fips 10redhat-i18n 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.' - - echo - ewarn 'dhcp-3 is known to not work with QEMU. You will need dhcp-4 or' - ewarn 'later for it.' -} diff --git a/sys-kernel/dracut/dracut-006.ebuild b/sys-kernel/dracut/dracut-006.ebuild deleted file mode 100644 index cb2238c61d26..000000000000 --- a/sys-kernel/dracut/dracut-006.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-006.ebuild,v 1.3 2011/03/21 12:39:04 aidecoe Exp $ - -EAPI=2 - -inherit eutils mount-boot - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -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 md selinux uswsusp xen" -RESTRICT="test" - -# common networking deps -NETWORK_DEPS="sys-apps/iproute2 net-misc/dhcp net-misc/bridge-utils" - -RDEPEND="app-shells/dash - sys-apps/module-init-tools - >=sys-apps/util-linux-2.16 - btrfs? ( sys-fs/btrfs-progs ) - crypt? ( sys-fs/cryptsetup ) - dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ) - lvm? ( >=sys-fs/lvm2-2.02.33 ) - md? ( 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} ) - 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" -} - -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 md 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.' -} diff --git a/sys-kernel/dracut/dracut-009.ebuild b/sys-kernel/dracut/dracut-009.ebuild deleted file mode 100644 index 3bbc60ee1c6f..000000000000 --- a/sys-kernel/dracut/dracut-009.ebuild +++ /dev/null @@ -1,212 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/dracut/dracut-009.ebuild,v 1.1 2011/03/28 23:38:14 aidecoe Exp $ - -EAPI=2 - -inherit eutils - -DESCRIPTION="Generic initramfs generation tool" -HOMEPAGE="http://dracut.wiki.kernel.org" -SRC_URI="mirror://kernel/linux/utils/boot/${PN}/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -COMMON_MODULES=" - dracut_modules_biosdevname - dracut_modules_btrfs - dracut_modules_caps - dracut_modules_gensplash - dracut_modules_mdraid - dracut_modules_multipath - dracut_modules_plymouth - dracut_modules_syslog - dracut_modules_xen - " -NETWORK_MODULES=" - dracut_modules_iscsi - dracut_modules_nbd - dracut_modules_nfs - " -DM_MODULES=" - dracut_modules_crypt - dracut_modules_dmraid - dracut_modules_dmsquash-live - dracut_modules_lvm - " -IUSE_DRACUT_MODULES="${COMMON_MODULES} ${DM_MODULES} ${NETWORK_MODULES}" -IUSE="debug selinux ${IUSE_DRACUT_MODULES}" - -NETWORK_DEPS="net-misc/bridge-utils >=net-misc/dhcp-4.2.1-r1 sys-apps/iproute2" -DM_DEPS="|| ( sys-fs/device-mapper >=sys-fs/lvm2-2.02.33 )" - -RDEPEND=" - >=app-shells/bash-4.0 - >=app-shells/dash-0.5.4.11 - >=sys-apps/baselayout-1.12.14-r1 - >=sys-apps/module-init-tools-3.5 - >=sys-apps/sysvinit-2.87-r3 - >=sys-apps/util-linux-2.16 - >=sys-fs/udev-149 - - debug? ( dev-util/strace ) - selinux? ( sys-libs/libselinux sys-libs/libsepol ) - dracut_modules_biosdevname? ( sys-apps/biosdevname ) - dracut_modules_btrfs? ( sys-fs/btrfs-progs ) - dracut_modules_caps? ( sys-libs/libcap ) - dracut_modules_crypt? ( sys-fs/cryptsetup ${DM_DEPS} ) - dracut_modules_dmraid? ( sys-fs/dmraid sys-fs/multipath-tools ${DM_DEPS} ) - dracut_modules_dmsquash-live? ( sys-apps/eject ${DM_DEPS} ) - dracut_modules_gensplash? ( media-gfx/splashutils ) - dracut_modules_iscsi? ( >=sys-block/open-iscsi-2.0.871.3 ${NETWORK_DEPS} ) - dracut_modules_lvm? ( >=sys-fs/lvm2-2.02.33 ) - dracut_modules_mdraid? ( sys-fs/mdadm ) - dracut_modules_multipath? ( sys-fs/multipath-tools ) - dracut_modules_nbd? ( sys-block/nbd ${NETWORK_DEPS} ) - dracut_modules_nfs? ( net-fs/nfs-utils net-nds/rpcbind ${NETWORK_DEPS} ) - dracut_modules_plymouth? ( >=sys-boot/plymouth-0.8.3-r1 ) - dracut_modules_syslog? ( || ( app-admin/syslog-ng app-admin/rsyslog ) ) - dracut_modules_xen? ( app-emulation/xen ) - " -DEPEND=" - >=dev-libs/libxslt-1.1.26 - app-text/docbook-xml-dtd:4.5 - >=app-text/docbook-xsl-stylesheets-1.75.2 - " - -# -# Helper functions -# - -# Returns true if any of specified modules is enabled by USE flag and false -# otherwise. -# $1 = list of modules (which have corresponding USE flags of the same name) -any_module() { - local m modules=" $@ " - - for m in ${modules}; do - ! use $m && modules=${modules/ $m / } - done - - shopt -s extglob - modules=${modules%%+( )} - shopt -u extglob - - [[ ${modules} ]] -} - -# Removes module from modules.d. -# $1 = module name -# Module name can be specified without number prefix. -rm_module() { - local m - - for m in $@; do - if [[ $m =~ ^[0-9][0-9][^\ ]*$ ]]; then - rm -rf "${modules_dir}"/$m - else - rm -rf "${modules_dir}"/[0-9][0-9]$m - fi - done -} - -# Displays Gentoo Base System major release number -base_sys_maj_ver() { - local line - - read line < /etc/gentoo-release - line=${line##* } - echo "${line%%.*}" -} - -# -# ebuild functions -# - -src_prepare() { - epatch "${FILESDIR}/${P}-multipath-udev-rules.patch" - epatch "${FILESDIR}/${P}-don-t-skip-zero-length-string-outfile.patch" -} - -src_compile() { - emake WITH_SWITCH_ROOT=0 || die "emake failed" -} - -src_install() { - emake WITH_SWITCH_ROOT=0 \ - prefix=/usr sysconfdir=/etc DESTDIR="${D}" \ - install || die "emake install failed" - - local gen2conf - - dodir /var/lib/dracut/overlay - dodoc HACKING TODO AUTHORS NEWS README* || die 'dodoc failed' - - case "$(base_sys_maj_ver)" in - 1) gen2conf=gentoo.conf ;; - 2) gen2conf=gentoo-openrc.conf ;; - *) die "Expected ver. 1 or 2 of Gentoo Base System (/etc/gentoo-release)." - esac - - insinto /etc/dracut.conf.d - newins dracut.conf.d/${gen2conf}.example ${gen2conf} \ - || die 'gen2conf ins failed' - - insinto /etc/logrotate.d - newins dracut.logrotate dracut || die 'dracut.logrotate ins failed' - - # - # Modules - # - local module - modules_dir="${D}/usr/share/dracut/modules.d" - - echo "${PF}" > "${modules_dir}"/10rpmversion/dracut-version \ - || die 'dracut-version failed' - - # Remove modules not enabled by USE flags - for module in ${IUSE_DRACUT_MODULES} ; do - ! use ${module} && rm_module ${module#dracut_modules_} - done - - # Those flags are specific, and even are corresponding to modules, they need - # to be declared as regular USE flags. - use debug || rm_module 95debug - use selinux || rm_module 98selinux - - ! any_module ${DM_MODULES} && rm_module 90dm - ! any_module ${NETWORK_MODULES} && rm_module 45ifcfg 40network - - # Remove S/390 modules which are not tested at all - rm_module 95dasd 95dasd_mod 95zfcp 95znet - - # Remove modules which won't work for sure - rm_module 00bootchart 05busybox # broken - rm_module 95fcoe 97biosdevname # no tools - - # fips module depends on masked app-crypt/hmaccalc - rm_module 01fips -} - -pkg_postinst() { - elog 'To generate the initramfs:' - elog ' # mount /boot (if necessary)' - elog ' # dracut "" <kernel-version>' - elog '' - elog 'For command line documentation see dracut.kernel(7).' - elog '' - elog 'Simple example to select root and resume partition:' - elog ' root=/dev/sda1 resume=/dev/sda2' - elog '' - elog 'The default config (in /etc/dracut.conf) is very minimal and is highly' - elog 'recommended you adjust based on your needs. To include only dracut' - elog 'modules and kernel drivers for this system, use the "-H" option.' - elog 'Some modules need to be explicitly added with "-a" option even if' - elog 'required tools are installed.' - echo - elog 'Options (documented in dracut.kernel(7)) have new format since' - elog 'version 008. Old format is preserved, but will be removed in future.' - elog 'Please migrate to the new one.' -} diff --git a/sys-kernel/dracut/metadata.xml b/sys-kernel/dracut/metadata.xml index c2ccb84de972..e809b368acdf 100644 --- a/sys-kernel/dracut/metadata.xml +++ b/sys-kernel/dracut/metadata.xml @@ -20,7 +20,6 @@ <flag name="gensplash">Add support for framebuffer splash at boot-time</flag> <flag name="iscsi">Add support for iSCSI</flag> <flag name="lvm">Add support for the Logical Volume Manager (sys-apps/lvm2)</flag> - <flag name="md">Add support for MD devices, also known as software RAID devices</flag> <flag name="mdraid">Add support for MD devices, also known as software RAID devices</flag> <flag name="multipath">Add support for Device Mapper multipathing</flag> <flag name="nbd">Add support for network block devices</flag> |