summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-01-19 13:49:13 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-01-19 13:49:13 +0000
commita1c2cca738b658f879218303cd31b4c7a430c0a2 (patch)
tree39a4d678c7d730fe624e30d32e44ff756b5a1fed /sys-fs/udev
parentMove /lib/systemd/udevd to /sbin/udevd. Remove empty directory /lib/systemd. ... (diff)
downloadhistorical-a1c2cca738b658f879218303cd31b4c7a430c0a2.tar.gz
historical-a1c2cca738b658f879218303cd31b4c7a430c0a2.tar.bz2
historical-a1c2cca738b658f879218303cd31b4c7a430c0a2.zip
old
Package-Manager: portage-2.2.0_alpha154/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/ChangeLog5
-rw-r--r--sys-fs/udev/Manifest17
-rw-r--r--sys-fs/udev/udev-197-r2.ebuild426
3 files changed, 12 insertions, 436 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 49121f1888f3..081068421725 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.782 2013/01/19 13:47:25 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.783 2013/01/19 13:49:04 ssuominen Exp $
+
+ 19 Jan 2013; Samuli Suominen <ssuominen@gentoo.org> -udev-197-r2.ebuild:
+ old
*udev-197-r4 (19 Jan 2013)
diff --git a/sys-fs/udev/Manifest b/sys-fs/udev/Manifest
index 1303e623f8fb..57dfd88f48f6 100644
--- a/sys-fs/udev/Manifest
+++ b/sys-fs/udev/Manifest
@@ -16,21 +16,20 @@ DIST udev-gentoo-scripts-7.1.tar.bz2 16257 SHA256 1923768a98b7f00ffdc9bdf5a2c998
EBUILD udev-171-r10.ebuild 16118 SHA256 aae3766bf1ffc74bfc325da6e2146267d231a9956fae5542a18edda6dae67057 SHA512 433e0643616debfc7970d05e3c84ea57592b4d490b64d6f84b59d7a8096c7be8ecb1386548188c548bcea89470962c066fdaa730d6b71abf3ea7975956421656 WHIRLPOOL c85d52dcd70e972813a31545656c88f0c9c997c62d1e958f894237c0f6b085667ef71792ddd773571d3d27275b6bf0a1d7fe3c44f24d062312e268d78879081f
EBUILD udev-171-r9.ebuild 16105 SHA256 951e04596842143586bda1eb42d8db0ba7ecc7d10185816e144faad85285df9e SHA512 604f03fda6d251049f281cd6e5c3b9d3e73d1e70a0540ded4411e983bc6faaca208a95a1a76741a59374e4a1b8c709942e10fc08421a2973eb7562dd2474a2db WHIRLPOOL ed6ffaeab75f7ba56ecbd8298bf4ee952b59b5e250d98a0f3a74043f00f5db180fb02740fe09aebe553d16b0d754d3f29337241618dbf5a1a5a02e4a437f155a
EBUILD udev-196-r1.ebuild 10319 SHA256 11ea67f8e0b9028dc0212360317bf19cd9a654752efe11cabd944b30e372dea6 SHA512 4e296e23a6f354e1d684a3565ffd5dc0780c63afcda200815d158d5e685aefe853cc2b7e2adaa27e78100d433221563348363b338af97f68b4420f2f4e3f6a4b WHIRLPOOL 376202611b354e6c3a497a487475be148d095d365c655f43cf00861a95d85f1d117a653e0f2446b5cbdf728e0395b90c3c8de6f6c7efb60a7943a31aaec0f114
-EBUILD udev-197-r2.ebuild 11026 SHA256 8d5517e85c9965220701f78338359412f854099cd9c0ed47ef64e506af4cd1ac SHA512 d9b9493df7ca1c5db617dea8d256dbd7aa51f31fcbe53d571b6274e403dcdf4bca2320c135718bdb00209b748297164b0f441b63b2b63e0c6fa266d847ae129a WHIRLPOOL 558627b1b303eac2e98ee2eed3154d492ca98441ff57b6343a02e9977766b1c977a7cdb54780a76986d07866c2b1f1889785201c6480d8ebed0df661525f8cea
EBUILD udev-197-r3.ebuild 12584 SHA256 4e8b602ac775894eea2c25ae6de834f1273a0b4657b665bd5220a52fbb176d23 SHA512 dbdc2b464d1c7a5ee4f8d87cafbdc5a4a19b6c0662530525a4b30cc96ee9455dc651b7347a4db40628bdcc692babd59379a75c47dc78f0a66cc19595954675c8 WHIRLPOOL 3e1e9c6a94295c6ff50fac369bd5320632a3965d37906c63e5ecdf845961bcaf2c943322d447e5c60544a4a7f6e0266c27c6310698b1bbcf41db6a53a3a3f339
EBUILD udev-197-r4.ebuild 12629 SHA256 85006c788e2d84aed9ebb317124ba6f135117b01d2e3740f16a9022d2a9e3957 SHA512 59f1da45931d30f789f63aa392121e3557c6d85b517659adb2e5cf5d1c2b1e73615f6187ee576adf6838296d964d5fa0922f20b8c5fd973167be2e45216f3584 WHIRLPOOL 5fa8b349aba15ed91d361ba731e9d26fd725333d3bf4379da8b09a5fed3161cb3a5b4420bcf768c46ee5f52cf252fbb0e19e657c3a1c0615f52aca880ba0d36d
EBUILD udev-9999.ebuild 12628 SHA256 97ea5e03cb73ba144f35f8ca64c6dc38a6f1d6b84ee4d6111c868a0de8f20310 SHA512 05b50a79683389b08269da9dc535849958a82be89724ba2864ab02fb9a74b5ebd07d58b77e65f1b95cd9e79854adedbc7a6788d7af9bc3b6870799d245da24d4 WHIRLPOOL 6bed6599229ed359fa6b46a37f1112625b6db50065a1331ce9f5e6ad4d09b8dc550bd7c979288a0810004ce7c3b4661dc398ea1d4a1ac5352d5977002e510e4e
-MISC ChangeLog 50312 SHA256 55b1a9ce5eaef59f8fbd282175294bf77b69cbb16d55594302ce64039eb3f96a SHA512 99430b9ad525d1fe16034239e1218e3503b9e1cfd37bdb9213a20c69d9f9fb2d13c6b86b94b017278819b95a308671dda157089be2281eb95390af466e575419 WHIRLPOOL b629cc75c165e8e294d309de7f991d064d8cf2084a53c1abd1e50c88e4bfb0c99263e75ecde798e886ced22683c68f59776c2f58d53e3192c2b3ab7f9fcca4ec
+MISC ChangeLog 50394 SHA256 7842b03db264116799537294ad2f48921232f8aae9bb9a700cddcb9f19d44b1a SHA512 c0639690ddbb0462df54f28191e5be000f8d17c79fa782bd4e1e83b072031c9e680025e1f75b9ee9f2c4090e1d25aeb2acff10db71b6b9ad837f722547a0685d WHIRLPOOL fa3905662f59815776ae9dbe87025d0549dd670fb540503b5185ded048ce4fa83480b819bc3f06d5aca74ee7ad907a380aee51759097545919a38f7bb1328497
MISC ChangeLog-2009 105929 SHA256 7a8d7123b7395dc5bbde09a8c0cee1c5110d24faf87a68a8210b0c6bdf862c1c SHA512 3b577c97224e7f85ae5fb0a0ead538f8aa83c738e6014fadaf5247f34d3863df4bc10f9d15a5e117813d081a8af1913ea41a5e60d00ed521ea0c1e5b71a91a2b WHIRLPOOL c9f527ba19e787f9973a26ed535dbf7af760c3a519f4b062cf2a8069e134a803ebe669450deace804be70619995b389529febf03e8aeb7183c3ea984c0dfdaa5
MISC metadata.xml 1098 SHA256 69d8c28e0c2439c252068ae2e0141a9bad7b05e65b9dec27aa2dd3feb4f2393c SHA512 87354f467c3f2ed005a10652a2f80ffda010fbc0c6fb88436b906c92f4cf1543ed1a6cf4a49c93f15c6fea3ba0dcd108e1e120954f7b0860e7ac90072d2b3d67 WHIRLPOOL 9c01df67041d2093e5a2ee4a9ad65df613cdcb163bc366c8592e8e2be84b176da13198261a012687188918c906291d765856665806efe03b8dfb22a5b4eb6834
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQ+qOVAAoJEEdUh39IaPFNTVoH/iqf4gCDCQAkO+RvHsLTgaje
-DOrNpQQFL/+oYEwy188WHvJ9wqMHYXWdfbGbpmJF829qoYdI8u1hjokAonahQ8dT
-UBfTRT+HAIDLwpv9xPmSTKDxel9RkoDK51OjxcXAqib5egNZXEqeXfWivQD+Anz/
-oL1TD4sR9SLjPB6ZvobR7tNMt3ffuqLt3/HSyQ53Pa2Y8RfrGy9UibPuorXxbBM8
-9pi8r3f8l23SAu2PX9mauEP5H4lik+CHRY2aYfNjL3GWimjZSDdu5FKa6yrkoIEq
-8T0pd4RNolFRqQoegaNvCwBcSU1OAqUBZ8W+V+hGYq5Y7UUVeBLhSmNJgTQq0+Q=
-=/9hd
+iQEcBAEBCAAGBQJQ+qP4AAoJEEdUh39IaPFNlP4H/iWiBlGaMJCyA98YGc8kiYuo
+32j3q7q7JnnkCdIkyPDR8LZQ0CPHzPP9Uqfa513EImoqHuKU+9KzsHyLZX+SQdLz
+DYSKreG8X45XWBzBqjF8pOVKJnys0wje+6Wpt0D1iSWdIy3uZvxMTrLAC57Y+zNa
+XF1RCTJvTlhAwXBDduvasZYQIElUV7C2AGpd8pIuEn27OUoafryiIF1ZfHBK6o9b
+O7IkNRnnaHemU4O9Rrv+uJbxXgDoPB687qHLdUaeKBbDXvOy5IRfhb9TxhR3170d
+jPDPdCwL14+Co5PmHn5KCky9LtVS82lNJZBE2oNNJkaWybxpPUcxMRpBDljVyms=
+=SEGi
-----END PGP SIGNATURE-----
diff --git a/sys-fs/udev/udev-197-r2.ebuild b/sys-fs/udev/udev-197-r2.ebuild
deleted file mode 100644
index 0efb517c52a7..000000000000
--- a/sys-fs/udev/udev-197-r2.ebuild
+++ /dev/null
@@ -1,426 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-197-r2.ebuild,v 1.10 2013/01/17 19:35:25 williamh Exp $
-
-EAPI=4
-
-KV_min=2.6.39
-
-inherit autotools eutils linux-info multilib systemd toolchain-funcs versionator
-
-if [[ ${PV} = 9999* ]]
-then
- EGIT_REPO_URI="git://anongit.freedesktop.org/systemd/systemd"
- inherit git-2
-else
- patchset=1
- SRC_URI="http://www.freedesktop.org/software/systemd/systemd-${PV}.tar.xz"
- if [[ -n "${patchset}" ]]
- then
- SRC_URI="${SRC_URI}
- http://dev.gentoo.org/~williamh/dist/${P}-patches-${patchset}.tar.bz2"
- fi
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-fi
-
-DESCRIPTION="Linux dynamic and persistent device naming support (aka userspace devfs)"
-HOMEPAGE="http://www.freedesktop.org/wiki/Software/systemd"
-
-LICENSE="LGPL-2.1 MIT GPL-2"
-SLOT="0"
-IUSE="acl doc gudev hwdb introspection keymap +kmod +openrc selinux static-libs"
-
-RESTRICT="test"
-
-COMMON_DEPEND=">=sys-apps/util-linux-2.20
- acl? ( sys-apps/acl )
- gudev? ( >=dev-libs/glib-2 )
- introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
- kmod? ( >=sys-apps/kmod-12 )
- selinux? ( sys-libs/libselinux )
- !<sys-libs/glibc-2.11"
-
-DEPEND="${COMMON_DEPEND}
- dev-util/gperf
- >=dev-util/intltool-0.50
- virtual/os-headers
- virtual/pkgconfig
- !<sys-kernel/linux-headers-${KV_min}
- doc? ( >=dev-util/gtk-doc-1.18 )
- hwdb? ( >=sys-apps/hwids-20121202.2[udev] )"
-
-if [[ ${PV} = 9999* ]]
-then
- DEPEND="${DEPEND}
- app-text/docbook-xsl-stylesheets
- dev-libs/libxslt"
-fi
-
-RDEPEND="${COMMON_DEPEND}
- openrc? ( !<sys-apps/openrc-0.9.9 )
- !sys-apps/coldplug
- !<sys-fs/lvm2-2.02.45
- !sys-fs/device-mapper
- !<sys-fs/udev-init-scripts-19
- !<sys-kernel/dracut-017-r1
- !<sys-kernel/genkernel-3.4.25"
-
-PDEPEND=">=virtual/udev-180
- openrc? ( >=sys-fs/udev-init-scripts-19 )"
-
-S=${WORKDIR}/systemd-${PV}
-
-QA_MULTILIB_PATHS="lib/systemd/systemd-udevd"
-
-udev_check_KV()
-{
- if kernel_is lt ${KV_min//./ }
- then
- return 1
- fi
- return 0
-}
-
-check_default_rules()
-{
- # Make sure there are no sudden changes to upstream rules file
- # (more for my own needs than anything else ...)
- local udev_rules_md5=66bb698deeae64ab444b710baf54a412
- MD5=$(md5sum < "${S}"/rules/50-udev-default.rules)
- MD5=${MD5/ -/}
- if [[ ${MD5} != ${udev_rules_md5} ]]
- then
- eerror "50-udev-default.rules has been updated, please validate!"
- eerror "md5sum: ${MD5}"
- die "50-udev-default.rules has been updated, please validate!"
- fi
-}
-
-pkg_setup()
-{
- # required kernel options
- CONFIG_CHECK="~DEVTMPFS"
- ERROR_DEVTMPFS="DEVTMPFS is not set in this kernel. Udev will not run."
-
- linux-info_pkg_setup
-
- if ! udev_check_KV
- then
- eerror "Your kernel version (${KV_FULL}) is too old to run ${P}"
- eerror "It must be at least ${KV_min}!"
- fi
-
- KV_FULL_SRC=${KV_FULL}
- get_running_version
- if ! udev_check_KV
- then
- eerror
- eerror "Your running kernel version (${KV_FULL}) is too old"
- eerror "for this version of udev."
- eerror "You must upgrade your kernel or downgrade udev."
- fi
-}
-
-src_prepare()
-{
- # backport some patches
- if [[ -n "${patchset}" ]]
- then
- EPATCH_SUFFIX=patch EPATCH_FORCE=yes epatch
- fi
-
- # apply user patches
- epatch_user
-
- # compile with older versions of gcc #451110
- version_is_at_least 4.6 $(gcc-version) || \
- sed -i 's:static_assert:alsdjflkasjdfa:' src/shared/macro.h
-
- # change rules back to group uucp instead of dialout for now
- sed -e 's/GROUP="dialout"/GROUP="uucp"/' \
- -i rules/*.rules \
- || die "failed to change group dialout to uucp"
-
- if [[ ! -e configure ]]
- then
- if use doc
- then
- gtkdocize --docdir docs || die "gtkdocize failed"
- else
- echo 'EXTRA_DIST =' > docs/gtk-doc.make
- fi
- eautoreconf
- else
- check_default_rules
- elibtoolize
- fi
-}
-
-src_configure()
-{
- local econf_args
-
- econf_args=(
- ac_cv_search_cap_init=
- ac_cv_header_sys_capability_h=yes
- DBUS_CFLAGS=' '
- DBUS_LIBS=' '
- --bindir=/bin
- --docdir=/usr/share/doc/${PF}
- --libdir=/usr/$(get_libdir)
- --with-html-dir=/usr/share/doc/${PF}/html
- --with-rootprefix=
- --with-rootlibdir=/$(get_libdir)
- --disable-audit
- --disable-coredump
- --disable-hostnamed
- --disable-ima
- --disable-libcryptsetup
- --disable-localed
- --disable-logind
- --disable-myhostname
- --disable-nls
- --disable-pam
- --disable-quotacheck
- --disable-readahead
- --enable-split-usr
- --disable-tcpwrap
- --disable-timedated
- --disable-xz
- $(use_enable acl)
- $(use_enable doc gtk-doc)
- $(use_enable gudev)
- $(use_enable keymap)
- $(use_enable kmod)
- $(use_enable selinux)
- $(use_enable static-libs static)
- )
- if use introspection; then
- econf_args+=(
- --enable-introspection=$(usex introspection)
- )
- fi
- econf "${econf_args[@]}"
-}
-
-src_compile()
-{
- echo 'BUILT_SOURCES: $(BUILT_SOURCES)' > "${T}"/Makefile.extra
- emake -f Makefile -f "${T}"/Makefile.extra BUILT_SOURCES
- local targets=(
- systemd-udevd
- udevadm
- libudev.la
- libsystemd-daemon.la
- ata_id
- cdrom_id
- collect
- scsi_id
- v4l_id
- accelerometer
- mtd_probe
- man/udev.7
- man/udevadm.8
- man/systemd-udevd.8
- man/systemd-udevd.service.8
- )
- use keymap && targets+=( keymap )
- use gudev && targets+=( libgudev-1.0.la )
-
- emake "${targets[@]}"
- if use doc
- then
- emake -C docs/libudev
- use gudev && emake -C docs/gudev
- fi
-}
-
-src_install()
-{
- local lib_LTLIBRARIES="libsystemd-daemon.la libudev.la" \
- pkgconfiglib_DATA="src/libsystemd-daemon/libsystemd-daemon.pc src/libudev/libudev.pc"
-
- local targets=(
- install-libLTLIBRARIES
- install-includeHEADERS
- install-libgudev_includeHEADERS
- install-binPROGRAMS
- install-rootlibexecPROGRAMS
- install-udevlibexecPROGRAMS
- install-dist_systemunitDATA
- install-dist_udevconfDATA
- install-dist_udevhomeSCRIPTS
- install-dist_udevkeymapDATA
- install-dist_udevkeymapforcerelDATA
- install-dist_udevrulesDATA
- install-girDATA
- install-man7
- install-man8
- install-nodist_systemunitDATA
- install-pkgconfiglibDATA
- install-sharepkgconfigDATA
- install-typelibsDATA
- install-dist_docDATA
- udev-confdirs
- systemd-install-hook
- libudev-install-hook
- libsystemd-daemon-install-hook
- )
-
- if use gudev
- then
- lib_LTLIBRARIES+=" libgudev-1.0.la"
- pkgconfiglib_DATA+=" src/gudev/gudev-1.0.pc"
- fi
-
- # add final values of variables:
- targets+=(
- rootlibexec_PROGRAMS=systemd-udevd
- bin_PROGRAMS=udevadm
- lib_LTLIBRARIES="${lib_LTLIBRARIES}"
- MANPAGES="man/udev.7 man/udevadm.8 man/systemd-udevd.service.8"
- MANPAGES_ALIAS="man/systemd-udevd.8"
- dist_systemunit_DATA="units/systemd-udevd-control.socket \
- units/systemd-udevd-kernel.socket"
- nodist_systemunit_DATA="units/systemd-udevd.service \
- units/systemd-udev-trigger.service \
- units/systemd-udev-settle.service"
- pkgconfiglib_DATA="${pkgconfiglib_DATA}"
- systemunitdir="$(systemd_get_unitdir)"
- )
- emake -j1 DESTDIR="${D}" "${targets[@]}"
- if use doc
- then
- emake -C docs/libudev DESTDIR="${D}" install
- use gudev && emake -C docs/gudev DESTDIR="${D}" install
- fi
- dodoc TODO
-
- prune_libtool_files --all
- rm -f "${D}"/lib/udev/rules.d/99-systemd.rules
- rm -rf "${D}"/usr/share/doc/${PF}/LICENSE.*
-
- # install gentoo-specific rules
- insinto /lib/udev/rules.d
- doins "${FILESDIR}"/40-gentoo.rules
-
- # install udevadm symlink
- dosym ../bin/udevadm /sbin/udevadm
-}
-
-pkg_preinst()
-{
- local htmldir
- for htmldir in gudev libudev; do
- if [[ -d ${ROOT}usr/share/gtk-doc/html/${htmldir} ]]
- then
- rm -rf "${ROOT}"usr/share/gtk-doc/html/${htmldir}
- fi
- if [[ -d ${D}/usr/share/doc/${PF}/html/${htmldir} ]]
- then
- dosym ../../doc/${PF}/html/${htmldir} \
- /usr/share/gtk-doc/html/${htmldir}
- fi
- done
- preserve_old_lib /$(get_libdir)/libudev.so.0
-
- net_rules="${ROOT}"etc/udev/rules.d/80-net-name-slot.rules
- [[ -f ${net_rules} ]] || cp "${FILESDIR}"/80-net-name-slot.rules "${net_rules}"
-}
-
-# This function determines if a directory is a mount point.
-# It was lifted from dracut.
-ismounted()
-{
- while read a m a; do
- [[ $m = $1 ]] && return 0
- done < "${ROOT}"/proc/mounts
- return 1
-}
-
-pkg_postinst()
-{
- mkdir -p "${ROOT}"/run
-
- # "losetup -f" is confused if there is an empty /dev/loop/, Bug #338766
- # So try to remove it here (will only work if empty).
- rmdir "${ROOT}"/dev/loop 2>/dev/null
- if [[ -d ${ROOT}/dev/loop ]]
- then
- ewarn "Please make sure your remove /dev/loop,"
- ewarn "else losetup may be confused when looking for unused devices."
- fi
-
- # people want reminders, I'll give them reminders. Odds are they will
- # just ignore them anyway...
-
- # 64-device-mapper.rules now gets installed by sys-fs/device-mapper
- # remove it if user don't has sys-fs/device-mapper installed, 27 Jun 2007
- if [[ -f ${ROOT}/etc/udev/rules.d/64-device-mapper.rules ]] &&
- ! has_version sys-fs/device-mapper
- then
- rm -f "${ROOT}"/etc/udev/rules.d/64-device-mapper.rules
- einfo "Removed unneeded file 64-device-mapper.rules"
- fi
-
- if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 189 ]]; then
- ewarn
- ewarn "Upstream has removed the persistent-cd rules"
- ewarn "generator. If you need persistent names for these devices,"
- ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
- fi
-
- if ismounted /usr
- then
- ewarn
- ewarn "Your system has /usr on a separate partition. This means"
- ewarn "you will need to use an initramfs to pre-mount /usr before"
- ewarn "udev runs."
- ewarn
- ewarn "If this is not set up before your next reboot, udev may work;"
- ewarn "However, you also may experience failures which are very"
- ewarn "difficult to troubleshoot."
- ewarn
- ewarn "For a more detailed explanation, see the following URL:"
- ewarn "http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken"
- ewarn
- ewarn "For more information on setting up an initramfs, see the"
- ewarn "following URL:"
- ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
- fi
-
- if [ -n "${net_rules}" ]; then
- ewarn
- ewarn "udev-197 and newer introduces a new method of naming network"
- ewarn "interfaces. The new names are a very significant change, so"
- ewarn "they are disabled by default on live systems."
- ewarn "Please see the contents of ${net_rules} for more"
- ewarn "information on this feature."
- fi
- if [[ -d ${ROOT}usr/lib/udev ]]
- then
- ewarn
- ewarn "Please re-emerge all packages on your system which install"
- ewarn "rules and helpers in /usr/lib/udev. They should now be in"
- ewarn "/lib/udev."
- ewarn
- ewarn "One way to do this is to run the following command:"
- ewarn "emerge -av1 \$(qfile -q -S -C /usr/lib/udev)"
- ewarn "Note that qfile can be found in app-portage/portage-utils"
- fi
-
- ewarn
- ewarn "You need to restart udev as soon as possible to make the upgrade go"
- ewarn "into effect."
- ewarn "The method you use to do this depends on your init system."
- ewarn
-
- preserve_old_lib_notify /$(get_libdir)/libudev.so.0
-
- elog
- elog "For more information on udev on Gentoo, writing udev rules, and"
- elog " fixing known issues visit:"
- elog " http://www.gentoo.org/doc/en/udev-guide.xml"
-
- use hwdb && udevadm hwdb --update
-}