diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-07 04:09:10 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-03-07 04:09:10 +0000 |
commit | 4ac0c9901f71660d811825aed20f3646fddc4ee1 (patch) | |
tree | dbf2572df1689d05d734f835ff9e9088522e0dda /packages/modutils/modutils-collateral.bb | |
parent | 5f8c62c20cc6dc6faede3b16726939a648906e81 (diff) | |
parent | 82f522e25a15d4a3bb992e25cf2d72524e00aee3 (diff) |
merge of '190b6a69d61b81a346fd716bd98a7dd4b0fdc441'
and '8c2c64187790bfeb1b538bae3efe7832208261af'
Diffstat (limited to 'packages/modutils/modutils-collateral.bb')
-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 + } |