From c713e44ad8cdbb61f196594247aa24590bed57fc Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Mon, 27 May 2013 12:05:19 +1200 Subject: [PATCH] Move package install of dkms to install.d. Change-Id: I04bebdc9162915e0789fc374c172adc73079a227 --- elements/base/install.d/99-dkms | 2 ++ elements/base/post-install.d/99-dkms | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100755 elements/base/install.d/99-dkms diff --git a/elements/base/install.d/99-dkms b/elements/base/install.d/99-dkms new file mode 100755 index 000000000..56e8e1601 --- /dev/null +++ b/elements/base/install.d/99-dkms @@ -0,0 +1,2 @@ +#!/bin/sh +install-packages dkms diff --git a/elements/base/post-install.d/99-dkms b/elements/base/post-install.d/99-dkms index c0b680422..02ff606fe 100755 --- a/elements/base/post-install.d/99-dkms +++ b/elements/base/post-install.d/99-dkms @@ -7,8 +7,6 @@ kernels=$(ls /usr/src/linux-headers-*-*-* -d | sed -e 's|/usr/src/linux-headers- __ARCH=$ARCH unset ARCH -install-packages dkms - for module in $modules ; do for kernel in $kernels ; do dkms build $module -k $kernel