summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-12-02 17:44:46 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:45 +0100
commit57ac4cc808d29a8c7c8a5081d9d27fe5b2f6a0eb (patch)
tree846cad4a808f8062df42a418ff3e9cde98af95f7
parent8e305b83f9b074fb7e5445b358d2eb49d7e302d9 (diff)
downloadlive-build-57ac4cc808d29a8c7c8a5081d9d27fe5b2f6a0eb.zip
live-build-57ac4cc808d29a8c7c8a5081d9d27fe5b2f6a0eb.tar.gz
Also installing build-essential manually in module example hooks, as module-assistant doesn't do it automatically.
-rwxr-xr-xexamples/hooks/aufs.sh2
-rwxr-xr-xexamples/hooks/ipw2100.sh2
-rwxr-xr-xexamples/hooks/ipw2200.sh2
-rwxr-xr-xexamples/hooks/ipw3945.sh2
-rwxr-xr-xexamples/hooks/madwifi.sh2
-rwxr-xr-xexamples/hooks/nvidia-legacy.sh2
-rwxr-xr-xexamples/hooks/rt2570.sh2
-rwxr-xr-xexamples/hooks/rt2x00.sh2
-rwxr-xr-xexamples/hooks/squashfs.sh2
-rwxr-xr-xexamples/hooks/unionfs.sh2
10 files changed, 20 insertions, 0 deletions
diff --git a/examples/hooks/aufs.sh b/examples/hooks/aufs.sh
index c5d2b9f..e70dcc7 100755
--- a/examples/hooks/aufs.sh
+++ b/examples/hooks/aufs.sh
@@ -7,6 +7,8 @@
# Note: You only want to use this hook if there is no prebuild aufs-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
diff --git a/examples/hooks/ipw2100.sh b/examples/hooks/ipw2100.sh
index bff50e7..e246eb2 100755
--- a/examples/hooks/ipw2100.sh
+++ b/examples/hooks/ipw2100.sh
@@ -7,6 +7,8 @@
# Note: This hook requires packages from the contrib category. Make sure you enabled
# it in your configuration.
+apt-get install --yes build-essential
+
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/ipw2200.sh b/examples/hooks/ipw2200.sh
index 5304b6b..145ca8b 100755
--- a/examples/hooks/ipw2200.sh
+++ b/examples/hooks/ipw2200.sh
@@ -7,6 +7,8 @@
# Note: This hook requires packages from the contrib category. Make sure you enabled
# it in your configuration.
+apt-get install --yes build-essential
+
# Building kernel mdoule
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/ipw3945.sh b/examples/hooks/ipw3945.sh
index 96c2823..f805cf9 100755
--- a/examples/hooks/ipw3945.sh
+++ b/examples/hooks/ipw3945.sh
@@ -7,6 +7,8 @@
# Note: This hook requires packages from the contrib and non-free category. Make
# sure you enabled it in your configuration.
+apt-get install --yes build-essential
+
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/madwifi.sh b/examples/hooks/madwifi.sh
index 7b00530..0686c12 100755
--- a/examples/hooks/madwifi.sh
+++ b/examples/hooks/madwifi.sh
@@ -7,6 +7,8 @@
# Note: This hook requires packages from the contrib category. Make sure you enabled
# it in your configuration.
+apt-get install --yes build-essential
+
# Building kernel module
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/nvidia-legacy.sh b/examples/hooks/nvidia-legacy.sh
index b7d3389..66d67bc 100755
--- a/examples/hooks/nvidia-legacy.sh
+++ b/examples/hooks/nvidia-legacy.sh
@@ -7,6 +7,8 @@
# Note: This hook requires packages from the non-free category. Make sure you
# enabled it in your configuration.
+apt-get install --yes build-essential
+
# Building kernel module
which module-assistant || apt-get install --yes module-assistant nvidia-kernel-common
module-assistant update
diff --git a/examples/hooks/rt2570.sh b/examples/hooks/rt2570.sh
index 9be3ae4..408b138 100755
--- a/examples/hooks/rt2570.sh
+++ b/examples/hooks/rt2570.sh
@@ -4,6 +4,8 @@
# To enable it, copy or symlink this hook into your config/chroot_local-hooks
# directory.
+apt-get install --yes build-essential
+
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/rt2x00.sh b/examples/hooks/rt2x00.sh
index ab99f7d..9da6f72 100755
--- a/examples/hooks/rt2x00.sh
+++ b/examples/hooks/rt2x00.sh
@@ -6,6 +6,8 @@
#
# FIXME: it runs in interactive mode
+apt-get install --yes build-essential
+
# Building kernel modules
which module-assistant || apt-get install --yes module-assistant
module-assistant update
diff --git a/examples/hooks/squashfs.sh b/examples/hooks/squashfs.sh
index 29eea0c..20667e2 100755
--- a/examples/hooks/squashfs.sh
+++ b/examples/hooks/squashfs.sh
@@ -7,6 +7,8 @@
# 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
diff --git a/examples/hooks/unionfs.sh b/examples/hooks/unionfs.sh
index c1d85b4..20f0886 100755
--- a/examples/hooks/unionfs.sh
+++ b/examples/hooks/unionfs.sh
@@ -7,6 +7,8 @@
# Note: You only want to use this hook if there is no prebuild unionfs-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