/[gentoo-x86]/sys-fs/udev/udev-9999.ebuild
Gentoo

Diff of /sys-fs/udev/udev-9999.ebuild

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

Revision 1.115 Revision 1.116
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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-fs/udev/udev-9999.ebuild,v 1.115 2012/10/15 02:47:46 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.116 2012/11/01 06:27:10 ssuominen Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7KV_min=2.6.39 7KV_min=2.6.39
8 8
343 then 343 then
344 rm -f "${ROOT}"/etc/udev/rules.d/64-device-mapper.rules 344 rm -f "${ROOT}"/etc/udev/rules.d/64-device-mapper.rules
345 einfo "Removed unneeded file 64-device-mapper.rules" 345 einfo "Removed unneeded file 64-device-mapper.rules"
346 fi 346 fi
347 347
348 # http://bugs.gentoo.org/440462
349 if [[ ${REPLACING_VERSIONS} ]] && [[ ${REPLACING_VERSIONS} < 195 ]]; then
348 ewarn 350 ewarn
349 ewarn "If you build an initramfs including udev, please make sure the" 351 ewarn "If you build an initramfs including udev, please make sure the"
350 ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to" 352 ewarn "/usr/bin/udevadm binary gets included, Also, change your scripts to"
351 ewarn "use it,as it replaces the old udevinfo and udevtrigger helpers." 353 ewarn "use it, as it replaces the old udevinfo and udevtrigger helpers."
352 354
353 ewarn 355 ewarn
354 ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf." 356 ewarn "mount options for /dev are no longer set in /etc/udev/udev.conf."
355 ewarn "Instead, /etc/fstab should be used. This matches other mount points." 357 ewarn "Instead, /etc/fstab should be used. This matches other mount points."
356 358
357 ewarn 359 ewarn
358 ewarn "Rules for /dev/hd* devices have been removed." 360 ewarn "Rules for /dev/hd* devices have been removed."
359 ewarn "Please migrate to libata." 361 ewarn "Please migrate to libata."
360 362
361 ewarn 363 ewarn
362 ewarn "action_modeswitch has been removed by upstream." 364 ewarn "action_modeswitch has been removed by upstream."
363 ewarn "Please use sys-apps/usb_modeswitch." 365 ewarn "Please use sys-apps/usb_modeswitch."
366
367 if use acl; then
368 ewarn
369 ewarn "The udev-acl functionality has been moved."
370 ewarn "If you are not using systemd, this is handled by ConsoleKit."
371 ewarn "Otherwise, you need to make sure that systemd is emerged with"
372 ewarn "the acl use flag active."
373 fi
374
375 ewarn
376 ewarn "Upstream has removed the persistent-net and persistent-cd rules"
377 ewarn "generator. If you need persistent names for these devices,"
378 ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
379 ewarn "Be aware that you cannot directly swap device names, so persistent"
380 ewarn "rules for network devices should be like the ones at the following"
381 ewarn "URL:"
382 ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#c1"
383 fi
364 384
365 if ismounted /usr 385 if ismounted /usr
366 then 386 then
367 ewarn 387 ewarn
368 ewarn "Your system has /usr on a separate partition. This means" 388 ewarn "Your system has /usr on a separate partition. This means"
376 ewarn "For more information on setting up an initramfs, see the" 396 ewarn "For more information on setting up an initramfs, see the"
377 ewarn "following URL:" 397 ewarn "following URL:"
378 ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml" 398 ewarn "http://www.gentoo.org/doc/en/initramfs-guide.xml"
379 fi 399 fi
380 400
381 if use acl; then
382 ewarn
383 ewarn "The udev-acl functionality has been moved."
384 ewarn "If you are not using systemd, this is handled by consolekit."
385 ewarn "Otherwise, you need to make sure that systemd is emerged with"
386 ewarn "the acl use flag active."
387 fi
388
389 if [[ -d ${ROOT}lib/udev ]] 401 if [[ -d ${ROOT}lib/udev ]]
390 then 402 then
391 ewarn 403 ewarn
392 ewarn "This version of udev moves the files which were installed in" 404 ewarn "This version of udev moves the files which were installed in"
393 ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility" 405 ewarn "/lib/udev to /usr/lib/udev. We include a backward compatibility"
399 ewarn 411 ewarn
400 ewarn "You need to restart udev as soon as possible to make the upgrade go" 412 ewarn "You need to restart udev as soon as possible to make the upgrade go"
401 ewarn "into effect." 413 ewarn "into effect."
402 ewarn "The method you use to do this depends on your init system." 414 ewarn "The method you use to do this depends on your init system."
403 415
404 ewarn
405 ewarn "Upstream has removed the persistent-net and persistent-cd rules"
406 ewarn "generator. If you need persistent names for these devices,"
407 ewarn "place udev rules for them in ${ROOT}etc/udev/rules.d."
408 ewarn "Be aware that you cannot directly swap device names, so persistent"
409 ewarn "rules for network devices should be like the ones at the following"
410 ewarn "URL:"
411 ewarn "http://bugs.gentoo.org/show_bug.cgi?id=433746#C1"
412
413 preserve_old_lib_notify /$(get_libdir)/libudev.so.0 416 preserve_old_lib_notify /$(get_libdir)/libudev.so.0
414 417
415 elog 418 elog
416 elog "For more information on udev on Gentoo, writing udev rules, and" 419 elog "For more information on udev on Gentoo, writing udev rules, and"
417 elog " fixing known issues visit:" 420 elog " fixing known issues visit:"

Legend:
Removed from v.1.115  
changed lines
  Added in v.1.116

  ViewVC Help
Powered by ViewVC 1.1.20