diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-04-01 07:50:57 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2003-04-01 07:50:57 +0000 |
commit | 3fbab623b58077636cec2fb7bf5b62187fa0fe3b (patch) | |
tree | 6ae2ea55e5705436b35857ac7ff526c85b51612e | |
parent | 2afc639a2eabb0bd3990966d309ade84912bac4f (diff) | |
download | drakx-backup-do-not-use-3fbab623b58077636cec2fb7bf5b62187fa0fe3b.tar drakx-backup-do-not-use-3fbab623b58077636cec2fb7bf5b62187fa0fe3b.tar.gz drakx-backup-do-not-use-3fbab623b58077636cec2fb7bf5b62187fa0fe3b.tar.bz2 drakx-backup-do-not-use-3fbab623b58077636cec2fb7bf5b62187fa0fe3b.tar.xz drakx-backup-do-not-use-3fbab623b58077636cec2fb7bf5b62187fa0fe3b.zip |
Don't default to smp kernel for booting, detectSMP() must work or the APIC
trick in perl-install.
-rwxr-xr-x | kernel/update_kernel | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel index faa298f69..0d08e01d4 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -47,7 +47,7 @@ function create_modules() { ARCH=`uname -m | sed -e 's/i.86/i386/' -e 's/sparc.*/sparc/'` if [ "$ARCH" == "ia64" ] || [ "$ARCH" == "ppc" ]; then - rpm=$(rpm -qp --qf '%{name}' $RPMS/kernel-smp-*.rpm | perl -pe 's/kernel-smp-((\.?[0-9]+){3})\.(.*)/$1-${3}smp/') + rpm=$(rpm -qp --qf '%{name}' $RPMS/kernel-[0-9]*.rpm | perl -pe 's/kernel-((\.?[0-9]+){3})\.(.*)/$1-${3}/') else rpm=$(rpm -qp --qf '%{name}' $RPMS/kernel-BOOT-*.rpm | perl -pe 's/kernel-BOOT-((\.?[0-9]+){3})\.(.*)/$1-${3}BOOT/') fi @@ -57,9 +57,9 @@ if [ -n "$rpm" -a ! -e $ALL_KERNELS/$rpm ]; then rm -rf $rpm ; mkdir $rpm cd $rpm if [ "$ARCH" == "ia64" ] || [ "$ARCH" == "ppc" ]; then - rpm2cpio $RPMS/kernel-2*.rpm | cpio -id - else - rpm2cpio $RPMS/kernel-BOOT-*.rpm | cpio -id + rpm2cpio $RPMS/kernel-[0-9]*.rpm | cpio -id + else + rpm2cpio $RPMS/kernel-BOOT-*.rpm | cpio -id fi find -type f -name "*.o.gz" | xargs gunzip cd ../.. |