summaryrefslogtreecommitdiff
path: root/examples/hooks
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 /examples/hooks
parent8e305b83f9b074fb7e5445b358d2eb49d7e302d9 (diff)
downloadvyos-live-build-57ac4cc808d29a8c7c8a5081d9d27fe5b2f6a0eb.tar.gz
vyos-live-build-57ac4cc808d29a8c7c8a5081d9d27fe5b2f6a0eb.zip
Also installing build-essential manually in module example hooks, as module-assistant doesn't do it automatically.
Diffstat (limited to 'examples/hooks')
-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 c5d2b9f34..e70dcc749 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 bff50e7d0..e246eb251 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 5304b6bbb..145ca8b80 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 96c282340..f805cf956 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 7b00530cd..0686c122b 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 b7d3389d1..66d67bcb5 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 9be3ae43e..408b1383f 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 ab99f7d4f..9da6f7272 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 29eea0cbb..20667e25b 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 c1d85b4f8..20f088670 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