Skip to content

apply driver update only to the product it is intended for#3327

Open
wfeldt wants to merge 1 commit intoagama-project:masterfrom
wfeldt:dud_apply_check_dist
Open

apply driver update only to the product it is intended for#3327
wfeldt wants to merge 1 commit intoagama-project:masterfrom
wfeldt:dud_apply_check_dist

Conversation

@wfeldt
Copy link
Copy Markdown
Contributor

@wfeldt wfeldt commented Mar 24, 2026

Problem

Currently, Agama applies driver updates regardless whether it is intended for a specific product or not.
This is different than what YaST did.

This makes it sometimes impossible to hand out fixes in the form of a DUD that can be used for more than one product.

This patch restores the previous behavior. Since there is no pre-configured product tag available (it used to be stored in linuxrc.config) , this patch uses ID and VERSION_ID from /etc/os-release to construct a dist tag.

Here are some examples to make things clear:

/linux/suse/ARCH-DIST

# SLE-15 (old)
/linux/suse/x86_64-sles15

# SLES 16.1
/linux/suse/x86_64-sles16.1

# Leap 16.1
/linux/suse/x86_64-opensuse-leap16.1

# Tumbleweed
/linux/suse/x86_64-opensuse-tumbleweed

Solution

Use ID and VERSION_ID from /etc/os-release to match the product stored in the DUD.

Testing

  • Tested manually

@wfeldt wfeldt force-pushed the dud_apply_check_dist branch from 0b12b95 to ed92bc5 Compare March 24, 2026 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant