<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kmod.git, branch master</title>
<subtitle>kmod - handle kernel modules</subtitle>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/'/>
<entry>
<title>libkmod: move function to the only file using it</title>
<updated>2012-05-15T22:30:05Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2012-05-15T22:29:44Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=d30319e4335bcf76101e28d81c9a7c2ec9187cb7'/>
<id>d30319e4335bcf76101e28d81c9a7c2ec9187cb7</id>
<content type='text'>
If we don't have --gc-sections support, linking kmod fails:
libkmod/.libs/libkmod-util.a(libkmod-util.o): In function 'underscores':
libkmod/libkmod-util.c:117: undefined reference to 'kmod_log'

This is because libkmod-util.la uses kmod_log(), that is in libkmod.la.
Move the function so we don't have a dependency loop while building the
libraries and it works with compilers with no support for --gc-sections.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we don't have --gc-sections support, linking kmod fails:
libkmod/.libs/libkmod-util.a(libkmod-util.o): In function 'underscores':
libkmod/libkmod-util.c:117: undefined reference to 'kmod_log'

This is because libkmod-util.la uses kmod_log(), that is in libkmod.la.
Move the function so we don't have a dependency loop while building the
libraries and it works with compilers with no support for --gc-sections.
</pre>
</div>
</content>
</entry>
<entry>
<title>test-conversion: convert test-get-dependencies to new infrastructure</title>
<updated>2012-05-11T11:44:55Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2012-02-23T05:56:59Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=c88aec70d1b74ea71cd3ec538b3f43ad8c6783b3'/>
<id>c88aec70d1b74ea71cd3ec538b3f43ad8c6783b3</id>
<content type='text'>
The test uses the ext4 module dependencies as the testcase, checking
both the number and the names of the returned modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test uses the ext4 module dependencies as the testcase, checking
both the number and the names of the returned modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>test-conversion: convert test-blacklist to new infrastructure</title>
<updated>2012-05-11T11:44:55Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2012-02-23T05:56:58Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=bcca1b95d274d98681556119383c14c3ed91acdf'/>
<id>bcca1b95d274d98681556119383c14c3ed91acdf</id>
<content type='text'>
Add a modprobe.conf with some blacklist entries in a test rootfs, and
then ensure our blacklist function actually cuts out the two listed
entries (and doesn't cut out the others).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a modprobe.conf with some blacklist entries in a test rootfs, and
then ensure our blacklist function actually cuts out the two listed
entries (and doesn't cut out the others).
</pre>
</div>
</content>
</entry>
<entry>
<title>build-sys: copy rootfs to another directory</title>
<updated>2012-05-11T05:23:34Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2012-05-11T03:04:59Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=452c1dde2f60c585a015478604f2b2d9b8d8f8d3'/>
<id>452c1dde2f60c585a015478604f2b2d9b8d8f8d3</id>
<content type='text'>
We can't use the rootfs directory because it breaks out-of-tree build
and in future we want to make modifications to the fake filesystem such
as adding and removing files.

We need to call "chmod -R +w" in the resulting directory because when we
distribute the source with make dist all files will be readonly.

Fix 'make distcheck'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can't use the rootfs directory because it breaks out-of-tree build
and in future we want to make modifications to the fake filesystem such
as adding and removing files.

We need to call "chmod -R +w" in the resulting directory because when we
distribute the source with make dist all files will be readonly.

Fix 'make distcheck'
</pre>
</div>
</content>
</entry>
<entry>
<title>build-sys: distribute testsuite</title>
<updated>2012-05-11T04:21:46Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.de.marchi@gmail.com</email>
</author>
<published>2012-05-11T02:42:41Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=9c41596ecc636adb6d05f4da6865452fd549fcec'/>
<id>9c41596ecc636adb6d05f4da6865452fd549fcec</id>
<content type='text'>
Fix 'make dist'
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix 'make dist'
</pre>
</div>
</content>
</entry>
<entry>
<title>testsuite: ship testsuite/rootfs unzipped</title>
<updated>2012-05-11T04:03:17Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2012-02-03T19:24:18Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=cdbcc2481ccb2e63e63492b2c3e8adcbedf407f1'/>
<id>cdbcc2481ccb2e63e63492b2c3e8adcbedf407f1</id>
<content type='text'>
The current configuration is dumb in any number of ways:
1) If the rationale was for space savings, it works the opposite- the
   git repo gets more bloated because we are adding binary compressed
   blobs that share little in common with their parent, and anyone that
   wants to run the test suite has to unzip it anyway.
2) It is a pain in the butt to add new tests, and not accidentally lose
   any new rootfs you built in the directory.
