From 607124c60c1e5b65dbe78d65269a75cc980e421c Mon Sep 17 00:00:00 2001 From: Dubiousjim Date: Fri, 5 Jul 2013 00:21:10 -0400 Subject: remove unused files as discussed in http://lists.alpinelinux.org/alpine-devel/3122.html --- mkmodloop | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 mkmodloop (limited to 'mkmodloop') 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 -- cgit v1.2.3-60-g2f50