diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-04-02 20:51:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-04-02 20:51:16 +0000 |
commit | 1069b2264fc1f1c0257fb747516694455760b0d3 (patch) | |
tree | 32110dc3814fd034ea0c291ce6dc197e72fa8074 /lib/Iurt | |
parent | 1257e7ee0a6ba1352d248ba1b20866291e453b93 (diff) | |
download | iurt-1069b2264fc1f1c0257fb747516694455760b0d3.tar iurt-1069b2264fc1f1c0257fb747516694455760b0d3.tar.gz iurt-1069b2264fc1f1c0257fb747516694455760b0d3.tar.bz2 iurt-1069b2264fc1f1c0257fb747516694455760b0d3.tar.xz iurt-1069b2264fc1f1c0257fb747516694455760b0d3.zip |
do not explicitely specify kernel source dir, dkms will use /lib/modules by itself
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/DKMS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/DKMS.pm b/lib/Iurt/DKMS.pm index 5a03560..5c793a2 100644 --- a/lib/Iurt/DKMS.pm +++ b/lib/Iurt/DKMS.pm @@ -235,7 +235,7 @@ sub dkms_compile { } foreach my $cmd ('add', 'build') { - my $command = "TMP=/home/$luser/tmp/ sudo chroot $chroot_tmp /usr/sbin/dkms $cmd -m $realname -v $realversion --rpm_safe_upgrade -k $modulesdir --kernelsourcedir=/usr/src/$sourcedir"; + my $command = "TMP=/home/$luser/tmp/ sudo chroot $chroot_tmp /usr/sbin/dkms $cmd -m $realname -v $realversion --rpm_safe_upgrade -k $modulesdir"; plog('DEBUG', "execute: $command"); system($command); } |