summaryrefslogtreecommitdiff
path: root/hotplug/hotplug_20040311.oe
blob: 7047f3888ec7ae65abc39388b9f96451d2e0468e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
DESCRIPTION = "This package contains the scripts necessary \
for hotplug Linux support, and lets you plug in new devices \
and use them immediately."
SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_03_11.tar.gz"
S = "${WORKDIR}/hotplug-2004_03_11"

do_compile () {
	oenote "Nothing to compile."
}

DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'"
do_install () {
	install -d ${D}/sbin ${D}/${sysconfdir}/hotplug \
		   ${D}/${sysconfdir}/logcheck/ignore.d \
		   ${D}/${sbindir}
	oe_runmake prefix=${D} install
	sh debian/fix-net.agent ${D}
	install -m 0755 debian/update-usb.usermap ${D}/${sbindir}/
	install -m 0644 debian/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
}