Skip to content

error: pathspec 'v5.15.137' did not match any file(s) known to git. #2

@LPXingxing

Description

@LPXingxing

I followed the following steps to build kernel code. But it reports that it cannot find v5.15.137 branch.

Can you help check how to solve this?
 
git clone https://github.com/intel/linux-kernel-overlay.git
cd linux-kernel-overlay
git checkout lts2021-ubuntu
./build.sh

= [up to date] mainline-tracking-overlay-v6.7-rc3-ubuntu-231129T100251Z -> mainline-tracking-overlay-v6.7-rc3-ubuntu-231129T100251Z
= [up to date] mainline-tracking-overlay-v6.7-rc3-ubuntu-231206T020418Z -> mainline-tracking-overlay-v6.7-rc3-ubuntu-231206T020418Z
= [up to date] mainline-tracking-overlay-v6.7-ubuntu-240110T080436Z -> mainline-tracking-overlay-v6.7-ubuntu-240110T080436Z

  • git checkout v5.15.137
    error: pathspec 'v5.15.137' did not match any file(s) known to git.
  • popd
    ~/test3/linux-kernel-overlay
  • pushd /home/ubuntu/test3/linux-kernel-overlay/build/linux-kernel-v5.15.137
    ~/test3/linux-kernel-overlay/build/linux-kernel-v5.15.137 ~/test3/linux-kernel-overlay
  • rm '/home/ubuntu/test3/linux-kernel-overlay/build/linux-kernel-v5.15.137/../*.deb'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions