diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-03 00:26:12 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-03 00:26:12 +0000 |
commit | f781fc72d525386e8f8ea7b0ee6539550a733407 (patch) | |
tree | 4b9141eccdef5283fb1b643072344b7c359a17a0 | |
parent | aa2e8946130927b2ceb68be1c28f150ca15f0694 (diff) | |
download | drakx-backup-do-not-use-f781fc72d525386e8f8ea7b0ee6539550a733407.tar drakx-backup-do-not-use-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.gz drakx-backup-do-not-use-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.bz2 drakx-backup-do-not-use-f781fc72d525386e8f8ea7b0ee6539550a733407.tar.xz drakx-backup-do-not-use-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
-rwxr-xr-x | update_kernel | 7 |
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/'` |