|
|
@ -730,6 +730,11 @@ compile_udev() {
|
|
|
|
strip udevstart || gen_die 'Failed to strip the udevstart binary!'
|
|
|
|
strip udevstart || gen_die 'Failed to strip the udevstart binary!'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -e udevsend ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
strip udevsend || gen_die 'Failed to strip the udevsend binary!'
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
print_info 1 ' >> Installing...'
|
|
|
|
print_info 1 ' >> Installing...'
|
|
|
|
install -d "${TEMP}/udev/etc/udev" "${TEMP}/udev/sbin" "${TEMP}/udev/etc/udev/scripts" "${TEMP}/udev/etc/udev/rules.d" "${TEMP}/udev/etc/udev/permissions.d" ||
|
|
|
|
install -d "${TEMP}/udev/etc/udev" "${TEMP}/udev/sbin" "${TEMP}/udev/etc/udev/scripts" "${TEMP}/udev/etc/udev/rules.d" "${TEMP}/udev/etc/udev/permissions.d" ||
|
|
|
|
gen_die 'Could not create directory hierarchy'
|
|
|
|
gen_die 'Could not create directory hierarchy'
|
|
|
@ -742,6 +747,12 @@ compile_udev() {
|
|
|
|
gen_die 'Could not install udevstart binary!'
|
|
|
|
gen_die 'Could not install udevstart binary!'
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ -e udevsend ]
|
|
|
|
|
|
|
|
then
|
|
|
|
|
|
|
|
install -m 0755 udevsend "${TEMP}/udev/sbin" ||
|
|
|
|
|
|
|
|
gen_die 'Could not install udevsend binary!'
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
install -m 0644 etc/udev/udev.conf "${TEMP}/udev/etc/udev" ||
|
|
|
|
install -m 0644 etc/udev/udev.conf "${TEMP}/udev/etc/udev" ||
|
|
|
|
gen_die 'Could not install udev configuration!'
|
|
|
|
gen_die 'Could not install udev configuration!'
|
|
|
|
install -m 0644 etc/udev/gentoo/udev.rules "${TEMP}/udev/etc/udev/rules.d/50-udev.rules" ||
|
|
|
|
install -m 0644 etc/udev/gentoo/udev.rules "${TEMP}/udev/etc/udev/rules.d/50-udev.rules" ||
|
|
|
|