3) `git status` won't help you if you are tweaking files in the rootfs
   and don't know they have been changed, or if some test did that and
   you couldn't detect it.
4) `git log` won't help you find out what is changing in the rootfs test
   directory itself when changes are made to the binary blob, such as
   new files being added or even existing files being tweaked.
5) The files just aren't that big anyway- 2.7MB unzipped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current configuration is dumb in any number of ways:
1) If the rationale was for space savings, it works the opposite- the
   git repo gets more bloated because we are adding binary compressed
   blobs that share little in common with their parent, and anyone that
   wants to run the test suite has to unzip it anyway.
2) It is a pain in the butt to add new tests, and not accidentally lose
   any new rootfs you built in the directory.
3) `git status` won't help you if you are tweaking files in the rootfs
   and don't know they have been changed, or if some test did that and
   you couldn't detect it.
4) `git log` won't help you find out what is changing in the rootfs test
   directory itself when changes are made to the binary blob, such as
   new files being added or even existing files being tweaked.
5) The files just aren't that big anyway- 2.7MB unzipped.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: remove private symbol from linker script</title>
<updated>2012-05-11T00:11:27Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2012-05-11T00:11:27Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=96253751ae9533e301375b9707670e8f89ae9d3c'/>
<id>96253751ae9533e301375b9707670e8f89ae9d3c</id>
<content type='text'>
There's no reason kmod_log should be exported, remove it from linker
script. This doesn't break the API/ABI because we are luck: since the
function had visibility=hidden it was not getting exported as a global
symbol.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's no reason kmod_log should be exported, remove it from linker
script. This doesn't break the API/ABI because we are luck: since the
function had visibility=hidden it was not getting exported as a global
symbol.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "libkmod: make sure to export kmod_log"</title>
<updated>2012-05-10T23:58:46Z</updated>
<author>
<name>Lucas De Marchi</name>
<email>lucas.demarchi@profusion.mobi</email>
</author>
<published>2012-05-10T23:58:46Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=719282889a66c72095dc40500c48501a9e47c0f6'/>
<id>719282889a66c72095dc40500c48501a9e47c0f6</id>
<content type='text'>
This reverts commit 88a170dbd63965b8403b6b40b12ded4f82d89ccd.

There's no reason for users of the API to call this method, it's just
wrong to export it.

The bug that this patch fixed needs to be fixed another way, not
exporting this function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 88a170dbd63965b8403b6b40b12ded4f82d89ccd.

There's no reason for users of the API to call this method, it's just
wrong to export it.

The bug that this patch fixed needs to be fixed another way, not
exporting this function.
</pre>
</div>
</content>
</entry>
<entry>
<title>depmod: report failures in loading symbols</title>
<updated>2012-05-08T13:22:14Z</updated>
<author>
<name>Dave Reisner</name>
<email>dreisner@archlinux.org</email>
</author>
<published>2012-05-07T23:41:42Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=819f79a24d58e3c8429f1631df2f8f85a2f95d4a'/>
<id>819f79a24d58e3c8429f1631df2f8f85a2f95d4a</id>
<content type='text'>
Previously, depmod would relegate failures of kmod_module_get_symbols()
to debug output, assuming the "error" was simply a lack of symbols.
Leave the ENOENT return to debug output, but report anything else as a
real error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, depmod would relegate failures of kmod_module_get_symbols()
to debug output, assuming the "error" was simply a lack of symbols.
Leave the ENOENT return to debug output, but report anything else as a
real error.
</pre>
</div>
</content>
</entry>
<entry>
<title>libkmod-file: gracefully handle errors from zlib</title>
<updated>2012-05-08T13:22:13Z</updated>
<author>
<name>Dave Reisner</name>
<email>dreisner@archlinux.org</email>
</author>
<published>2012-05-07T23:41:41Z</published>
<link rel='alternate' type='text/html' href='http://git.profusion.mobi/cgit.cgi/kmod.git/commit/?id=c7d5a60d3df735a3816bbc1ff1b416a803a4f7a6'/>
<id>c7d5a60d3df735a3816bbc1ff1b416a803a4f7a6</id>
<content type='text'>
zlib won't necessarily set the system errno, and this is particularly
evident on corrupted data (which results in a double free). Use zlib's
gzerror to detect the failure, returning a generic EINVAL when zlib
doesn't provide us with an errno.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
zlib won't necessarily set the system errno, and this is particularly
evident on corrupted data (which results in a double free). Use zlib's
gzerror to detect the failure, returning a generic EINVAL when zlib
doesn't provide us with an errno.
</pre>
</div>
</content>
</entry>
</feed>

