Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global variable storage #1151

Open
1 task done
mslacken opened this issue Mar 22, 2024 · 0 comments
Open
1 task done

global variable storage #1151

mslacken opened this issue Mar 22, 2024 · 0 comments
Labels
discuss A topic for discussion in a community meeting enhancement New feature or request

Comments

@mslacken
Copy link
Member

Summary

Some of the search paths, like

var (
	kernelSearchPaths = []string{
		// This is a printf format where the %s will be the kernel version
		"/boot/Image-%s", // this is the aarch64 for SUSE, vmlinux which is also present won't boot
		"/boot/vmlinuz-linux%.s",
		"/boot/vmlinuz-%s",
		"/boot/vmlinuz-%s.gz",
		"/lib/modules/%s/vmlinuz",
		"/lib/modules/%s/vmlinuz.gz",
	}
	kernelDrivers = []string{
		"lib/modules/%s/*",
		"lib/firmware/*",
		"lib/modprobe.d",
		"lib/modules-load.d"}
)

Are compiled in right now. We should provide a global yaml where we store these paths/variables so that they can be inspected and changed by the end user.
We just need an action for 4.6.x for the mentioned variables above, but we should move these vars to a global variable store, whenever we encounter these.

Rationale

No response

Description

No response

Additional information

No response

General information

  • I have searched the issues of this repo and believe this is not a duplicate
@mslacken mslacken added the enhancement New feature or request label Mar 22, 2024
@anderbubble anderbubble added the discuss A topic for discussion in a community meeting label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss A topic for discussion in a community meeting enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants