summaryrefslogtreecommitdiffstats
path: root/mkmodloop
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-03-04 15:15:37 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-03-04 15:15:37 +0000
commitcb7bb27a144083afe9b3f5955d8bc6def33eee9b (patch)
treecde32810741245119d21007348a20728e4a01be7 /mkmodloop
parent92d947b000ca27cd446c7050dfd45c2d4fb5113f (diff)
downloadalpine-iso-cb7bb27a144083afe9b3f5955d8bc6def33eee9b.tar.bz2
alpine-iso-cb7bb27a144083afe9b3f5955d8bc6def33eee9b.tar.xz
alpine-mini: add wifi tools, firmware and opensslalpine-iso
Diffstat (limited to 'mkmodloop')
-rw-r--r--mkmodloop37
1 files changed, 0 insertions, 37 deletions
diff --git a/mkmodloop b/mkmodloop
deleted file mode 100644
index f85b628..0000000
--- a/mkmodloop
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-
-msg() {
- echo "==>" $@
-}
-
-die() {
- echo $@
- exit 1
-}
-
-image=$PWD/modloop
-dest=$PWD/modloop.cmg
-init=init
-
-
-kernel=$1
-# if no kernel specified, then guess...
-if [ -z "$kernel" ]; then
- kernel=$(ls /lib/modules 2>/dev/null | tail -n 1)
-fi
-
-if [ ! -d /lib/modules/$kernel ]; then
- die "modules dir /lib/modules/$kernel was not found"
-fi
-msg "Using kernel $kernel"
-
-
-rm -rf "$image"
-mkdir -p "$image/lib/modules"
-cp -alf /lib/modules/$kernel $image/lib/modules/
-
-depmod -b "$image" $kernel
-
-rm -f $image/lib/modules/$kernel/source $image/lib/modules/$kernel/build
-
-mkcramfs $image/lib $dest