diff options
| author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-07 02:39:44 +0000 |
|---|---|---|
| committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-07 02:39:44 +0000 |
| commit | a4f387cd021a1609192a230ac88147bdd9cd7011 (patch) | |
| tree | c9ef0e176d6175c5ed872bc32670ae1ec05512ce /packages/modutils | |
| parent | 9338aae8d11d18af9758e0d4d6a091cbe5026f6b (diff) | |
| parent | ef577a4a45dc409f13b78925308dd25c646e92ce (diff) | |
merge of '67610d438a2b24071b341922d01602d41bf4da8f'
and '7824a9c2a0a95d7eb46cd065355bda4d7a16780a'
Diffstat (limited to 'packages/modutils')
| -rw-r--r-- | packages/modutils/modutils-collateral.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/modutils/modutils-collateral.bb b/packages/modutils/modutils-collateral.bb index 5c502021f9..6d010a5754 100644 --- a/packages/modutils/modutils-collateral.bb +++ b/packages/modutils/modutils-collateral.bb @@ -1,6 +1,6 @@ SECTION = "base" DESCRIPTION = "modutils configuration files" -PR = "r2" +PR = "r3" LICENSE = "MIT" SRC_URI = "file://modules \ @@ -12,5 +12,10 @@ do_compile () { do_install () { install -d ${D}${sysconfdir} install -m 0644 ${WORKDIR}/modules ${D}${sysconfdir}/modules - install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf + if [ ${MAJOR_KERNEL_VERSION}=2.6 ]; then + install -d ${D}${sysconfdir}/modprobe.d + else + install -m 0644 ${WORKDIR}/modules.conf ${D}${sysconfdir}/modules.conf + fi + } |
