[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#253197: Fix for the problem



The following line is incorrect in the get_arch_kernel function of the base-installer udeb postinst routine:

version=$(uname -r | cut -d . -f 1,2) # 2.4 or 2.6

It should read:

version=$(uname -r | cut -d - -f 1,2) # 2.4 or 2.6.8-2

Just setting the version to 2.4 or 2.6 does not match the available kernel-image names. Those names look like 2.6.8-2-686 or 2.6.8-10-em64t. The "." in the "cut" command needs to be a "-".

Making this change will allow the proper kernel to be selected.

- Chad



Reply to: