Skip to content
Browse files

Completely remove /lib/modules/${KERNEL}/kernel/drivers/isdn/hisax on…

… grml-small
  • Loading branch information...
1 parent 8d670a0 commit 31918d2b0a17b361e0d2c537d2aad0aa243814ef @mika mika committed Sep 7, 2009
Showing with 7 additions and 4 deletions.
  1. +3 −1 debian/changelog
  2. +4 −3 etc/grml/fai/grml/grml_cleanup_chroot
View
4 debian/changelog
@@ -39,8 +39,10 @@ grml-live (0.9.22) UNRELEASED; urgency=low
* Fix grml2usb bootoption in templates/boot/isolinux/grml.cfg.
* Display "Finished execution of stage 'WINDOWS_BINARIES'" only if the
according code has been executed (and do not display if skipping).
+ * Completely remove /lib/modules/${KERNEL}/kernel/drivers/isdn/hisax on
+ grml-small as there will be unresolved symbols without hisax.ko.
- -- Michael Prokop <mika@grml.org> Mon, 07 Sep 2009 14:43:28 +0200
+ -- Michael Prokop <mika@grml.org> Mon, 07 Sep 2009 15:59:47 +0200
grml-live (0.9.21) unstable; urgency=low
View
7 etc/grml/fai/grml/grml_cleanup_chroot
@@ -147,14 +147,15 @@ fi
# get rid of large kernel modules:
if ifclass GRML_SMALL ; then
+ einfo "Identified grml-small, removing some very large kernel drivers:"
if [ -r "/lib/modules/${KERNEL}/kernel/fs/ocfs2/ocfs2.ko" ] ; then
einfo "Removing /lib/modules/${KERNEL}/kernel/fs/ocfs2/ocfs2.ko"
rm -f "/lib/modules/${KERNEL}/kernel/fs/ocfs2/ocfs2.ko"
eend $?
fi
- if [ -r "/lib/modules/${KERNEL}/kernel/drivers/isdn/hisax/hisax.ko" ] ; then
- einfo "Removing /lib/modules/${KERNEL}/kernel/drivers/isdn/hisax/hisax.ko"
- rm -f "/lib/modules/${KERNEL}/kernel/drivers/isdn/hisax/hisax.ko"
+ if [ -d "/lib/modules/${KERNEL}/kernel/drivers/isdn/hisax/" ] ; then
+ einfo "Removing /lib/modules/${KERNEL}/kernel/drivers/isdn/hisax"
+ rm -rf "/lib/modules/${KERNEL}/kernel/drivers/isdn/hisax"
eend $?
fi
fi

0 comments on commit 31918d2

Please sign in to comment.
Something went wrong with that request. Please try again.