summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-05-21 09:35:05 +0100
committerRichard Jones <rjones@redhat.com>2010-05-21 09:35:05 +0100
commit51f70a0bc0f57e72889208bd7f5ec8a7f229c541 (patch)
treed4446862252b932541154594f5ab9ab3bfdaed9c /Makefile.am
parent95dd28aadbfc1f058dae26beea949cf3cbc22b26 (diff)
downloadfebootstrap-51f70a0bc0f57e72889208bd7f5ec8a7f229c541.tar.gz
febootstrap-51f70a0bc0f57e72889208bd7f5ec8a7f229c541.tar.xz
febootstrap-51f70a0bc0f57e72889208bd7f5ec8a7f229c541.zip
Fix febootstrap-supermin-helper for dual boot case (RHBZ#594021).
Jinxin Zheng found a case where libguestfs-supermin-helper (now febootstrap-supermin-helper) would fail to locate a suitable kernel on a dual boot RHEL 5 + 6 system. The issue was that febootstrap-supermin-helper will first look for kernels with an <arch> field in the name (as is the case for RHEL 6 kernels). If none of these are found, it would look for kernels without an <arch> field (RHEL 5 kernels). Then it would look for corresponding module directories. This fails if the dual boot system is booted into RHEL 5 because the first step will find only RHEL 6 kernels, and then the third step will fail to find any module directories (step two having been skipped in this case). This changes the code to look for module directories when searching for kernels, and discard any kernels which don't have module directories first. Thus all RHEL 6 kernels will be discarded, and we will proceed to step two and find some RHEL 5 kernels.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions