]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
UBUNTU: [Packaging] prevent duplicated entries in modules.ignore
authorAndrea Righi <andrea.righi@canonical.com>
Mon, 2 Mar 2020 08:29:28 +0000 (09:29 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 6 Mar 2020 21:10:49 +0000 (15:10 -0600)
commit84a1d9e8602088104dbb71fafc25af29121fea04
tree31a718a51cd02ce95d468aa34855719dee4a84ed
parent0263bc61167951e5738f6ef9af096d7dea7d999b
UBUNTU: [Packaging] prevent duplicated entries in modules.ignore

If we always append the list of disabled modules to modules.ignore we
may end up having lots of duplicate entries during the kernel cranking
process.

Prevent this by checking which modules are already present in
modules.ignore before appending them.

NOTE: it would be better to generate modules.ignore using some
information from the builder itself, rather than maintaining all the
*.ignore files. But for now, as a first step, let's prevent the
duplicate entries at least.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
debian/rules