Rules files werden jetzt kopiert, und an Viitor angepasst...
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/ViitorMake@5309 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
495534c9db
commit
2404037262
@ -106,11 +106,13 @@ postmk() {
|
|||||||
fi
|
fi
|
||||||
mkdir -p $TMPROOT/usr/share/doc/udev
|
mkdir -p $TMPROOT/usr/share/doc/udev
|
||||||
cp -a docs/* $TMPROOT/usr/share/doc/udev
|
cp -a docs/* $TMPROOT/usr/share/doc/udev
|
||||||
cp etc/udev/* $TMPROOT/etc/udev
|
cp rules/rules.d/* $TMPROOT/etc/udev/rules.d
|
||||||
cp etc/udev/gentoo/* $TMPROOT/etc/udev/rules.d
|
cp rules/gentoo/* $TMPROOT/etc/udev/rules.d
|
||||||
sed -e "s/uucp/dialout/" etc/udev/gentoo/50-udev.rules |\
|
for i in alsa infiniband isdn pilot-links zaptel device-mapper md-raid; do
|
||||||
sed -e "s/GROUP=\"cdrom\"/GROUP=\"cdwrite\"/" |\
|
cp rules/packages/*$i.rules $TMPROOT/etc/udev/rules.d
|
||||||
sed -e "s/cdrw/cdwrite/" >$TMPROOT/etc/udev/rules.d/50-udev.rules
|
done
|
||||||
|
sed -i "s/\(pty.*MODE=\).*$/\1\"0666\"/" $TMPROOT/etc/udev/rules.d/50-udev-default.rules
|
||||||
|
sed -i "s/\(GROUP=\)\"cdrom\"/\1\"cdwrite\"/" $TMPROOT/etc/udev/rules.d/50-udev-default.rules
|
||||||
cd $TMPROOT/lib/udev
|
cd $TMPROOT/lib/udev
|
||||||
for i in *; do
|
for i in *; do
|
||||||
ln -s ../lib/udev/$i $TMPROOT/sbin/$i
|
ln -s ../lib/udev/$i $TMPROOT/sbin/$i
|
||||||
|
Loading…
Reference in New Issue
Block a user