From c5c3f6133a0fb62ba9c2c3b839e6ea5774f9c76a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 26 Sep 2010 12:38:38 +0200 Subject: Adding debian version 3.0~a1-1. --- examples/hooks/lenny_chroot_squashfs-modules.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 examples/hooks/lenny_chroot_squashfs-modules.sh (limited to 'examples/hooks/lenny_chroot_squashfs-modules.sh') diff --git a/examples/hooks/lenny_chroot_squashfs-modules.sh b/examples/hooks/lenny_chroot_squashfs-modules.sh deleted file mode 100755 index cfa2f776c..000000000 --- a/examples/hooks/lenny_chroot_squashfs-modules.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# This is a hook for live-build(7) to install squashfs drivers -# To enable it, copy or symlink this hook into your config/chroot_local-hooks -# directory. -# -# Note: You only want to use this hook if there is no prebuild -# squashfs-modules-* package available for your kernel flavour. - -apt-get install --yes build-essential - -# Building kernel module -which module-assistant || apt-get install --yes module-assistant -module-assistant update - -for KERNEL in /boot/vmlinuz-* -do - VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')" - - module-assistant --non-inter --quiet auto-install squashfs -l ${VERSION} -done - -module-assistant clean squashfs -- cgit v1.2.3