diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-03-05 18:56:10 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-03-05 18:56:10 +0000 |
commit | d416a187b714c55d04352f951ab210e3f2af2ceb (patch) | |
tree | 6d8ef18547722233bc0322b9941ad887a1b3b9bb /packages | |
parent | 9aac2e01775a6144fe57109216c6514ec339aa91 (diff) | |
parent | 1a12661ce6d62b2bde8ad52332de462a2f2a48d9 (diff) |
merge of '062f11ac5a659cd78342432c3122546e10111fd2'
and '6063cf44a481655f8a16b617ebc5c4c29b541718'
Diffstat (limited to 'packages')
-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 + } |