diff --git a/dkms-compat_suse_init_script.diff b/dkms-compat_suse_init_script.diff deleted file mode 100644 index b4a42c2..0000000 --- a/dkms-compat_suse_init_script.diff +++ /dev/null @@ -1,15 +0,0 @@ -diff -urN dkms-2.2.0.2.orig/dkms_autoinstaller dkms-2.2.0.2/dkms_autoinstaller ---- dkms-2.2.0.2.orig/dkms_autoinstaller 2011-07-22 01:06:55.000000000 +0200 -+++ dkms-2.2.0.2/dkms_autoinstaller 2011-11-30 10:14:26.227796621 +0100 -@@ -7,9 +7,9 @@ - # - ### BEGIN INIT INFO - # Provides: dkms_autoinstaller dkms --# Default-Start: 2 3 4 5 -+# Default-Start: 2 3 5 - # Default-Stop: --# Required-Start: $local_fs -+# Required-Start: $local_fs $remote_fs - # Required-Stop: $null - # Short-Description: Automatically install DKMS modules for new kernels - # Description: A service to automatically install DKMS modules for new kernels. diff --git a/dkms.changes b/dkms.changes index 1e7ca46..236bd9c 100644 --- a/dkms.changes +++ b/dkms.changes @@ -1,34 +1,1319 @@ ------------------------------------------------------------------- -Thu Dec 15 17:18:08 CET 2011 - bumblebee-project@hotmail.com - 2.2.0.3 +Fri Feb 7 15:01:24 UTC 2014 - tchvatal@suse.com -- updated to 2.2.0.3 +- Cleanup with spec cleaner +- Remove compat layers for everything to be up par with suse needs +- Provide only systemd files as we support only systemd on all + products +- Remove old backcompat postun script + +- removed patches: + * dkms-compat_suse_init_script.diff ------------------------------------------------------------------- -Tue Nov 1 16:53:14 CET 2011 - bumblebee-project@hotmail.com - 2.2.0.2 +Sat Aug 22 00:00:00 UTC 2009 - Matt_Domsch@dell.com + +- update to latest upstream +- drop Requires: lsb. avoid calling rpm (recursively) if possible. +- add recognition for Oracle Enterprise Linux, Oracle VM, Scientific + Linux, and VMware 3.x -- updated to 2.2.0.2 ------------------------------------------------------------------- -Sat Oct 22 21:46:50 CEST 2011 - bumblebee-project@hotmail.com - 2.1.1.2 +Fri Jul 24 00:00:00 UTC 2009 - rel-eng@lists.fedoraproject.org + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild -- copy from packman repository ------------------------------------------------------------------- -Sat Oct 9 15:27:10 UTC 2010 - packman@links2linux.de - 2.1.1.2 +Wed Apr 15 00:00:00 UTC 2009 - Matt_Domsch@dell.com + +- add Requires: lsb -- moved to packman repository ------------------------------------------------------------------- -Tue Feb 23 22:30:37 UTC 2010 - AxelKoellhofer@web.de - 2.1.1.2 +Tue Apr 14 00:00:00 UTC 2009 - Matt_Domsch@dell.com + +- update to latest upstream -- updated to 2.1.1.2 -- obsolete patch for init script removed (fixed upstream) ------------------------------------------------------------------- -Fri Feb 5 12:56:19 UTC 2010 - AxelKoellhofer@web.de - 2.1.1.1 +Tue Feb 24 00:00:00 UTC 2009 - rel-eng@lists.fedoraproject.org + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + + +------------------------------------------------------------------- +Wed May 28 00:00:00 UTC 2008 - Matt_Domsch@dell.com + +- depmod on uninstall before mkinitrd, depmod fix & cleanups +- find_module_from_ko() could incorrectly return multiple values + + +------------------------------------------------------------------- +Tue Mar 25 00:00:00 UTC 2008 - Matt_Domsch@dell.com + +- fix dkms.spec file/dir ownerships yet again + + +------------------------------------------------------------------- +Thu Mar 20 00:00:00 UTC 2008 - Matt_Domsch@dell.com + +- don't include dist/ in tarball +- use /etc/kernel/{prerm,postinst}.d/dkms in RPMs now too +- mkrpm: display rpmbuild log on error, write RPMs to $dkms_tree/$module/$module_version/rpm +- clarify license in spec to GPLv2+ + + +------------------------------------------------------------------- +Fri Feb 15 00:00:00 UTC 2008 - Matt_Domsch@dell.com + +- call udevadm trigger instead of udevtrigger for newer udev (Launchpad #192241) +- omit installed-weak modules from remove --all (Red Hat BZ#429410) + + +------------------------------------------------------------------- +Wed Oct 10 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- call udevtrigger if we install a module for the currently running kernel +- uninstall from /extra before DEST_MODULE_LOCATION (Red Hat BZ#264981) +- Run depmod after uninstall + + +------------------------------------------------------------------- +Wed Sep 19 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- upgrade to latest upstream + + +------------------------------------------------------------------- +Wed Jun 20 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- updated for Ubuntu support, other bugfixes. + + +------------------------------------------------------------------- +Tue Mar 20 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- spec file cleanups per re-review in Fedora +- add bash completion, rpmbuild check, pinit, pass-arch patches from + Mandriva. These are generic. The other Mandriva patches appear to + be distro-specific. +- Look for /etc/sysconfig/module-init-tools to get some values. + + +------------------------------------------------------------------- +Tue Feb 27 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- fix override_dest_module_location() for historical distro versions +- don't run weak-modules if it doesn't exist + + +------------------------------------------------------------------- +Mon Feb 26 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- release with no changes + + +------------------------------------------------------------------- +Fri Feb 23 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- After upgrading from older DKMS versions to 2.0.14, any previously + installed modules wouldn't show status properly, and wouldn't + uninstall properly, due to the new policy of using /extras/ and + /updates/. Needed to take that into account and look in both places. +- SuSE puts weak-modules in /usr/lib/module-init-tools not /sbin. + + +------------------------------------------------------------------- +Thu Feb 22 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- RHEL5 weak module status report fixed + + +------------------------------------------------------------------- +Mon Feb 19 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- RHEL5 weak module recognition with new state installed-weak +- autoinstaller recognizes installed-weak and doesn't rebuild +- RHEL5 and SLES10 and higher weak module code expects modules to go + into /lib/modules/$kern/{extra,updates} respectively, so force that. + + +------------------------------------------------------------------- +Mon Feb 5 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- patch from http://qa.mandriva.com/show_bug.cgi?id=27985 assigns new + modprobe.conf alias ordinals starting at zero. + + +------------------------------------------------------------------- +Fri Jan 12 00:00:00 UTC 2007 - Matt_Domsch@dell.com + +- properly create driver disks for Fedora Core 6 and RHEL5 +- make .iso, .tar, and floppy .img driver disks for Red Hat and SuSE +- set CLEAN properly even if MAKE[] isn't set. +- fix install.sh buglet installing the manpage + + +------------------------------------------------------------------- +Thu Jun 29 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- bump to 2.0.13 + + +------------------------------------------------------------------- +Wed Jun 28 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- fix version comparison awk pattern matching invocation and a line continuation + + +------------------------------------------------------------------- +Mon Jun 26 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- bump to 2.0.12 + + +------------------------------------------------------------------- +Wed Jun 14 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- fix version comparison for all 2.6 kernels + + +------------------------------------------------------------------- +Mon Apr 10 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- add README.dkms to doc + + +------------------------------------------------------------------- +Wed Mar 29 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- use -n to all head and tail calls + + +------------------------------------------------------------------- +Tue Mar 28 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- fix munging of /etc/sysconfig/kernel INITRD_MODULES= line + so it doesn't move already-present entries to the end + + +------------------------------------------------------------------- +Thu Mar 16 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- bump to 2.0.10 + + +------------------------------------------------------------------- +Wed Mar 15 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- add PRE_INSTALL dkms.conf directive + + +------------------------------------------------------------------- +Tue Mar 14 00:00:00 UTC 2006 - Matt_Domsch@dell.com + +- add SuSE Kernel Module Package (mkkmp) support + + +------------------------------------------------------------------- +Tue Dec 13 00:00:00 UTC 2005 - Matt_Domsch@dell.com + +- patch from Eric Devolder enables mkinitrd for Debian Sarge +- include debian/ directory in upstream tarball + + +------------------------------------------------------------------- +Thu Dec 8 00:00:00 UTC 2005 - Matt_Domsch@dell.com + +- fix DF28947 (remove word 'only') from a printed message +- gzip -9 dkms.8 manpage + + +------------------------------------------------------------------- +Wed Dec 7 00:00:00 UTC 2005 - Matt_Domsch@dell.com + +- look to DKMS_DIRECTIVE* environment variables to override dkms.conf settings +- don't create/remove (unused) /var/lock/subsys/dkms files in autoinstaller + + +------------------------------------------------------------------- +Mon Nov 7 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- mkrpm now is built with -ba, not -bb (creates source RPM) + + +------------------------------------------------------------------- +Fri Nov 4 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- In dkms_autoinstaller added -no-clean-kernel to builds of multiple modules to avoid mrproper + + +------------------------------------------------------------------- +Wed Oct 19 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Updated dkms_mkkerneldoth to know about VMWare kernel + + +------------------------------------------------------------------- +Sun Oct 9 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Changed root check on ldtarball to only care about root if it sees --force + + +------------------------------------------------------------------- +Fri Sep 2 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- renamed 2.0.5.9 to 2.0.6 + + +------------------------------------------------------------------- +Mon Jul 25 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- FIXED BUG, when only some modules have original_modules, ARCHIVE_PREF3 wasn't getting reset causing big problems + + +------------------------------------------------------------------- +Mon Jul 18 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- DKMS install now moves out original modules, does not copy them out + + +------------------------------------------------------------------- +Tue Jun 7 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Get rid of grep error when looking for RH file on non RH distro (Matt Domsch) + + +------------------------------------------------------------------- +Wed May 11 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- handle obsolete modules in /etc/sysconfig/kernel + + +------------------------------------------------------------------- +Fri Apr 29 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- dkms remove now properly removes modules_conf_aliases (thanks Matthew Melvin) + + +------------------------------------------------------------------- +Wed Apr 20 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Mktarball fails if it can't find dkms_dbversion + + +------------------------------------------------------------------- +Tue Mar 15 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- More spec cleanups + + +------------------------------------------------------------------- +Mon Mar 14 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Tweaked spec to follow http://fedoraproject.org/wiki/PackagingGuidelines + + +------------------------------------------------------------------- +Thu Mar 3 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Added --size for alternate driver disk image sizes + + +------------------------------------------------------------------- +Tue Jan 25 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Repackaged as 2.0.5 + + +------------------------------------------------------------------- +Mon Jan 17 00:00:00 UTC 2005 - gary_lerhaupt@dell.com + +- Allow MAKE_MATCH[0] to decide if MAKE[0] will be used +- Add Taroon check in template-dkms-mkrpm.spec for ia32e detection + + +------------------------------------------------------------------- +Mon Dec 20 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- John Hull's patch for no SuSE 2.6 kernel preparation + + +------------------------------------------------------------------- +Wed Dec 15 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Red Hat driver disks can now have modules.pcimap and pci.ids files + + +------------------------------------------------------------------- +Mon Dec 13 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- bumped revision + + +------------------------------------------------------------------- +Fri Dec 10 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added quotes to $kernel_config when checking variable +- Tweak the multiowned arch detection workaround to deal with no ownership + + +------------------------------------------------------------------- +Mon Dec 6 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fix to template-spec so that ia32e check doesn't require kernel sources + + +------------------------------------------------------------------- +Wed Dec 1 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Jeffrey Kirsher's workaround for arch detection on multiowned /lib/modules + + +------------------------------------------------------------------- +Mon Nov 22 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Issues regressed. Bumped to non-testing version. + + +------------------------------------------------------------------- +Fri Nov 19 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- DKMS ldtarball arch fix for changed Andreas 2.0.2 code +- Workaround for Red Hat's new source symlink in 2.6.9 +- All 'cd -' now output to /dev/null + + +------------------------------------------------------------------- +Sat Oct 2 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added --verbose which invoke_command uses +- Fixed it so mrproper doesn't get run > 2.6.6 + + +------------------------------------------------------------------- +Tue Sep 28 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Charles Duffy's fix for multiple rpms owning /lib/modules/kernel... +- Andreas Gruenbacher's removal of IFS usage +- Andreas Gruenbacher's reorganizing prepare check into prepare_kernel +- Andreas Gruenbacher's patch to cut down on line length by using $base_dir +- fixed $base_dir so it gets set after setup_kernels_arches + + +------------------------------------------------------------------- +Sun Sep 12 00:00:00 UTC 2004 - agruen@suse.de + +- patch to remove tick usage +- patch to rewrite version comparison code +- patch to switch to usage of case, remove use of grep -c, remove use of IFS +- patch to change handling of stderr + + +------------------------------------------------------------------- +Fri Sep 10 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed remove so you can remove modules in added state + + +------------------------------------------------------------------- +Thu Sep 9 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Removed "module ignored" message from dkms_autoinstaller + + +------------------------------------------------------------------- +Thu Aug 26 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Output to stderr is now >> and not > +- Added kludge to allow redhat1 driver disks with BOOT kernel modules +- Allow cross arch building on 2.6 if --kernelsourcedir is passed +- Generic make commands now respect --kernelsourcedir +- Bumped dkms_dbversion to 2.0.0 + + +------------------------------------------------------------------- +Thu Aug 19 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed suse driver disks for i386 + + +------------------------------------------------------------------- +Thu Aug 12 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Look for /etc/SuSEconfig also to know if its a SuSE box +- If no make command, set the clean command + + +------------------------------------------------------------------- +Wed Aug 11 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added suse mkdriverdisk support +- Updated man page + + +------------------------------------------------------------------- +Tue Aug 10 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added provides: dkms-minimal for Mandrake +- Added -r, --release for use in SuSE driver disks + + +------------------------------------------------------------------- +Fri Aug 6 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed kernelsourcedir error message. +- dkms_autoinstaller now excepts a kernel parameter + + +------------------------------------------------------------------- +Tue Jul 27 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Created a set_kernel_source_dir function to remove dup code + + +------------------------------------------------------------------- +Mon Jul 26 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added John Hull's SuSE support patches (mkinitrd, config prep) + + +------------------------------------------------------------------- +Fri Jul 23 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Split modulesconf_modify to separate add and remove functions +- Added support for /etc/modprobe.conf + + +------------------------------------------------------------------- +Thu Jul 15 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Remove coreutils as a dependency to avoid RH21 error. + + +------------------------------------------------------------------- +Wed Jul 14 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- DKMS ldtarball now check dbversion and wont load future tarballs + + +------------------------------------------------------------------- +Mon Jul 12 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Buchan Milne's Mandrake prep support patch +- Buchan Milne's macro additions to template-dkms-mkrpm.spec +- Buchan Milne's typo corrections in mkrpm +- Buchan Milne's change to how mkrpm works (mktarball happen in rpm prep) + + +------------------------------------------------------------------- +Tue Jul 6 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added a dependency on modutils for usage of modinfo +- Added version sanity check +- dkms_autoinstaller now check for sanity of version +- Changed conversion algorithm for /var/dkms to /var/lib/dkms +- Changed all warning to get to stderr +- set_module_suffix doesn't use version_checker because its too slow + + +------------------------------------------------------------------- +Thu Jul 1 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Reworked version checking to handle non-digit characters +- Added coreutils as a dependency +- Create a tempdir in mkdriverdisk, whoops (thanks Charles Duffy) + + +------------------------------------------------------------------- +Wed Jun 30 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- dkms_dbversion belongs in /var/lib/dkms (thanks Thomas Palmieri) +- Added a version checking subroutine +- Removed gt2dot4 variable in favor of kernel version checking +- MAKE is no longer required. If none specified, it uses a default. + + +------------------------------------------------------------------- +Thu Jun 24 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Buchan Milne's optimization of the arch detection code + + +------------------------------------------------------------------- +Wed Jun 23 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed bug when find finds more than one thing (thanks Paul Howarth) +- Changed arch detection code to first try RPM which always will get it right (thanks Vladimir Simonov) + + +------------------------------------------------------------------- +Tue Jun 22 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Initial mkrpm is working +- Added --source-only option to mktarball +- mkrpm handles --source-only +- Updated manpage + + +------------------------------------------------------------------- +Thu Jun 17 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Started adding mkrpm + + +------------------------------------------------------------------- +Wed Jun 16 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed dkms_autoinstaller bugs (thanks Vladimir Simonov) +- Fixed paths in the tarball's install.sh + + +------------------------------------------------------------------- +Tue Jun 15 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- kernelver/arch handling for mktarball + + +------------------------------------------------------------------- +Mon Jun 14 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added support for RH v2 driver disks (they support multiple arches) + + +------------------------------------------------------------------- +Fri Jun 11 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Continue rework of kernelver/arch handling +- Added PATH fix (thanks Andrey Ulanov ) +- config_contents should not be local (thanks Andrey Ulanov) +- If no config in /configs, just use .config (thanks Andrey Ulanov) +- match now pays attention to --kernelsourcedir + + +------------------------------------------------------------------- +Wed Jun 9 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Started coding new kernelver arch CLI handling + + +------------------------------------------------------------------- +Mon Jun 7 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added STRIP[] directive. By default dkms now runs strip -g on all built modules. +- Fix set_module_suffix in dkms build +- Changed /etc/dkms_framework.conf to /etc/dkms/framework.conf +- Added reload into dkms_autoinstaller to limit Mandrake error messages +- Moved /var/dkms to /var/lib/dkms !!!!!!!!!!!!!!!! + + +------------------------------------------------------------------- +Fri Jun 4 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- PRE_BUILD, POST_BUILD, POST_ADD, etc all now allow their scripts to accept parameters + + +------------------------------------------------------------------- +Thu Jun 3 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added --installtree option to specify different install location besides /lib/modules +- Took Charles Duffy's advice and removed brackets on error messages + + +------------------------------------------------------------------- +Wed Jun 2 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added set_module_suffix function + + +------------------------------------------------------------------- +Tue Jun 1 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added a PRE_BUILD dkms.conf directive. + + +------------------------------------------------------------------- +Thu May 27 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added build time check for gcc and make if there is a build failure +- You can now specify --archive to mktarball to control the naming of the made tarball (thanks Vladimir Simonov) + + +------------------------------------------------------------------- +Wed May 26 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Removed rpm dependency on gcc (thanks Vladimir Simonov) +- Re-implemented dkms status recursively + + +------------------------------------------------------------------- +Mon May 24 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added local variable declarations to local variables + + +------------------------------------------------------------------- +Fri May 21 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Vladimir Simonov's invoke_command improvements for keeping /tmp clean + + +------------------------------------------------------------------- +Thu May 20 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Pass --targetarch to dkms_mkkerneldoth (thanks to Vladimir Simonov ) +- Moved arch detection into a function called detect_arch + + +------------------------------------------------------------------- +Wed May 19 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Bug fixes on arch support +- Updated man page + + +------------------------------------------------------------------- +Tue May 18 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Completing arch awareness and transition scripts +- Created upgrade_dkms_archify.sh to update DKMS trees for arch support + + +------------------------------------------------------------------- +Mon May 17 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Continued adding arch awareness + + +------------------------------------------------------------------- +Thu May 13 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Started adding arch awareness into the DKMS tree + + +------------------------------------------------------------------- +Fri May 7 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- bumped the revision + + +------------------------------------------------------------------- +Thu May 6 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Improved readability of install and uninstall text to the screen +- You can now specify multiple actions in the same command + + +------------------------------------------------------------------- +Wed May 5 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added arch_used as part of the filename of a tarball created by mktarball +- If multiple original modules exist in a single kernel, the one in /updates is preferred +- Changed multiple original module handling to move out and store all collisions + + +------------------------------------------------------------------- +Mon May 3 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Changed 2.6 prep prepare-all target usage to make modules_prepare +- Changed 2.6 make command to always use M= as this is fixed in 2.6.6-rc3-bk5 + + +------------------------------------------------------------------- +Fri Apr 30 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- If module build exit status is bad, die accordingly +- 2.6 kernel prep changes (not quite there yet, still broken) + + +------------------------------------------------------------------- +Thu Apr 29 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added BUILD_EXCLUSIVE_KERNEL & BUILD_EXCLUSIVE_ARCH directives for dkms.conf +- Tweaked dkms_autoinstaller to more gracefully handle a build failure + + +------------------------------------------------------------------- +Tue Apr 27 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Got rid of make clean warning if not present + + +------------------------------------------------------------------- +Tue Apr 20 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed error message when compiling with --no-prepare-kernel + + +------------------------------------------------------------------- +Tue Apr 13 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed the format of rhdd-6.1 for Red Hat driver disks +- Update man page with new white paper info + + +------------------------------------------------------------------- +Thu Apr 1 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added work-around to recognize ia32e kernel config instead of x86_64 +- Got rid of start and stop functions which were no-ops anyway + + +------------------------------------------------------------------- +Thu Mar 25 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added a fix to keep the driver disk filename from being so long that it breaks + + +------------------------------------------------------------------- +Mon Feb 9 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Added a fix to resolve RHEL21 depmod errors when an obsolete reference is found + + +------------------------------------------------------------------- +Thu Jan 15 00:00:00 UTC 2004 - gary_lerhaupt@dell.com + +- Fixed mkinitrd for ia64 + + +------------------------------------------------------------------- +Tue Dec 9 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed /usr/share/doc/dkms- mode to 755 + + +------------------------------------------------------------------- +Mon Dec 1 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Bumped version to 1.00 + + +------------------------------------------------------------------- +Mon Nov 24 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Add -t vfat to loopback mount during creation of driver disk + + +------------------------------------------------------------------- +Fri Nov 21 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Only edit /etc/modules.conf if remake_initrd is set or if this is the last uninstall and no original module exists +- Added MODULES_CONF_OBSOLETE_ONLY array directive in dkms.conf +- Updated man page + + +------------------------------------------------------------------- +Wed Nov 19 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed a bug in mktarball to limit the tarball name to less than 255 chars + + +------------------------------------------------------------------- +Tue Nov 18 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Binary only tarballs now contain a copy of dkms.conf so that they can be force loaded + + +------------------------------------------------------------------- +Mon Nov 17 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Updated man page, recommended rpm naming: --dkms.noarch.rpm + + +------------------------------------------------------------------- +Thu Nov 13 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- dkms_autoinstaller is now installed to /etc/init.d for cross-distro happiness + + +------------------------------------------------------------------- +Fri Nov 7 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added kernel config prepping for hugemem kernel (thanks Amit Bhutani) +- modules.conf only now gets changed during install or uninstall of active module + + +------------------------------------------------------------------- +Mon Nov 3 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed MODULES_CONF_ALIAS_TYPE to an array in dkms.conf +- Added MODULES_CONF_OBSOLETES array in dkms.conf +- Reworked modules_conf_modify to make use of OBSOLETES logic +- Updated man page + + +------------------------------------------------------------------- +Fri Oct 31 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added --binaries-only option to mktarball +- Updated man page + + +------------------------------------------------------------------- +Thu Oct 30 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- If depmod or mkinitrd fail during install, automatically go back to built state +- Warn heavily if mkinitrd fails during uninstall + + +------------------------------------------------------------------- +Wed Oct 29 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added Red Hat specific kernel prep to avoid make dep (Thanks Matt Domsch) +- Added dkms_mkkerneldoth script to support RH kernel prep +- Moved dkms from /sbin/ to /usr/sbin +- Fixed typo which caused original_module not to get replaced on uninstall +- No longer edit Makefiles, just specify KERNELVERSION=$kernel_version on the command line +- Removed unnecessary depmod during uninstall + + +------------------------------------------------------------------- +Thu Oct 23 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed mkdriverdisk to copy rhdd-6.1 file into driver disk image + + +------------------------------------------------------------------- +Wed Oct 22 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed expected driver disk filename from module-info to modinfo to work on legacy RH OSs + + +------------------------------------------------------------------- +Tue Oct 14 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Unset all arrays before using them. duh. + + +------------------------------------------------------------------- +Tue Oct 7 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed bug in autoinstaller where it wasn't looking for dkms.conf through source symlink + + +------------------------------------------------------------------- +Thu Oct 2 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added --rpm_safe_upgrade flag +- Updated the man page and sample.spec + + +------------------------------------------------------------------- +Wed Oct 1 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- No longer copy dkms.conf into /var/dkms tree, just go to the source_tree so as to reduce duplication +- Got rid of --post-add, --post-build, --post-install and --post-remove +- Replaced the above with DKMS directives POST_ADD, POST_BUILD, POST_INSTALL, POST_REMOVE +- Fixed ldtarball and mktarball to no longer look for these duplicate files +- Added a sample.conf for /usr/share/doc +- Updated dkms_dbversion to 1.01 from 1.00 due to these changes +- Update the man page + + +------------------------------------------------------------------- +Tue Sep 30 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added diff checking in status command in case modules are overwritten by someone else +- Fixed already built error message in build_module +- Changed build-arch to noarch +- Updated sample.spec +- Change dest_module_location to not get prefaced by /lib/modules/$kernel_version +- When saving old initrd, copy it instead of moving it in case new one doesn't build +- Only create source symlink during loadtarball if --force or if it doesn't exist +- Decide to completely remove during remove_module after doing find with maxdepth of 0 not 1 + + +------------------------------------------------------------------- +Mon Sep 29 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Reworked mktarball format to remove dependence on /var/dkms and /usr/src +- Reworked ldtarball to match new tarball format +- Ldtarball now uses --archive=tarball-location flag instead of --config flag +- Ldtarball can now load any old source tarball as long as it contains a good dkms.conf +- Added --kernelsourcedir cli option to provide alternate location for kernel source +- Driver disk files are now looked for in /redhat_driver_disk +- Added $tmp_location specifiable in /etc/dkms_framework.conf to specify your /tmp dir (default /tmp) +- Updated man page + + +------------------------------------------------------------------- +Thu Sep 25 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed tmp_dir_name typo in ldtarball +- Fixed mkdriverdisk to correctly create kernel/module structure +- Don't expect a rhdd-6.1 file for RH driver disk, dkms will create it +- Remove mkdriverdisk warning on non BOOT kernels +- Moved driver_disk directory location to underneath $module_version +- mkdriverdisk can now accept multiple kernel versions +- Updated man page with info about $dkms_tree and $source_tree as dkms.conf variables + + +------------------------------------------------------------------- +Wed Sep 24 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Don't allow installs of modules onto non-existant kernels +- Suppressed stderr on some commands +- Fixed brain-dead bug for REMAKE INITRD +- During uninstall, dont remake initrd if it was not installed +- ldtarball into unique tempdir and delete it when finished + + +------------------------------------------------------------------- +Tue Sep 23 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed PATCH to array based system (added PATCH_MATCH array) +- PATCHes can now be matched against regular expressions, not just substrings +- Changed MODULES_CONF to array based system +- CHANGED MAKE to array based system (added MAKE_MATCH array) +- MAKEs can now be matched against regular expressions, not just substrings. +- Updated man page + + +------------------------------------------------------------------- +Mon Sep 22 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed autoinstaller bootup priority from 08 to 04 +- Changed invoke_command routine to use mktemp for better security +- Changed invoke_command in dkms_autoinstaller too + + +------------------------------------------------------------------- +Fri Sep 19 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Continued bug testing and fixing new features + + +------------------------------------------------------------------- +Wed Sep 17 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Got rid of MODULE_NAME: replaced with BUILT_MODULE_NAME, DEST_MODULE_NAME arrays +- Got rid of LOCATION: replaced with BUILT_MODULE_LOCATION, DEST_MODULE_LOCATION arrays +- Update man page + + +------------------------------------------------------------------- +Tue Sep 16 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed the setting of the gt2dot4 variable + + +------------------------------------------------------------------- +Wed Sep 10 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added PACKAGE_NAME, PACKAGE_VERSION requirements to dkms.conf for gmodconfig use +- Fixed creation of /var/dkms before cp of dkms_dbversion in install.sh + + +------------------------------------------------------------------- +Mon Sep 8 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Continued adding autoinstall stuff +- Updated man page + + +------------------------------------------------------------------- +Fri Sep 5 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added dkms_autoinstaller service (builds module on boot if AUTOINSTALL="yes" in dkms.conf) +- DKMS usage no longer sent to std_err +- Added --no-prepare-kernel cli option + + +------------------------------------------------------------------- +Fri Aug 8 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed quote bugs in match (Reported by: John Hull ) +- Added Fred Treasure to the AUTHORS list +- Added dkms_dbversion file to DKMS tree to track architecture of dkms db layout + + +------------------------------------------------------------------- +Thu Jul 3 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added mkinitrd support for SuSE (etc_sysconfig_kernel_modify) +- Added generic make command for kernel >2.4 (make -C SUBDIRS= modules) +- Fixed kernel prepare to do Red Hat/Generic by default +- Only do make dep if < 2.5 + + +------------------------------------------------------------------- +Tue Jun 3 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Modified the Red Hat prep routine to be smaller and more robust (including summit support) +- Added sample.spec to the sources for /usr/share/doc +- If you save a .config before make mrproper, return it right afterwards +- Updated the man page + + +------------------------------------------------------------------- +Fri May 30 00:00:00 UTC 2003 - gary_lerahupt@dell.com + +- Added a remake_initrd function to keep SuSE from doing wrong things +- If you know the correct right steps for rebuilding SuSE initrds, please let me know! +- Updated man page + + +------------------------------------------------------------------- +Thu May 29 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added a native readlink function to make sure it exists +- Added a mkdir -p to $location to make sure it exists +- Added --directive + + +------------------------------------------------------------------- +Wed May 28 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added kernel preparation support for SLES/United Linux (Many thanks to: Fred Treasure ) + + +------------------------------------------------------------------- +Tue May 20 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- On remove, to remove all kernel versions you must now specify --all +- Added grep, cpio and gzip to the Requires of the RPM +- Added cleaning kernel tree (make mrproper) after last build completes +- Before prepare kernel, the current .config is stored in memory to be restored later +- Added a verbose warning to the status command to remind people it only shows DKMS modules +- Added /etc/dkms_framwork.conf for controlling source_tree and dkms_tree +- Added the undocumented --dkmstree and --sourcetree options for cli control of these vars +- When looking for original modules, dkms now employs the find command to expand search past $location +- Updated man page + + +------------------------------------------------------------------- +Wed May 14 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed a typo in the man page. + + +------------------------------------------------------------------- +Mon May 5 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed ldtarball/mktarball to obey source_tree & dkms_tree (Reported By: Jordan Hargrave ) +- Added DKMS mailing list to man page + + +------------------------------------------------------------------- +Tue Apr 29 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed NEEDED_FOR_BOOT to REMAKE_INITRD as this makes more sense +- Redid handling of modifying modules.conf +- Added MODULE_CONF_ALIAS_TYPE to specs + + +------------------------------------------------------------------- +Mon Apr 28 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Started adding ldtarball support +- added the --force option +- Update man page + + +------------------------------------------------------------------- +Thu Apr 24 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Started adding mktarball support +- Fixed up the spec file to use the tarball + + +------------------------------------------------------------------- +Tue Mar 25 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Continued integrating mkdriverdisk +- Updated man page + + +------------------------------------------------------------------- +Mon Mar 24 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added renaming ability to modules after builds (MODULE_NAME="beforename.o:aftername.o") +- Started adding mkdriverdisk support +- Added distro parameter for use with mkdriverdisk +- Now using readlink to determine symlink pointing location +- Added redhat BOOT config to default location of config files +- Fixed a bug in read_conf that caused the wrong make subdirective to be used +- Remove root requirement for build action + + +------------------------------------------------------------------- +Wed Mar 19 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed archiving of original modules (Reported by: Kris Jordan ) + + +------------------------------------------------------------------- +Wed Mar 12 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added kernel specific patching ability + + +------------------------------------------------------------------- +Mon Mar 10 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Removed the sourcing in of /etc/init.d/functions as it was unused anyway +- Implemented generic patching support +- Updated man page +- Fixed timing of the creation of DKMS built infrastructure in case of failure + + +------------------------------------------------------------------- +Fri Mar 7 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Builds now occur in /var/dkms/$module/$module_version/build and not in /usr/src +- Fixed the logging of the kernel_config + + +------------------------------------------------------------------- +Thu Mar 6 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Started adding patch support +- Redid reading implementation of modules_conf entries in dkms.conf (now supports more than 5) +- Updated man page + + +------------------------------------------------------------------- +Tue Mar 4 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Module names are not just assumed to end in .o any longer (you must specify full module name) +- At exit status to invoke_command when bad exit status is returned + + +------------------------------------------------------------------- +Fri Feb 28 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Changed the way variables are handled in dkms.conf, %kernelver to $kernelver + + +------------------------------------------------------------------- +Mon Feb 24 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed a typo in install + + +------------------------------------------------------------------- +Tue Feb 11 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Fixed bug in remove which made it too greedy +- Updated match code + + +------------------------------------------------------------------- +Mon Feb 10 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added uninstall action +- Updated man page + + +------------------------------------------------------------------- +Fri Feb 7 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added --config option to specify where alternate .config location exists +- Updated the man page to indicate the new option. +- Updated the spec to allow for software versioning printout +- Added -V which prints out the current dkms version and exits + + +------------------------------------------------------------------- +Thu Jan 9 00:00:00 UTC 2003 - gary_lerhaupt@dell.com + +- Added GPL stuffs + + +------------------------------------------------------------------- +Mon Dec 9 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Added support for multiple modules within the same install +- Added postadd and fixed up the man page + + +------------------------------------------------------------------- +Fri Dec 6 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Cleaned up the spec file. + + +------------------------------------------------------------------- +Fri Nov 22 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Fixed a bug in finding MAKE subdirectives + + +------------------------------------------------------------------- +Thu Nov 21 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Fixed make.log path error when module make fails +- Fixed invoke_command to work under RH8.0 +- DKMS now edits kernel makefile to get around RH8.0 problems + + +------------------------------------------------------------------- +Wed Nov 20 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Reworked the implementation of -q, --quiet + + +------------------------------------------------------------------- +Tue Nov 19 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Version 0.16: added man page + + +------------------------------------------------------------------- +Mon Nov 18 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Version 0.13: added match option +- Version 0.14: dkms is no longer a SysV service +- Added depmod after install and remove +- Version 0.15: added MODULES_CONF directives in dkms.conf + + +------------------------------------------------------------------- +Fri Nov 15 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Version 0.12: added the -q (quiet) option + + +------------------------------------------------------------------- +Thu Nov 14 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Version 0.11: began coding the status function + + +------------------------------------------------------------------- +Wed Nov 13 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Changed the name to DKMS +- Moved original_module to its own separate directory structure +- Removal now does a complete clean up + + +------------------------------------------------------------------- +Mon Nov 11 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Split build into build and install +- dkds.conf is now sourced in +- added kernelver variable to dkds.conf + + +------------------------------------------------------------------- +Fri Nov 8 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Added date to make.log +- Created the prepare_kernel function + + +------------------------------------------------------------------- +Thu Nov 7 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Barebones implementation complete + + +------------------------------------------------------------------- +Wed Oct 30 00:00:00 UTC 2002 - gary_lerhaupt@dell.com + +- Initial coding -- updated to 2.1.1.1 -- fixed init script dkms_autoinstaller (line 142, if - then - elif - without a command to be executed after the if statement) -- RPM group switched to "Sytstem/Kernel" -- added PreReqs for coreutils, /bin/sed and /usr/bin/grep on openSUSE =< 11.0 diff --git a/dkms.service b/dkms.service index 8fcc777..724dbfb 100644 --- a/dkms.service +++ b/dkms.service @@ -4,8 +4,8 @@ Description=Dynamic Kernel Modules System [Service] Type=oneshot RemainAfterExit=yes -ExecStart=/usr/lib/systemd/scripts/dkms start -ExecStop=/usr/lib/systemd/scripts/dkms stop +ExecStart=/usr/lib/systemd/system/dkms.systemd start +ExecStop=/usr/lib/systemd/system/dkms.systemd stop [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/dkms.spec b/dkms.spec index afbf235..86207f7 100644 --- a/dkms.spec +++ b/dkms.spec @@ -15,36 +15,34 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# -# spec file for package dkms (Version 2.2.0.2) -# -# norootforbuild -# -Summary: Dynamic Kernel Module Support Framework -Name: dkms -Version: 2.2.0.3 -Release: 0.1 -License: GPLv2+ -Vendor: The Bumblebee Project -Group: System/Kernel -BuildArch: noarch -Requires: sed gawk findutils modutils tar cpio gzip grep mktemp -Requires: bash > 1.99 -# because Mandriva calls this package dkms-minimal -Provides: dkms-minimal = %{version} -URL: http://linux.dell.com/dkms -Source0: http://linux.dell.com/dkms/permalink/dkms-%{version}.tar.bz2 -Source100: %{name}.changes -Source101: %{name}.rpmlintrc -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} -%if 0%{?suse_version} -Patch0: %{name}-compat_suse_init_script.diff -Requires: kernel-devel -%endif -%if 0%{?fedora} -Requires: kernel-devel -%endif +Name: dkms +Version: 2.2.0.3 +Release: 0 +Summary: Dynamic Kernel Module Support Framework +License: GPL-2.0 +Group: System/Kernel +Url: http://linux.dell.com/dkms +Source0: http://linux.dell.com/dkms/permalink/dkms-%{version}.tar.bz2 +Source1: dkms.service +Source2: dkms.systemd +Source3: dkms.default +Source100: %{name}.rpmlintrc +BuildRequires: systemd +Requires: bash > 1.99 +Requires: cpio +Requires: findutils +Requires: gawk +Requires: grep +Requires: gzip +Requires: kernel-devel +Requires: mktemp +Requires: modutils +Requires: sed +Requires: tar +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%systemd_requires %description This package contains the framework for the Dynamic @@ -53,904 +51,67 @@ module RPMS as originally developed by Dell. %prep %setup -q -%if 0%{?suse_version} -%patch0 -p1 -%endif %build -%triggerpostun -- %{name} < 1.90.00-1 -for dir in `find %{_localstatedir}/%{name} -type d -maxdepth 1 -mindepth 1`; do - mv -f $dir %{_localstatedir}/lib/%{name} -done -[ -e %{_sysconfdir}/dkms_framework.conf ] && ! [ -e %{_sysconfdir}/%{name}/framework.conf ] && mkdir %{_sysconfdir}/%{name} && cp -a %{_sysconfdir}/dkms_framework.conf %{_sysconfdir}/%{name}/framework.conf -arch_used="" -[ `uname -m` == "x86_64" ] && [ `cat /proc/cpuinfo | grep -c "Intel"` -gt 0 ] && arch_used="ia32e" || arch_used=`uname -m` -echo "" -echo "ALERT! ALERT! ALERT!" -echo "" -echo "You are using a version of DKMS which does not support multiple system" -echo "architectures. Your DKMS tree will now be modified to add this support." -echo "" -echo "The upgrade will assume all built modules are for arch: $arch_used" -current_kernel=`uname -r` -dkms_tree="%{_localstatedir}/lib/%{name}" -source_tree="%{_prefix}/src" -tmp_location="/tmp" -dkms_frameworkconf="%{_sysconfdir}/%{name}/framework.conf" -. $dkms_frameworkconf 2>/dev/null -echo "" -echo "Fixing directories." -for directory in `find $dkms_tree -type d -name "module" -mindepth 3 -maxdepth 4`; do - dir_to_fix=`echo $directory | sed 's#/module$##'` - echo "Creating $dir_to_fix/$arch_used..." - mkdir $dir_to_fix/$arch_used - mv -f $dir_to_fix/* $dir_to_fix/$arch_used 2>/dev/null -done -echo "" -echo "Fixing symlinks." -for symlink in `find $dkms_tree -type l -name "kernel*" -mindepth 2 -maxdepth 2`; do - symlink_kernelname=`echo $symlink | sed 's#.*/kernel-##'` - dir_of_symlink=`echo $symlink | sed 's#/kernel-.*$##'` - cd $dir_of_symlink - read_link="$symlink" - while [ -L "$read_link" ]; do - read_link=`ls -l $read_link | sed 's/.*-> //'` - done - if [ `echo $read_link | sed 's#/# #g' | wc -w | awk {'print $1'}` -lt 3 ]; then - echo "Updating $symlink..." - ln -sf $read_link/$arch_used kernel-$symlink_kernelname-$arch_used - rm -f $symlink - fi - cd - -done -echo "" - %install -rm -rf $RPM_BUILD_ROOT -make install-redhat DESTDIR=$RPM_BUILD_ROOT \ - SBIN=$RPM_BUILD_ROOT%{_sbindir} \ - VAR=$RPM_BUILD_ROOT%{_localstatedir}/lib/%{name} \ - MAN=$RPM_BUILD_ROOT%{_mandir}/man8 \ - ETC=$RPM_BUILD_ROOT%{_sysconfdir}/%{name} \ - BASHDIR=$RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d \ - LIBDIR=$RPM_BUILD_ROOT%{_prefix}/lib/%{name} - -%if 0%{?suse_version} -# create rcdkms_autoinstaller symlink for openSUSE -%if 0%{?suse_version} < 1130 -%define _initddir /etc/init.d -%endif -mkdir -p $RPM_BUILD_ROOT/%{_initddir} -mv $RPM_BUILD_ROOT/etc/rc.d/init.d/dkms_autoinstaller $RPM_BUILD_ROOT/%{_initddir}/dkms_autoinstaller -ln -sf %{_initddir}/dkms_autoinstaller $RPM_BUILD_ROOT/usr/sbin/rcdkms_autoinstaller -%endif +make install-redhat DESTDIR=%{buildroot} \ + SBIN=%{buildroot}%{_sbindir} \ + VAR=%{buildroot}%{_localstatedir}/lib/%{name} \ + MAN=%{buildroot}%{_mandir}/man8 \ + ETC=%{buildroot}%{_sysconfdir}/%{name} \ + BASHDIR=%{buildroot}%{_sysconfdir}/bash_completion.d \ + LIBDIR=%{buildroot}%{_libexecdir}/%{name} # systemd -install -D -m 644 %_sourcedir/dkms.service "$RPM_BUILD_ROOT/usr/lib/systemd/system/dkms.service" -install -D -m 755 %_sourcedir/dkms.systemd "$RPM_BUILD_ROOT/usr/lib/systemd/scripts/dkms" -install -D -m 644 %_sourcedir/dkms.default "$RPM_BUILD_ROOT/etc/default/dkms" +mkdir -p %{buildroot}%{_unitdir} +install -p -m 644 %{SOURCE1} %{buildroot}%{_unitdir} +install -p -m 755 %{SOURCE2} %{buildroot}%{_unitdir} +mkdir -p "%{buildroot}%{_sysconfdir}/default/dkms" +install -p -m 644 %{SOURCE3} "%{buildroot}%{_sysconfdir}/default/dkms" +ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdkms -%clean -rm -rf $RPM_BUILD_ROOT +# remove regular init file +rm -rf "%{buildroot}"/etc/rc.d/init.d/dkms_autoinstaller + +%pre +%service_add_pre dkms.service +exit 0 + +%post +# enable on initial install +%service_add_post dkms.service +exit 0 + +%postun +%service_del_postun dkms.service +exit 0 + +%preun +# remove on uninstall +%service_del_preun dkms.service +exit 0 %files %defattr(-,root,root) %{_sbindir}/%{name} -%if 0%{?suse_version} -%{_sbindir}/rcdkms_autoinstaller -%endif +%{_sbindir}/rcdkms %{_localstatedir}/lib/%{name} -%{_prefix}/lib/%{name} +%{_libexecdir}/%{name} %{_mandir}/*/* %config(noreplace) %{_sysconfdir}/%{name} %doc sample.spec sample.conf AUTHORS COPYING README.dkms %doc sample-suse-9-mkkmp.spec sample-suse-10-mkkmp.spec # these dirs are for plugins - owned by other packages -%{_initddir}/dkms_autoinstaller %{_sysconfdir}/kernel/postinst.d/%{name} %{_sysconfdir}/kernel/prerm.d/%{name} %config %{_sysconfdir}/bash_completion.d/%{name} -# systemd files and directory -/usr/lib/systemd -/usr/lib/systemd/system -/usr/lib/systemd/system/dkms.service -/usr/lib/systemd/scripts -/usr/lib/systemd/scripts/dkms -/etc/default/ -/etc/default/dkms -%if 0%{?suse_version} -# suse doesnt yet support /etc/kernel/{prerm.d,postinst.d}, but will fail build -# with unowned dirs if we dont own them ourselves -# when opensuse *does* add this support, we will need to BuildRequires kernel +%{_unitdir}/dkms.service +%{_unitdir}/dkms.systemd +%config %{_sysconfdir}/default/dkms %dir %{_sysconfdir}/kernel %dir %{_sysconfdir}/kernel/postinst.d %dir %{_sysconfdir}/kernel/prerm.d -%endif - - -%post -[ -e /sbin/dkms ] && mv -f /sbin/dkms /sbin/dkms.old 2>/dev/null -# enable on initial install -[ $1 -lt 2 ] && /sbin/chkconfig dkms_autoinstaller on ||: - -%postun -%insserv_cleanup -%restart_on_update - -%preun -# remove on uninstall -[ $1 -lt 1 ] && /sbin/chkconfig dkms_autoinstaller off ||: -%stop_on_removal %changelog -* Sat Aug 22 2009 Matt Domsch - 2.1.0.0-1 -- update to latest upstream -- drop Requires: lsb. avoid calling rpm (recursively) if possible. -- add recognition for Oracle Enterprise Linux, Oracle VM, Scientific - Linux, and VMware 3.x - -* Fri Jul 24 2009 Fedora Release Engineering - 2.0.21.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Apr 15 2009 Matt Domsch - 2.0.21.1-2 -- add Requires: lsb - -* Tue Apr 14 2009 Matt Domsch 2.0.21.1-1 -- update to latest upstream - -* Tue Feb 24 2009 Fedora Release Engineering - 2.0.19.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed May 28 2008 Matt Domsch 2.0.19.1 -- depmod on uninstall before mkinitrd, depmod fix & cleanups -- find_module_from_ko() could incorrectly return multiple values - -* Tue Mar 25 2008 Matt Domsch 2.0.19 -- fix dkms.spec file/dir ownerships yet again - -* Thu Mar 20 2008 Matt Domsch 2.0.18 -- don't include dist/ in tarball -- use /etc/kernel/{prerm,postinst}.d/dkms in RPMs now too -- mkrpm: display rpmbuild log on error, write RPMs to $dkms_tree/$module/$module_version/rpm -- clarify license in spec to GPLv2+ - -* Fri Feb 15 2008 Matt Domsch 2.0.17.6 -- call udevadm trigger instead of udevtrigger for newer udev (Launchpad #192241) -- omit installed-weak modules from remove --all (Red Hat BZ#429410) - -* Wed Oct 10 2007 Matt Domsch 2.0.17.5 -- call udevtrigger if we install a module for the currently running kernel -- uninstall from /extra before DEST_MODULE_LOCATION (Red Hat BZ#264981) -- Run depmod after uninstall - -* Wed Sep 19 2007 Matt Domsch 2.0.17.4 -- upgrade to latest upstream - -* Wed Jun 20 2007 Matt Domsch 2.0.16.2 -- updated for Ubuntu support, other bugfixes. - -* Tue Mar 20 2007 Matt Domsch 2.0.16.1 -- spec file cleanups per re-review in Fedora -- add bash completion, rpmbuild check, pinit, pass-arch patches from - Mandriva. These are generic. The other Mandriva patches appear to - be distro-specific. -- Look for /etc/sysconfig/module-init-tools to get some values. - -* Tue Feb 27 2007 Matt Domsch 2.0.16 -- fix override_dest_module_location() for historical distro versions -- don't run weak-modules if it doesn't exist - -* Mon Feb 26 2007 Matt Domsch 2.0.15 -- release with no changes - -* Fri Feb 23 2007 Matt Domsch 2.0.14.1 -- After upgrading from older DKMS versions to 2.0.14, any previously - installed modules wouldn't show status properly, and wouldn't - uninstall properly, due to the new policy of using /extras/ and - /updates/. Needed to take that into account and look in both places. -- SuSE puts weak-modules in /usr/lib/module-init-tools not /sbin. - -* Thu Feb 22 2007 Matt Domsch 2.0.14 -- RHEL5 weak module status report fixed - -* Mon Feb 19 2007 Matt Domsch 2.0.13.2 -- RHEL5 weak module recognition with new state installed-weak -- autoinstaller recognizes installed-weak and doesn't rebuild -- RHEL5 and SLES10 and higher weak module code expects modules to go - into /lib/modules/$kern/{extra,updates} respectively, so force that. - -* Mon Feb 5 2007 Matt Domsch -- patch from http://qa.mandriva.com/show_bug.cgi?id=27985 assigns new - modprobe.conf alias ordinals starting at zero. - -* Fri Jan 12 2007 Matt Domsch 2.0.13.1 -- properly create driver disks for Fedora Core 6 and RHEL5 -- make .iso, .tar, and floppy .img driver disks for Red Hat and SuSE -- set CLEAN properly even if MAKE[] isn't set. -- fix install.sh buglet installing the manpage - -* Thu Jun 29 2006 Matt Domsch -- cleanups to match Fedora Extras spec file - -* Thu Jun 29 2006 Matt Domsch 2.0.13 -- bump to 2.0.13 - -* Wed Jun 28 2006 Matt Domsch 2.0.12.1-1 -- fix version comparison awk pattern matching invocation and a line continuation - -* Mon Jun 26 2006 Matt Domsch 2.0.12-1 -- bump to 2.0.12 - -* Wed Jun 14 2006 Matt Domsch 2.0.11.1-1 -- fix version comparison for all 2.6 kernels - -* Mon Apr 10 2006 Matt Domsch -- add README.dkms to doc - -* Wed Mar 29 2006 Matt Domsch 2.0.11-1 -- use -n to all head and tail calls - -* Tue Mar 28 2006 Matt Domsch 2.0.10.1-1 -- fix munging of /etc/sysconfig/kernel INITRD_MODULES= line - so it doesn't move already-present entries to the end - -* Thu Mar 16 2006 Matt Domsch 2.0.10-1 -- bump to 2.0.10 - -* Wed Mar 15 2006 Matt Domsch 2.0.9.3-1 -- add PRE_INSTALL dkms.conf directive - -* Tue Mar 14 2006 Matt Domsch 2.0.9.2-1 -- add SuSE Kernel Module Package (mkkmp) support - -* Tue Dec 13 2005 Matt Domsch 2.0.9.1-1 -- patch from Eric Devolder enables mkinitrd for Debian Sarge -- include debian/ directory in upstream tarball - -* Thu Dec 8 2005 Matt Domsch 2.0.9-1 -- fix DF28947 (remove word 'only') from a printed message -- gzip -9 dkms.8 manpage - -* Wed Dec 7 2005 Matt Domsch 2.0.8.3 -- look to DKMS_DIRECTIVE* environment variables to override dkms.conf settings -- don't create/remove (unused) /var/lock/subsys/dkms files in autoinstaller - -* Mon Nov 7 2005 Gary Lerhaupt 2.0.8.2 -- Multi driver suse driver disk support (thanks to Sreenivas.Bagalkote@engenio.com) -- Cleanup tempdir when ldtarball fails - -* Mon Nov 7 2005 Gary Lerhaupt 2.0.8.1 -- mkrpm now is built with -ba, not -bb (creates source RPM) - -* Fri Nov 4 2005 Gary Lerhaupt 2.0.8 -- In dkms_autoinstaller added -no-clean-kernel to builds of multiple modules to avoid mrproper - -* Wed Oct 19 2005 Gary Lerhaupt 2.0.7 -- Repackaged 2.0.6.2 as 2.0.7 - -* Wed Oct 19 2005 Gary Lerhaupt 2.0.6.2 -- Updated dkms_mkkerneldoth to know about VMWare kernel - -* Sun Oct 9 2005 Gary Lerhaupt 2.0.6.1 -- Changed root check on ldtarball to only care about root if it sees --force - -* Fri Sep 2 2005 Gary Lerhaupt 2.0.6 -- renamed 2.0.5.9 to 2.0.6 - -* Mon Jul 25 2005 Gary Lerhaupt 2.0.5.9 -- FIXED BUG, when only some modules have original_modules, ARCHIVE_PREF3 wasn't getting reset causing big problems - -* Mon Jul 18 2005 Gary Lerhaupt 2.0.5.8 -- DKMS install now moves out original modules, does not copy them out - -* Tue Jun 7 2005 Gary Lerhaupt 2.0.5.7 -- Get rid of grep error when looking for RH file on non RH distro (Matt Domsch) - -* Wed May 11 2005 Gary Lerhaupt 2.0.5.6 -- handle obsolete modules in /etc/sysconfig/kernel - -* Fri Apr 29 2005 Gary Lerhaupt 2.0.5.5 -- dkms remove now properly removes modules_conf_aliases (thanks Matthew Melvin) - -* Wed Apr 20 2005 Gary Lerhaupt 2.0.5.4 -- Mktarball fails if it can't find dkms_dbversion - -* Tue Mar 15 2005 Gary Lerhaupt 2.0.5.3 -- More spec cleanups - -* Mon Mar 14 2005 Gary Lerhaupt 2.0.5.2 -- Tweaked spec to follow http://fedoraproject.org/wiki/PackagingGuidelines - -* Thu Mar 03 2005 Gary Lerhaupt 2.0.5.1 -- Added --size for alternate driver disk image sizes - -* Tue Jan 25 2005 Gary Lerhaupt 2.0.5 -- Repackaged as 2.0.5 - -* Mon Jan 17 2005 Gary Lerhaupt 2.0.4.3 -- Allow MAKE_MATCH[0] to decide if MAKE[0] will be used -- Add Taroon check in template-dkms-mkrpm.spec for ia32e detection - -* Mon Dec 20 2004 Gary Lerhaupt 2.0.4.2 -- John Hull's patch for no SuSE 2.6 kernel preparation - -* Wed Dec 15 2004 Gary Lerhaupt 2.0.4.1 -- Red Hat driver disks can now have modules.pcimap and pci.ids files - -* Mon Dec 13 2004 Gary Lerhaupt 2.0.4 -- bumped revision - -* Fri Dec 10 2004 Gary Lerhaupt 2.0.3.3 -- Added quotes to $kernel_config when checking variable -- Tweak the multiowned arch detection workaround to deal with no ownership - -* Mon Dec 6 2004 Gary Lerhaupt 2.0.3.2 -- Fix to template-spec so that ia32e check doesn't require kernel sources - -* Wed Dec 1 2004 Gary Lerhaupt 2.0.3.1 -- Jeffrey Kirsher's workaround for arch detection on multiowned /lib/modules - -* Mon Nov 22 2004 Gary Lerhaupt 2.0.3 -- Issues regressed. Bumped to non-testing version. - -* Fri Nov 19 2004 Gary Lerhaupt 2.0.2.5 -- DKMS ldtarball arch fix for changed Andreas 2.0.2 code -- Workaround for Red Hat's new source symlink in 2.6.9 -- All 'cd -' now output to /dev/null - -* Sat Oct 2 2004 Gary Lerhaupt 2.0.2 -- Added --verbose which invoke_command uses -- Fixed it so mrproper doesn't get run > 2.6.6 - -* Tue Sep 28 2004 Gary Lerhaupt 2.0.1.2-1 -- Charles Duffy's fix for multiple rpms owning /lib/modules/kernel... -- Andreas Gruenbacher's removal of IFS usage -- Andreas Gruenbacher's reorganizing prepare check into prepare_kernel -- Andreas Gruenbacher's patch to cut down on line length by using $base_dir -- fixed $base_dir so it gets set after setup_kernels_arches - -* Sun Sep 12 2004 Andreas Gruenbacher -- patch to remove tick usage -- patch to rewrite version comparison code -- patch to switch to usage of case, remove use of grep -c, remove use of IFS -- patch to change handling of stderr - -* Fri Sep 10 2004 Gary Lerhaupt -- Fixed remove so you can remove modules in added state - -* Thu Sep 9 2004 Gary Lerhaupt -- Removed "module ignored" message from dkms_autoinstaller - -* Thu Aug 26 2004 Gary Lerhaupt 2.0.0-1 -- Output to stderr is now >> and not > -- Added kludge to allow redhat1 driver disks with BOOT kernel modules -- Allow cross arch building on 2.6 if --kernelsourcedir is passed -- Generic make commands now respect --kernelsourcedir -- Bumped dkms_dbversion to 2.0.0 - -* Thu Aug 19 2004 Gary Lerhaupt 1.96.02-1 -- Fixed suse driver disks for i386 - -* Thu Aug 12 2004 Gary Lerhaupt 1.96.01-1 -- Look for /etc/SuSEconfig also to know if its a SuSE box -- If no make command, set the clean command - -* Wed Aug 11 2004 Gary Lerhaupt 1.95.32-1 -- Added suse mkdriverdisk support -- Updated man page - -* Tue Aug 10 2004 Gary Lerhaupt 1.95.25-1 -- Added provides: dkms-minimal for Mandrake -- Added -r, --release for use in SuSE driver disks - -* Fri Aug 06 2004 Gary Lerhaupt 1.95.24-1 -- Fixed kernelsourcedir error message. -- dkms_autoinstaller now excepts a kernel parameter - -* Tue Jul 27 2004 Gary Lerhaupt 1.95.19-1 -- Created a set_kernel_source_dir function to remove dup code - -* Mon Jul 26 2004 Gary Lerhaupt 1.95.18-1 -- Added John Hull's SuSE support patches (mkinitrd, config prep) - -* Fri Jul 23 2004 Gary Lerhaupt 1.95.11-1 -- Split modulesconf_modify to separate add and remove functions -- Added support for /etc/modprobe.conf - -* Thu Jul 15 2004 Gary Lerhaupt 1.95.10-1 -- Remove coreutils as a dependency to avoid RH21 error. - -* Wed Jul 14 2004 Gary Lerhaupt 1.95.09-1 -- DKMS ldtarball now check dbversion and wont load future tarballs - -* Mon Jul 12 2004 Gary Lerhaupt 1.95.06-1 -- Buchan Milne's Mandrake prep support patch -- Buchan Milne's macro additions to template-dkms-mkrpm.spec -- Buchan Milne's typo corrections in mkrpm -- Buchan Milne's change to how mkrpm works (mktarball happen in rpm prep) - -* Tue Jul 06 2004 Gary Lerhaupt 1.94.16-1 -- Added a dependency on modutils for usage of modinfo -- Added version sanity check -- dkms_autoinstaller now check for sanity of version -- Changed conversion algorithm for /var/dkms to /var/lib/dkms -- Changed all warning to get to stderr -- set_module_suffix doesn't use version_checker because its too slow - -* Thu Jul 01 2004 Gary Lerhaupt 1.94.06-1 -- Reworked version checking to handle non-digit characters -- Added coreutils as a dependency -- Create a tempdir in mkdriverdisk, whoops (thanks Charles Duffy) - -* Wed Jun 30 2004 Gary Lerhaupt 1.94.03-1 -- dkms_dbversion belongs in /var/lib/dkms (thanks Thomas Palmieri) -- Added a version checking subroutine -- Removed gt2dot4 variable in favor of kernel version checking -- MAKE is no longer required. If none specified, it uses a default. - -* Thu Jun 24 2004 Gary Lerhaupt 1.94.01-1 -- Buchan Milne's optimization of the arch detection code - -* Wed Jun 23 2004 Gary Lerhaupt 1.93.14-1 -- Fixed bug when find finds more than one thing (thanks Paul Howarth) -- Changed arch detection code to first try RPM which always will get it right (thanks Vladimir Simonov) - -* Tue Jun 22 2004 Gary Lerhaupt 1.93.12-1 -- Initial mkrpm is working -- Added --source-only option to mktarball -- mkrpm handles --source-only -- Updated manpage - -* Fri Jun 17 2004 Gary Lerhaupt 1.93.04-1 -- Started adding mkrpm - -* Wed Jun 16 2004 Gary Lerhaupt 1.93.01-1 -- Fixed dkms_autoinstaller bugs (thanks Vladimir Simonov) -- Fixed paths in the tarball's install.sh - -* Tue Jun 15 2004 Gary Lerhaupt 1.92.33-1 -- kernelver/arch handling for mktarball - -* Mon Jun 14 2004 Gary Lerhaupt 1.92.26-1 -- Added support for RH v2 driver disks (they support multiple arches) - -* Fri Jun 11 2004 Gary Lerhaupt 1.92.24-1 -- Continue rework of kernelver/arch handling -- Added PATH fix (thanks Andrey Ulanov ) -- config_contents should not be local (thanks Andrey Ulanov) -- If no config in /configs, just use .config (thanks Andrey Ulanov) -- match now pays attention to --kernelsourcedir - -* Wed Jun 09 2004 Gary Lerhaupt 1.92.06-1 -- Started coding new kernelver arch CLI handling - -* Mon Jun 07 2004 Gary Lerhaupt 1.92.04-1 -- Added STRIP[] directive. By default dkms now runs strip -g on all built modules. -- Fix set_module_suffix in dkms build -- Changed /etc/dkms_framework.conf to /etc/dkms/framework.conf -- Added reload into dkms_autoinstaller to limit Mandrake error messages -- Moved /var/dkms to /var/lib/dkms !!!!!!!!!!!!!!!! - -* Fri Jun 04 2004 Gary Lerhaupt 1.92.01-1 -- PRE_BUILD, POST_BUILD, POST_ADD, etc all now allow their scripts to accept parameters - -* Thu Jun 03 2004 Gary Lerhaupt 1.91.18-1 -- Added --installtree option to specify different install location besides /lib/modules -- Took Charles Duffy's advice and removed brackets on error messages - -* Wed Jun 02 2004 Gary Lerhaupt 1.91.14-1 -- Added set_module_suffix function - -* Tue Jun 01 2004 Gary Lerhaupt 1.91.12-1 -- Added a PRE_BUILD dkms.conf directive. - -* Thu May 27 2004 Gary Lerhaupt 1.91.11-1 -- Added build time check for gcc and make if there is a build failure -- You can now specify --archive to mktarball to control the naming of the made tarball (thanks Vladimir Simonov) - -* Wed May 26 2004 Gary Lerhaupt 1.91.07-1 -- Removed rpm dependency on gcc (thanks Vladimir Simonov) -- Re-implemented dkms status recursively - -* Mon May 24 2004 Gary Lerhaupt 1.91.01-1 -- Added local variable declarations to local variables - -* Fri May 21 2004 Gary Lerhaupt 1.90.46-1 -- Vladimir Simonov's invoke_command improvements for keeping /tmp clean - -* Thu May 20 2004 Gary Lerhaupt 1.90.45-1 -- Pass --targetarch to dkms_mkkerneldoth (thanks to Vladimir Simonov ) -- Moved arch detection into a function called detect_arch - -* Wed May 19 2004 Gary Lerhaupt 1.90.44-1 -- Bug fixes on arch support -- Updated man page - -* Tue May 18 2004 Gary Lerhaupt 1.90.32-1 -- Completing arch awareness and transition scripts -- Created upgrade_dkms_archify.sh to update DKMS trees for arch support - -* Mon May 17 2004 Gary Lerhaupt 1.90.06-1 -- Continued adding arch awareness - -* Thu May 13 2004 Gary Lerhaupt 1.90.01-1 -- Started adding arch awareness into the DKMS tree - -* Fri May 07 2004 Gary Lerhaupt 1.10-1 -- bumped the revision - -* Thu May 06 2004 Gary Lerhaupt 1.09.21-1 -- Improved readability of install and uninstall text to the screen -- You can now specify multiple actions in the same command - -* Wed May 05 2004 Gary Lerhaupt 1.09.05-1 -- Added arch_used as part of the filename of a tarball created by mktarball -- If multiple original modules exist in a single kernel, the one in /updates is preferred -- Changed multiple original module handling to move out and store all collisions - -* Mon May 03 2004 Gary Lerhaupt 1.09.01-1 -- Changed 2.6 prep prepare-all target usage to make modules_prepare -- Changed 2.6 make command to always use M= as this is fixed in 2.6.6-rc3-bk5 - -* Fri Apr 30 2004 Gary Lerhaupt 1.09-1 -- If module build exit status is bad, die accordingly -- 2.6 kernel prep changes (not quite there yet, still broken) - -* Thu Apr 29 2004 Gary Lerhaupt 1.08.06-1 -- Added BUILD_EXCLUSIVE_KERNEL & BUILD_EXCLUSIVE_ARCH directives for dkms.conf -- Tweaked dkms_autoinstaller to more gracefully handle a build failure - -* Tue Apr 27 2004 Gary Lerhaupt 1.08.02-1 -- Got rid of make clean warning if not present - -* Tue Apr 20 2004 Gary Lerhaupt 1.08.01-1 -- Fixed error message when compiling with --no-prepare-kernel - -* Tue Apr 13 2004 Gary Lerhaupt 1.08-1 -- Fixed the format of rhdd-6.1 for Red Hat driver disks -- Update man page with new white paper info - -* Thu Apr 1 2004 Gary Lerhaupt 1.07-1 -- Added work-around to recognize ia32e kernel config instead of x86_64 -- Got rid of start and stop functions which were no-ops anyway - -* Thu Mar 25 2004 Gary Lerhaupt 1.06-1 -- Added a fix to keep the driver disk filename from being so long that it breaks - -* Mon Feb 09 2004 Gary Lerhaupt 1.05-1 -- Added a fix to resolve RHEL21 depmod errors when an obsolete reference is found - -* Thu Jan 15 2004 Gary Lerhaupt 1.02-1 -- Fixed mkinitrd for ia64 - -* Tue Dec 09 2003 Gary Lerhaupt 1.00.01-1 -- Fixed /usr/share/doc/dkms- mode to 755 - -* Mon Dec 01 2003 Gary Lerhaupt 1.00-1 -- Bumped version to 1.00 - -* Mon Nov 24 2003 Gary Lerhaupt 0.99.02-1 -- Add -t vfat to loopback mount during creation of driver disk - -* Fri Nov 21 2003 Gary Lerhaupt 0.99.01-1 -- Only edit /etc/modules.conf if remake_initrd is set or if this is the last uninstall and no original module exists -- Added MODULES_CONF_OBSOLETE_ONLY array directive in dkms.conf -- Updated man page - -* Wed Nov 19 2003 Gary Lerhaupt 0.46.05-1 -- Fixed a bug in mktarball to limit the tarball name to less than 255 chars - -* Tue Nov 18 2003 Gary Lerhaupt 0.46.04-1 -- Binary only tarballs now contain a copy of dkms.conf so that they can be force loaded - -* Mon Nov 17 2003 Gary Lerhaupt 0.45.03-1 -- Updated man page, recommended rpm naming: --dkms.noarch.rpm - -* Thu Nov 13 2003 Gary Lerhaupt 0.45.02-1 -- dkms_autoinstaller is now installed to /etc/init.d for cross-distro happiness - -* Fri Nov 07 2003 Gary Lerhaupt 0.45.01-1 -- Added kernel config prepping for hugemem kernel (thanks Amit Bhutani) -- modules.conf only now gets changed during install or uninstall of active module - -* Tue Nov 03 2003 Gary Lerhaupt 0.44.05-1 -- Changed MODULES_CONF_ALIAS_TYPE to an array in dkms.conf -- Added MODULES_CONF_OBSOLETES array in dkms.conf -- Reworked modules_conf_modify to make use of OBSOLETES logic -- Updated man page - -* Fri Oct 31 2003 Gary Lerhaupt 0.42.03-1 -- Added --binaries-only option to mktarball -- Updated man page - -* Thu Oct 30 2003 Gary Lerhaupt 0.41.15-1 -- If depmod or mkinitrd fail during install, automatically go back to built state -- Warn heavily if mkinitrd fails during uninstall - -* Wed Oct 29 2003 Gary Lerhaupt 0.41.11-1 -- Removed paths from dkms calls in sample.spec -- Fixed typo of KERNELRELEASE - -* Wed Oct 29 2003 Gary Lerhaupt 0.41.10-1 -- Added Red Hat specific kernel prep to avoid make dep (Thanks Matt Domsch) -- Added dkms_mkkerneldoth script to support RH kernel prep -- Moved dkms from /sbin/ to /usr/sbin -- Fixed typo which caused original_module not to get replaced on uninstall -- No longer edit Makefiles, just specify KERNELVERSION=$kernel_version on the command line -- Removed unnecessary depmod during uninstall - -* Thu Oct 23 2003 Gary Lerhaupt 0.40.16-1 -- Fixed mkdriverdisk to copy rhdd-6.1 file into driver disk image - -* Wed Oct 22 2003 Gary Lerhaupt 0.40.15-1 -- Changed expected driver disk filename from module-info to modinfo to work on legacy RH OSs - -* Tue Oct 14 2003 Gary Lerhaupt 0.40.14-1 -- Unset all arrays before using them. duh. - -* Tue Oct 07 2003 Gary Lerhaupt 0.40.12-1 -- Fixed bug in autoinstaller where it wasn't looking for dkms.conf through source symlink - -* Thu Oct 02 2003 Gary Lerhaupt 0.40.11-1 -- Added --rpm_safe_upgrade flag -- Updated the man page and sample.spec - -* Wed Oct 01 2003 Gary Lerhaupt 0.40.05-1 -- No longer copy dkms.conf into /var/dkms tree, just go to the source_tree so as to reduce duplication -- Got rid of --post-add, --post-build, --post-install and --post-remove -- Replaced the above with DKMS directives POST_ADD, POST_BUILD, POST_INSTALL, POST_REMOVE -- Fixed ldtarball and mktarball to no longer look for these duplicate files -- Added a sample.conf for /usr/share/doc -- Updated dkms_dbversion to 1.01 from 1.00 due to these changes -- Update the man page - -* Tue Sep 30 2003 Gary Lerhaupt 0.39.17-1 -- Added diff checking in status command in case modules are overwritten by someone else -- Fixed already built error message in build_module -- Changed build-arch to noarch -- Updated sample.spec -- Change dest_module_location to not get prefaced by /lib/modules/$kernel_version -- When saving old initrd, copy it instead of moving it in case new one doesn't build -- Only create source symlink during loadtarball if --force or if it doesn't exist -- Decide to completely remove during remove_module after doing find with maxdepth of 0 not 1 - -* Mon Sep 29 2003 Gary Lerhaupt 0.39.08-1 -- Reworked mktarball format to remove dependence on /var/dkms and /usr/src -- Reworked ldtarball to match new tarball format -- Ldtarball now uses --archive=tarball-location flag instead of --config flag -- Ldtarball can now load any old source tarball as long as it contains a good dkms.conf -- Added --kernelsourcedir cli option to provide alternate location for kernel source -- Driver disk files are now looked for in /redhat_driver_disk -- Added $tmp_location specifiable in /etc/dkms_framework.conf to specify your /tmp dir (default /tmp) -- Updated man page - -* Thu Sep 25 2003 Gary Lerhaupt 0.38.03-1 -- Fixed tmp_dir_name typo in ldtarball -- Fixed mkdriverdisk to correctly create kernel/module structure -- Don't expect a rhdd-6.1 file for RH driver disk, dkms will create it -- Remove mkdriverdisk warning on non BOOT kernels -- Moved driver_disk directory location to underneath $module_version -- mkdriverdisk can now accept multiple kernel versions -- Updated man page with info about $dkms_tree and $source_tree as dkms.conf variables - -* Wed Sep 24 2003 Gary Lerhaupt 0.37.10-1 -- Don't allow installs of modules onto non-existant kernels -- Suppressed stderr on some commands -- Fixed brain-dead bug for REMAKE INITRD -- During uninstall, dont remake initrd if it was not installed -- ldtarball into unique tempdir and delete it when finished - -* Tue Sep 23 2003 Gary Lerhaupt 0.37.04-1 -- Changed PATCH to array based system (added PATCH_MATCH array) -- PATCHes can now be matched against regular expressions, not just substrings -- Changed MODULES_CONF to array based system -- CHANGED MAKE to array based system (added MAKE_MATCH array) -- MAKEs can now be matched against regular expressions, not just substrings. -- Updated man page - -* Mon Sep 22 2003 Gary Lerhaupt 0.36.10-1 -- Changed autoinstaller bootup priority from 08 to 04 -- Changed invoke_command routine to use mktemp for better security -- Changed invoke_command in dkms_autoinstaller too - -* Fri Sep 19 2003 Gary Lerhaupt 0.36.05-1 -- Continued bug testing and fixing new features - -* Wed Sep 17 2003 Gary Lerhaupt 0.36.02-1 -- Got rid of MODULE_NAME: replaced with BUILT_MODULE_NAME, DEST_MODULE_NAME arrays -- Got rid of LOCATION: replaced with BUILT_MODULE_LOCATION, DEST_MODULE_LOCATION arrays -- Update man page - -* Tue Sep 16 2003 Gary Lerhaupt 0.36.01-1 -- Fixed the setting of the gt2dot4 variable - -* Wed Sep 10 2003 Gary Lerhaupt 0.35.02-1 -- Added PACKAGE_NAME, PACKAGE_VERSION requirements to dkms.conf for gmodconfig use -- Fixed creation of /var/dkms before cp of dkms_dbversion in install.sh - -* Mon Sep 08 2003 Gary Lerhaupt 0.34.10-1 -- Continued adding autoinstall stuff -- Updated man page - -* Fri Sep 05 2003 Gary Lerhaupt 0.34.01-1 -- Added dkms_autoinstaller service (builds module on boot if AUTOINSTALL="yes" in dkms.conf) -- DKMS usage no longer sent to std_err -- Added --no-prepare-kernel cli option - -* Fri Aug 08 2003 Gary Lerhaupt 0.33.02-1 -- Fixed quote bugs in match (Reported by: John Hull ) -- Added Fred Treasure to the AUTHORS list -- Added dkms_dbversion file to DKMS tree to track architecture of dkms db layout - -* Thu Jul 03 2003 Gary Lerhaupt 0.32.04-1 -- Added mkinitrd support for SuSE (etc_sysconfig_kernel_modify) -- Added generic make command for kernel >2.4 (make -C SUBDIRS= modules) -- Fixed kernel prepare to do Red Hat/Generic by default -- Only do make dep if < 2.5 - -* Tue Jun 03 2003 Gary Lerhaupt 0.31.04-1 -- Modified the Red Hat prep routine to be smaller and more robust (including summit support) -- Added sample.spec to the sources for /usr/share/doc -- If you save a .config before make mrproper, return it right afterwards -- Updated the man page - -* Fri May 30 2003 Gary Lerhaupt 0.30.17-1 -- Added a remake_initrd function to keep SuSE from doing wrong things -- If you know the correct right steps for rebuilding SuSE initrds, please let me know! -- Updated man page - -* Thu May 29 2003 Gary Lerhaupt 0.30.15-1 -- Added a native readlink function to make sure it exists -- Added a mkdir -p to $location to make sure it exists -- Added --directive - -* Wed May 28 2003 Gary Lerhaupt 0.30.05-1 -- Added kernel preparation support for SLES/United Linux (Many thanks to: Fred Treasure ) - -* Tue May 20 2003 Gary Lerhaupt 0.29.09-1 -- On remove, to remove all kernel versions you must now specify --all -- Added grep, cpio and gzip to the Requires of the RPM -- Added cleaning kernel tree (make mrproper) after last build completes -- Before prepare kernel, the current .config is stored in memory to be restored later -- Added a verbose warning to the status command to remind people it only shows DKMS modules -- Added /etc/dkms_framwork.conf for controlling source_tree and dkms_tree -- Added the undocumented --dkmstree and --sourcetree options for cli control of these vars -- When looking for original modules, dkms now employs the find command to expand search past $location -- Updated man page - -* Wed May 14 2003 Gary Lerhaupt 0.28.05-1 -- Fixed a typo in the man page. - -* Tue May 05 2003 Gary Lerhaupt 0.28.04-1 -- Fixed ldtarball/mktarball to obey source_tree & dkms_tree (Reported By: Jordan Hargrave ) -- Added DKMS mailing list to man page - -* Tue Apr 29 2003 Gary Lerhaupt 0.27.05-1 -- Changed NEEDED_FOR_BOOT to REMAKE_INITRD as this makes more sense -- Redid handling of modifying modules.conf -- Added MODULE_CONF_ALIAS_TYPE to specs - -* Mon Apr 28 2003 Gary Lerhaupt 0.26.12-1 -- Started adding ldtarball support -- added the --force option -- Update man page - -* Thu Apr 24 2003 Gary Lerhaupt 0.26.05-1 -- Started adding mktarball support -- Fixed up the spec file to use the tarball - -* Tue Mar 25 2003 Gary Lerhaupt 0.25.14-1 -- Continued integrating mkdriverdisk -- Updated man page - -* Mon Mar 24 2003 Gary Lerhaupt 0.25.03-1 -- Added renaming ability to modules after builds (MODULE_NAME="beforename.o:aftername.o") -- Started adding mkdriverdisk support -- Added distro parameter for use with mkdriverdisk -- Now using readlink to determine symlink pointing location -- Added redhat BOOT config to default location of config files -- Fixed a bug in read_conf that caused the wrong make subdirective to be used -- Remove root requirement for build action - -* Wed Mar 19 2003 Gary Lerhaupt 0.23.19-1 -- Fixed archiving of original modules (Reported by: Kris Jordan ) - -* Wed Mar 12 2003 Gary Lerhaupt 0.23.18-1 -- Added kernel specific patching ability - -* Mon Mar 10 2003 Gary Lerhaupt 0.23.16-1 -- Removed the sourcing in of /etc/init.d/functions as it was unused anyway -- Implemented generic patching support -- Updated man page -- Fixed timing of the creation of DKMS built infrastructure in case of failure - -* Fri Mar 07 2003 Gary Lerhaupt 0.23.11-1 -- Builds now occur in /var/dkms/$module/$module_version/build and not in /usr/src -- Fixed the logging of the kernel_config - -* Thu Mar 06 2003 Gary Lerhaupt 0.23.01-1 -- Started adding patch support -- Redid reading implementation of modules_conf entries in dkms.conf (now supports more than 5) -- Updated man page - -* Tue Mar 04 2003 Gary Lerhaupt 0.22.06-1 -- Module names are not just assumed to end in .o any longer (you must specify full module name) -- At exit status to invoke_command when bad exit status is returned - -* Fri Feb 28 2003 Gary Lerhaupt 0.22.03-1 -- Changed the way variables are handled in dkms.conf, %kernelver to $kernelver - -* Mon Feb 24 2003 Gary Lerhaupt 0.22.02-1 -- Fixed a typo in install - -* Tue Feb 11 2003 Gary Lerhaupt 0.22.01-1 -- Fixed bug in remove which made it too greedy -- Updated match code - -* Mon Feb 10 2003 Gary Lerhaupt 0.21.16-1 -- Added uninstall action -- Updated man page - -* Fri Feb 07 2003 Gary Lerhaupt 0.20.06-1 -- Added --config option to specify where alternate .config location exists -- Updated the man page to indicate the new option. -- Updated the spec to allow for software versioning printout -- Added -V which prints out the current dkms version and exits - -* Thu Jan 09 2003 Gary Lerhaupt 0.19.01-1 -- Added GPL stuffs - -* Mon Dec 09 2002 Gary Lerhaupt 0.18.04-1 -- Added support for multiple modules within the same install -- Added postadd and fixed up the man page - -* Fri Dec 06 2002 Gary Lerhaupt 0.17.01-1 -- Cleaned up the spec file. - -* Fri Nov 22 2002 Gary Lerhaupt -- Fixed a bug in finding MAKE subdirectives - -* Thu Nov 21 2002 Gary Lerhaupt -- Fixed make.log path error when module make fails -- Fixed invoke_command to work under RH8.0 -- DKMS now edits kernel makefile to get around RH8.0 problems - -* Wed Nov 20 2002 Gary Lerhaupt -- Reworked the implementation of -q, --quiet - -* Tue Nov 19 2002 Gary Lerhaupt -- Version 0.16: added man page - -* Mon Nov 18 2002 Gary Lerhaupt -- Version 0.13: added match option -- Version 0.14: dkms is no longer a SysV service -- Added depmod after install and remove -- Version 0.15: added MODULES_CONF directives in dkms.conf - -* Fri Nov 15 2002 Gary Lerhaupt -- Version 0.12: added the -q (quiet) option - -* Thu Nov 14 2002 Gary Lerhaupt -- Version 0.11: began coding the status function - -* Wed Nov 13 2002 Gary Lerhaupt -- Changed the name to DKMS -- Moved original_module to its own separate directory structure -- Removal now does a complete clean up - -* Mon Nov 11 2002 Gary Lerhaupt -- Split build into build and install -- dkds.conf is now sourced in -- added kernelver variable to dkds.conf - -* Fri Nov 8 2002 Gary Lerhaupt -- Added date to make.log -- Created the prepare_kernel function - -* Thu Nov 7 2002 Gary Lerhaupt -- Barebones implementation complete - -* Wed Oct 30 2002 Gary Lerhaupt -- Initial coding