Bug #1427
closedTypo? in /tmp/post_upgrade_command prevents UP kernel upgrade
100%
Description
From the mailing list:
if [ $KERNELTYPE = "SMP" ]; then if [ -f /kernels/kernel_SMP.gz ]; then tar xzpf /kernels/kernel_SMP.gz --exclude loader.conf -C /boot/ fi fi if [ $KERNELTYPE = "UP" ]; then - if [ -f /kernels/kernel_SMP.gz ]; then- + if [ -f /kernels/kernel_uniprocessor.gz ]; then+ tar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/ fi fi
Updated by Yehuda Katz over 13 years ago
The formatting of that ticket came out really bad.
if [ $KERNELTYPE = "UP" ]; then
if [ -f /kernels/kernel_SMP.gz ]; then
tar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/
fi
fi
Updated by Yehuda Katz over 13 years ago
Let's try one more time...
if [ $KERNELTYPE = "UP" ]; then
if [ -f /kernels/kernel_SMP.gz ]; then
if [ -f /kernels/kernel_uniprocessor.gz ]; thentar xzpf /kernels/kernel_uniprocessor.gz --exclude loader.conf -C /boot/
fi
fi
Updated by Jim Pingle over 13 years ago
Use the pre button for code.
The issue here is somewhat moot: The UP kernel is eventually going to be phased out. The SMP kernel option has been in the UP kernel for the past several months and nobody has noticed. This code is just making that change for people for when the UP kernel goes away.
Updated by Jim Pingle over 12 years ago
- Subject changed from Typo? in /tmp/post_upgrade_command to Typo? in /tmp/post_upgrade_command prevents UP kernel upgrade
- Description updated (diff)
Updated by Seth Mos over 12 years ago
but if the system does have a UP kernel, it won't be replaced on upgrade. Newer snapshots do not have a UP kernel files so fails to copy the new SMP into place where the UP was.
Updated by Seth Mos over 12 years ago
- Category set to Upgrade
- Target version set to 2.1
- Affected Version set to 2.1
Updated by Jim Pingle over 12 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset e684290f77f9dacd1ecc9553d468dbb104cd6fe4.
Updated by Jim Pingle over 12 years ago
- Status changed from Feedback to Resolved