summaryrefslogtreecommitdiffstats
path: root/certs/Kconfig
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2018-10-16 08:03:24 +0200
committerHelge Deller <deller@gmx.de>2018-10-17 08:18:01 +0200
commitdb139d71c4c377c56a67ae219f120186ce9934d1 (patch)
tree8a821238610687f2aa22e99ef42f5714a8ed2454 /certs/Kconfig
parent1138b6718ff74d2a934459643e3754423d23b5e2 (diff)
downloadblackbird-obmc-linux-db139d71c4c377c56a67ae219f120186ce9934d1.tar.gz
blackbird-obmc-linux-db139d71c4c377c56a67ae219f120186ce9934d1.zip
extract-vmlinux: Check for uncompressed image as fallback
As on x86-64 and other architectures, the boot kernel on parisc (vmlinuz and bzImage) contains a full compressed copy of the final kernel executable (vmlinux.bin.gz), which one should be able to extract with the extract-vmlinux script. But on parisc extracting the kernel with extract-vmlinux fails. Currently the script first checks if the given file is an ELF file (which is true on parisc) and if so returns it. Thus on parisc we unexpectedly get back the vmlinuz boot file instead of the uncompressed vmlinux image. This patch fixes this issue by reverting the logic. It now first tries to find a compression signature in the given file and if that fails it checks the file itself as fallback. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'certs/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud