summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-03 00:26:12 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-03 00:26:12 +0000
commitf781fc72d525386e8f8ea7b0ee6539550a733407 (patch)
tree4b9141eccdef5283fb1b643072344b7c359a17a0 /update_kernel
parentaa2e8946130927b2ceb68be1c28f150ca15f0694 (diff)
downloaddrakx-f781fc72d525386e8f8ea7b0ee6539550a733407.tar
drakx-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.gz
drakx-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.bz2
drakx-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.xz
drakx-f781fc72d525386e8f8ea7b0ee6539550a733407.zip
- mar is still dumb when it comes to handling missing files. Restore the
use of $(ls $*) to remove missing one - compile cardmgr until chmouel provides it in boot kernels
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel7
1 files changed, 6 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel
index f3b9f9282..7a4447ee8 100755
--- a/update_kernel
+++ b/update_kernel
@@ -20,9 +20,14 @@ function create_marfile() {
&& echo "WARNING! in $marfile, $k is missing (required by $i)"
done
done
- ../mdk-stage1/mar/mar -c $marfile $*
+ ../mdk-stage1/mar/mar -c $marfile $(ls $*)
}
+[ -e kernel/cardmgr ] && (
+ cd kernel/cardmgr
+ echo "int main(int argc, char **argv) { cardmgr_main(argc, argv); }" > main.c
+ gcc -o cardmgr *.o main.c
+)
ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'`