summaryrefslogtreecommitdiffstats
path: root/update_kernel
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-16 12:31:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-16 12:31:23 +0000
commit52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0 (patch)
treefa117c3421d868554f2244264782be394f19857f /update_kernel
parent549bb6e242fa74295bc458c858c2ac55c1ac5f1e (diff)
downloaddrakx-backup-do-not-use-52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0.tar
drakx-backup-do-not-use-52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0.tar.gz
drakx-backup-do-not-use-52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0.tar.bz2
drakx-backup-do-not-use-52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0.tar.xz
drakx-backup-do-not-use-52359604e66ef2e0bc09f61e48ce9eb0ca9e80f0.zip
takes care of cardmgr in sbin
Diffstat (limited to 'update_kernel')
-rwxr-xr-xupdate_kernel6
1 files changed, 5 insertions, 1 deletions
diff --git a/update_kernel b/update_kernel
index 1d1ca830f..36a996213 100755
--- a/update_kernel
+++ b/update_kernel
@@ -110,6 +110,10 @@ for i in $ALL_KERNELS/*; do
nm cardmgr.o | grep -q cardmgr_main && echo "int main(int argc, char **argv) { cardmgr_main(argc, argv); }" > main.c
gcc -o cardmgr-$kern *.o main.c
)
+ [ -e $i/sbin/cardmgr ] && (
+ mkdir $i/cardmgr
+ cp -f $i/sbin/cardmgr $i/cardmgr/cardmgr-$kern
+ )
(
mkdir all.modules/$kern
cd all.modules/$kern
@@ -124,7 +128,7 @@ done
install_kernel() {
- v=2.4.8-3mdk
+ v=2.4.8-5mdk
vv=${v}BOOT
rm -rf all.kernels/$(cat all.kernels/.main)
scp kenobi:~chmou/work/kernel/archive/kernel-BOOT-$v.i586.rpm /tmp