lp:kmod

Created by Registry Administrators and last modified
Get this branch:
bzr branch lp:kmod

Related bugs

Related blueprints

Branch information

Owner:
Registry Administrators
Project:
kmod
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 10 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-5 and finished taking 10 seconds — see the log

Recent revisions

1389. By Lucas De Marchi

depmod: Remove license/copyright from the middle

The top license is enough as it's the same. Just move the copyright to
the top and remove notice about code that was copied and modified: that
comment doesn't age well as source is updated.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Lucas De Marchi <email address hidden>

1388. By Lucas De Marchi

Drop the one line short description on sources

Some are outdated, misleading or just repeat the same thing over and
over. Remove them as they are not needed.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Lucas De Marchi <email address hidden>

1387. By Lucas De Marchi

Use SPDX header for license

Drop the lengthy license from each file and just use SPDX like most
projects nowadays. This doesn't have any change to license, just how
they are recorded in each file.

This follows the kernel approach: header files use '/*' for comments
while .c files use '//'. For .m4, use "#".

Reviewed-by: Emil Velikov <email address hidden>
Link: https://<email address hidden>
Signed-off-by: Lucas De Marchi <email address hidden>

1386. By Lucas De Marchi

libkmod: Move zstd-related functions to separate file

Move zstd-related function to a separate file so it's easier to isolate
the dependency on each decompression library.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://github.com/kmod-project/kmod/pull/58
Signed-off-by: Lucas De Marchi <email address hidden>

1385. By Lucas De Marchi

libkmod: Move zlib-related functions to separate file

Move zlib-related function to a separate file so it's easier to isolate
the dependency on each decompression library.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://github.com/kmod-project/kmod/pull/58
Signed-off-by: Lucas De Marchi <email address hidden>

1384. By Lucas De Marchi

libkmod: Move xz-related functions to separate file

Move xz-related function to a separate file so it's easier to isolate
the dependency on each decompression library.

Declare struct kmod_file in a shared libkmod-internal-file.h that will
be included only by sources implementing kmod_file decompression
routines.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://github.com/kmod-project/kmod/pull/58
Signed-off-by: Lucas De Marchi <email address hidden>

1383. By Lucas De Marchi

build: Always run distcheck with all compression libraries

Make sure to pass enable all compression libraries so all sources are
included.

Reviewed-by: Emil Velikov <email address hidden>
Link: https://github.com/kmod-project/kmod/pull/58
Signed-off-by: Lucas De Marchi <email address hidden>

1382. By Emil Velikov <email address hidden>

libkmod: move new weak API to separate section

Add the new weak API, to a separate section in the version script. These
will be exposed with the upcoming v33 release and not with v5 as the
symbol tag implies.

Cc: Jose Ignacio Tornos Martinez <email address hidden>
Fixes: 05828b4 ("libkmod: add weak dependecies")
Signed-off-by: Emil Velikov <email address hidden>
Reviewed-by: Lucas De Marchi <email address hidden>
Link: https://<email address hidden>

1381. By Emil Velikov <email address hidden>

libkmod: correctly tag kmod_module_new_from_name_lookup

The symbol was introduced with v30, yet was erroneously added in the v5
section. Move it to the correct place.

In theory this might cause an issue - severity depends on how the
runtime linker is setup. From a harmless warning (on stderr/stdout) to
failure to load the library.

In practise this shouldn't be a problem, since there are seemingly no
external users of the API.

Fixes: 9becaae ("libkmod: Add lookup from module name")
Signed-off-by: Emil Velikov <email address hidden>
Reviewed-by: Lucas De Marchi <email address hidden>
Link: https://<email address hidden>

1380. By Emil Velikov <email address hidden>

libkmod: document KMOD_INDEX_MODULES_BUILTIN_ALIAS in kmod_dump_index()

The extra enum was introduced a few years ago, although the (only)
function using it did not have it's documentation updated.

The commit itself has caused an ABI break with kmod v27, since the
KMOD_INDEX_MODULES_BUILTIN value has changed.

A search through Google, Github and Arch packages have shown one user of
kmod_dump_index() - the only API that uses the enum.

In that case and all others, no projects referencing the changed enum
were found. Although since recent and/or supported distros use kmod v27
or later we've decided to only update the documentation.

Cc: Alexey Gladkov <email address hidden>
Fixes: b866b21 ("Lookup aliases in the modules.builtin.modinfo")
Signed-off-by: Emil Velikov <email address hidden>
Reviewed-by: Lucas De Marchi <email address hidden>
Link: https://<email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.