Updating oot example hooks to loop through all install kernel flavours.
This commit is contained in:
parent
f4c10e4614
commit
b7d55d146b
|
@ -9,5 +9,12 @@
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install aufs
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install aufs -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean aufs
|
module-assistant clean aufs
|
||||||
|
|
|
@ -9,7 +9,14 @@
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install ipw2100
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install ipw2100 -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean ipw2100
|
module-assistant clean ipw2100
|
||||||
|
|
||||||
# Installing firmware (http://ipw2100.sourceforge.net/firmware.php)
|
# Installing firmware (http://ipw2100.sourceforge.net/firmware.php)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# This is a hook for live-helper(7) to install nvidia-legacy drivers
|
# This is a hook for live-helper(7) to install ipw2200 drivers
|
||||||
# To enable it, copy this hook into your config/chroot_local-hooks directory.
|
# To enable it, copy this hook into your config/chroot_local-hooks directory.
|
||||||
#
|
#
|
||||||
# Note: This hook requires packages from the contrib section. Make sure you enabled
|
# Note: This hook requires packages from the contrib section. Make sure you enabled
|
||||||
|
@ -9,7 +9,14 @@
|
||||||
# Building kernel mdoule
|
# Building kernel mdoule
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install ipw2200
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install ipw2200 -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean ipw2200
|
module-assistant clean ipw2200
|
||||||
|
|
||||||
# Installing firmware (http://ipw2200.sourceforge.net/firmware.php)
|
# Installing firmware (http://ipw2200.sourceforge.net/firmware.php)
|
||||||
|
|
|
@ -5,13 +5,18 @@
|
||||||
#
|
#
|
||||||
# Note: This hook requires packages from the contrib and non-free section. Make
|
# Note: This hook requires packages from the contrib and non-free section. Make
|
||||||
# sure you enabled it in your configuration.
|
# sure you enabled it in your configuration.
|
||||||
#
|
|
||||||
# FIXME: it runs in interactive mode
|
|
||||||
|
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant auto-install ipw3945
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install ipw3945 -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean ipw3945
|
module-assistant clean ipw3945
|
||||||
|
|
||||||
# Installing additional stuff
|
# Installing additional stuff
|
||||||
|
|
|
@ -5,13 +5,18 @@
|
||||||
#
|
#
|
||||||
# Note: This hook requires packages from the contrib section. Make sure you enabled
|
# Note: This hook requires packages from the contrib section. Make sure you enabled
|
||||||
# it in your configuration.
|
# it in your configuration.
|
||||||
#
|
|
||||||
# FIXME: it runs in interactive mode
|
|
||||||
|
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant auto-install madwifi
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install madwifi -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean madwifi
|
module-assistant clean madwifi
|
||||||
|
|
||||||
# Installing additional stuff
|
# Installing additional stuff
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# This is a hook for live-helper(7) to install nvidia-legacy drivers
|
# This is a hook for live-helper(7) to install nvidia-kernel-legacy drivers
|
||||||
# To enable it, copy this hook into your config/chroot_localhooks directory.
|
# To enable it, copy this hook into your config/chroot_localhooks directory.
|
||||||
#
|
#
|
||||||
# Note: This hook requires packages from the non-free section. Make sure you
|
# Note: This hook requires packages from the non-free section. Make sure you
|
||||||
|
@ -9,7 +9,14 @@
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant nvidia-kernel-common
|
which module-assistant || apt-get install --yes module-assistant nvidia-kernel-common
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install nvidia-kernel-legacy
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install nvidia-kernel-legacy -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean nvidia-kernel-legacy
|
module-assistant clean nvidia-kernel-legacy
|
||||||
|
|
||||||
# Installing additional stuff
|
# Installing additional stuff
|
||||||
|
|
|
@ -2,10 +2,15 @@
|
||||||
|
|
||||||
# This is a hook for live-helper(7) to install ralink rt2570 drivers
|
# This is a hook for live-helper(7) to install ralink rt2570 drivers
|
||||||
# To enable it, copy this hook into your config/chroot_local-hooks directory.
|
# To enable it, copy this hook into your config/chroot_local-hooks directory.
|
||||||
#
|
|
||||||
# FIXME: it runs in interactive mode
|
|
||||||
|
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant auto-install rt2570-source
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install rt2570-source -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean rt2570-source
|
module-assistant clean rt2570-source
|
||||||
|
|
|
@ -8,7 +8,14 @@
|
||||||
# Building kernel modules
|
# Building kernel modules
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant auto-install rt2x00-source
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install rt2x00-source -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean rt2x00-source
|
module-assistant clean rt2x00-source
|
||||||
|
|
||||||
# Installing firmware for rt73usb
|
# Installing firmware for rt73usb
|
||||||
|
|
|
@ -9,5 +9,12 @@
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install squashfs
|
|
||||||
|
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
|
module-assistant clean squashfs
|
||||||
|
|
|
@ -9,5 +9,12 @@
|
||||||
# Building kernel module
|
# Building kernel module
|
||||||
which module-assistant || apt-get install --yes module-assistant
|
which module-assistant || apt-get install --yes module-assistant
|
||||||
module-assistant update
|
module-assistant update
|
||||||
module-assistant --non-inter --quiet auto-install unionfs
|
|
||||||
|
for KERNEL in /boot/vmlinuz-*
|
||||||
|
do
|
||||||
|
VERSION="$(basename ${KERNEL} | sed -e 's|vmlinuz-||')"
|
||||||
|
|
||||||
|
module-assistant --non-inter --quiet auto-install unionfs -l ${VERSION}
|
||||||
|
done
|
||||||
|
|
||||||
module-assistant clean unionfs
|
module-assistant clean unionfs
|
||||||
|
|
Loading…
Reference in New Issue