• Michael Shigorin's avatar
    build-vm, tar2fs: unify kver handling · 3d7a0c5c
    Michael Shigorin authored
    No need to deduce kernel version again,
    just save it in a temporary file.
    
    The main reason to change what worked is
    that e2k kernel-image package has Linux bits
    named as image-$kver and not vmlinuz-$kver;
    the guessing logic taking all of this into
    account resulted in non-aesthetic patch.
    
    NB: there's a duplicating script within
        kernel feature; it wasn't easy to avoid
        this and it might differ when handling
        multiple kernels, I didn't think much
        about this now as vm images tend to ship
        with the sole one.
    3d7a0c5c
07-kernel 657 Bytes