<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 01/09/2017 06:20 PM, Bruce Ashfield
wrote:<br>
</div>
<blockquote
cite="mid:CADkTA4PFOUmv3W8stkhDmewwDfBE+efZEVym903937jz6eAo7g@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">
<div>The functionality you describe is a good thing, but I
have a few questions to make<br>
</div>
<div>sure I understand the change, and confirm that existing
functionality isn't broken .. <br>
</div>
<div>and that the internals of the package management do the
right thing (I'm not an<br>
</div>
<div>expert on those internals .. so bear with me).<br>
</div>
</div>
</div>
</div>
</blockquote>
I am not an expert either so I thought I'd suggest this since it
works for me and see how it is received.<br>
<blockquote
cite="mid:CADkTA4PFOUmv3W8stkhDmewwDfBE+efZEVym903937jz6eAo7g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div><br>
</div>
<div>With this change, do you know if
RDEPENDS="kernel-module-foo" still works ? or<br>
</div>
<div>does it now have to be
RDEPENDS="kernel-module-foo-<version>" ?<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
No, the old writing would not work. You would need to add the
version as in your second example. That will break things, true.<br>
<blockquote
cite="mid:CADkTA4PFOUmv3W8stkhDmewwDfBE+efZEVym903937jz6eAo7g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>On a similar thought, "smart install kernel-module-foo"
would also work ? or does it<br>
</div>
<div>now require a version ?<br>
<br>
</div>
</div>
</div>
</div>
</blockquote>
Also in this example you would need to add the version, even though
I have only used apt-get and not smart.<br>
<br>
The meta package "kernel-modules" will work as before, without a
version postfix.<br>
<br>
So basically, as I understand it, this may be a blocker for this
change. Alternatives I can come up with are:<br>
<br>
1) For all packaged kernel modules, add meta packages that depend on
the correct version of the kernel module itself. Then
"kernel-module-foo" would depend on
"kernel-module-foo-<version>". The package "kernel-modules"
would then still be made depending on
"kernel-module-foo-<version>" and the likes.<br>
<br>
2) Make the version postfix configurable with a
KERNEL_MODULE_PACKAGE_POSTFIX, exactly like the prefix (which was
added recently). The default would be an empty postfix, but it could
be used to achieve this functionality for those who need it.<br>
<br>
No. 2 is a very simple change. No. 1 is more uncertain (to me at
least).<br>
<br>
/Ola<br>
<br>
</body>
</html>