Skip to content

There's an keyError with 6.13.1-gentoo-dist and bls #60

@samip5

Description

@samip5

That error makes no sense to me?

I'm using ugrd.

List of kernels:

# eselect kernel list
Available kernel symlink targets:
  [1]   linux-6.10.6-gentoo
  [2]   linux-6.10.6-gentoo-dist
  [3]   linux-6.10.8-gentoo
  [4]   linux-6.10.8-gentoo-dist
  [5]   linux-6.11.1-gentoo
  [6]   linux-6.11.2-gentoo
  [7]   linux-6.11.2-gentoo-dist
  [8]   linux-6.11.5-gentoo-dist
  [9]   linux-6.11.5-gentoo-r1
  [10]  linux-6.11.6-gentoo
  [11]  linux-6.11.10-gentoo-dist
  [12]  linux-6.12.1-gentoo
  [13]  linux-6.12.8-gentoo
  [14]  linux-6.12.8-gentoo-dist
  [15]  linux-6.13.0-gentoo
  [16]  linux-6.13.1-gentoo
  [17]  linux-6.13.1-gentoo-dist
  [18]  linux-6.13.3-gentoo-dist
  [19]  linux-6.13.3-gentoo-r1
  [20]  linux-6.13.5-gentoo
  [21]  linux-6.13.5-gentoo-dist *
# eclean-kernel -n 2 --debug
DEBUG:root:Sorter: <ecleankernel.sort.VersionSort object at 0x7f051eb94b00>
DEBUG:root:Layout: <ecleankernel.layout.blspec.BlSpecLayout object at 0x7f051f2b3320>
DEBUG:root:Bootloader failed: <class 'ecleankernel.bootloader.lilo.LILO'>
DEBUG:root:Bootloader failed: <class 'ecleankernel.bootloader.grub2.GRUB2'>
DEBUG:root:Bootloader failed: <class 'ecleankernel.bootloader.grub.GRUB'>
DEBUG:root:Bootloader failed: <class 'ecleankernel.bootloader.yaboot.Yaboot'>
DEBUG:root:Bootloader: <ecleankernel.bootloader.symlinks.Symlinks object at 0x7f051eb95dc0>
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.12/eclean-kernel", line 8, in <module>
    sys.exit(setuptools_main())
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ecleankernel/__main__.py", line 391, in setuptools_main
    sys.exit(main(sys.argv[1:]))
             ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ecleankernel/__main__.py", line 236, in main
    kernels = layout.find_kernels(exclusions=exclusions)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/ecleankernel/layout/blspec.py", line 130, in find_kernels
    kernels[(ver, "bls")].all_files.append(
    ~~~~~~~^^^^^^^^^^^^^^
KeyError: ('6.13.1-gentoo-dist', 'bls')

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