updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / selinux-udev / udev.install
blob2cc8caaa0da2d16c99710efe417e5d3a2d8606ae
1 # arg 1:  the new package version
2 # arg 2:  the old package version
4 post_upgrade() {
5   if [ "$(vercmp $2 174)" -lt 0 ]; then
6     echo "ATTENTION UDEV:"
7     echo "----------"
8     if [ "$(vercmp $2 168)" -lt 0 ]; then
9       echo "Kernel 2.6.32 or newer is now required."
10       echo "  --"
11       echo "OSS emulation modules are not loaded by default, add to rc.conf if needed."
12       echo "  --"
13       echo "Arch specific cd symlinks are now no longer created."
14       echo "  --"
15       echo "cd and net persistent rules will no longer be autogenerated,"
16       echo "see <https://wiki.archlinux.org/index.php/Udev> for details."
17       echo "  --"
18       echo "Errors are now logged (possibly to the console) by default."
19       echo "  --"
20     fi
21     if [ "$(vercmp $2 171)" -lt 0 ]; then
22       echo "Arch's custom blacklisting logic has been removed. MOD_AUTOLOAD and"
23       echo "blacklisting in MODULES no longer works."
24       echo "See 'man modprobe.conf' for a replacement to blacklisting."
25       echo "To disable a module mod1 on the kernel command line, use"
26       echo "mod1.disable=1"
27       echo "or"
28       echo "modprobe.blacklist=mod1"
29       echo "  --"
30       echo "The following modules are no longer unconditionally loaded:"
31       echo "  pcspkr irtty-sir analog lp ppdev ide-generic"
32       echo "Add them to MODULES in rc.conf if you need them."
33       echo "  --"
34     fi
35     if [ "$(vercmp $2 172)" -lt 0 ]; then
36       echo "Support for non-devtmpfs self-compiled kernels have been moved to udev-compat."
37       echo "  --"
38       echo "Blacklisting of framebuffer devices has moved from /etc/modprobe.d to"
39       echo "/lib/modprobe.d. Any customizations shoud be done to the file in /etc, as it"
40       echo "takes precedence."
41       echo "  --"
42       echo "kbd and rtc devices are no longer world readable."
43       echo "  --"
44       echo "rtc is no longer in the audio group and fb devices are no longer in"
45       echo "the video group, as permissions and ownership of fb devices are controlled"
46       echo "by X."
47       echo "  --"
48     fi
49     echo "We now use upstream rules for assigning devices to the 'disk', 'optical',"
50     echo "'scanner' and 'video' groups. Beware of any changes."
51     echo "  --"
52     echo "We no longer create symlinks from /dev/<dev> to /dev/<dev>0."
53     echo "  --"
54     echo "For security reasons, we no longer add devices to the 'storage' group. Use"
55     echo "udisks and friends, or add custom rules to /etc/udev.d/rules/, if you want"
56     echo "this functionality back."
57     echo " --"
58     echo "We no longer create the static nodes on install needed for an initrd-less and"
59     echo "devtmpfs-less boot, this only affects fresh installs."
60     echo "---------------"
61   fi