Home Home > 2010 > 09
Sign up | Login

Deprecation notice: openSUSE Lizards user blog platform is deprecated, and will remain read only for the time being. Learn more...

Archive for September, 2010

Another openSUSE kernel git repo

September 14th, 2010 by

The mirror of the openSUSE kernel-source repository has been around for several months already, now there is something new: A repository that is actually usable :-). The current kernel-source repository is a series of patches managed in git, which has some upsides, like the ability to easily cherry-pick a patch and port it to a different branch or send it upstream. But it is quite painful if you want to work with the code itself and not with patch files. A task as simple as determining if drivers/…/foo.c in openSUSE-11.3 has or does not have a certain change requires checking out the branch and running the sequence-patch script to be able to look at the file. If you need to know when was the file changed, you have to run ‘quilt patches <file>’ to find out what patches touched the file and then ask git about the history of these patches. Neither convenient nor efficient. That’s why we have a second repository, that contains the mainline tree with all the suse patches applied. It’s located at http://gitorious.org/opensuse/kernel, the clone url is git://gitorious.org/opensuse/kernel.git. If you already have a clone of the mainline tree, then you can download just the differences with

git remote add suse git://gitorious.org/opensuse/kernel.git
git remote update suse
git checkout suse/master

The above task is then solved by opening the required file in an editor or typing ‘git show branch:file’. And you don’t even need to clone the tree to quickly check something in the source, just use the web viewer. Also, bisecting is much easier, because you avoid the sequence-patch step now. There are some gotchas though:

  • Not every commit to the kernel-source repository results in a change in the kernel repository. For instance updating config files in the kernel-source repository results in a commit that has no text changes. The gitorious viewer is confused by this and tells you that you are viewing the initial commit. In a local clone, you can exclude such commits with ‘git log .’ (note the dot).
  • When the patch series does not apply, there isn’t much to show in the kernel repository. In such case, the commit only adds a ‘BROKEN’ file to the toplevel directory and uses the tree from the previous commit. When using a bisect script, you can skip such commits with e.g. ‘test -e BROKEN && exit 125’.
  • When patches such as xen are temporarily disabled while updating to newer upstream versions and later enabled, it generates huge diffs back and forth. That’s usually not a problem unless you are bisecting something xen-related.

Anyway, I’m sure this will be useful for anyone who needs to debug something in the openSUSE kernel.

On-Access virus scanning on openSUSE 11.3

September 14th, 2010 by

One of the most useful deployment scenario for Linux in enterprise or educational environment is a fileserver with on access virus scanning, to serve Windows PCs on the network of course. Long ago there used to be samba-vscan that worked very nicely, it went missing in openSUSE 11.2 so dazuko kernel module worked in its place. On 11.3 dazuko is no longer available, enter dazukofs.


Build Service Cheat Sheet

September 13th, 2010 by

Last week I had some discussions with colleagues about the build service and Berthold and Darix suggested to create some kind of reference card for the build service.

So, I’ve sat down, learned how others do sheat cheets, e.g. via XML or in OpenOffice.org and then decided to go the easy route with columns using an OpenOffice.org text document.

The first version is now available for download.  It describes building packages for Factory, reviewing of package submissions, maintenance, package editing, miscellaneous commands and osc installation. The file is supposed to be printed on two sides of a paper – and then cut the paper to A5.

Please send me corrections, the odt is available as well from me (will upload it later to the wiki).

You can get the current version here.

Thanks to reviews and suggestions by Adrian, Berthold, Darix, Jan and Thorsten.

KDE bug triage report

September 12th, 2010 by

Last month there was a KDE bug triage (sorry for the late report) and we squashed 60 bugs 😀
Thanks to all the people who contributed in making the KDE experience a bit better, especially Stephen Dunn and Christian Trippe. 😉
Remember, this hasn’t finished here. Going through the bug reports always helps!

So, here’s the proof:

Source: Bugzilla

KIWI-LTSP multiple image support improvements

September 8th, 2010 by

Savin Alex has been busy working on improving kiwi-ltsp lately. The basic idea behind the new development is easier management of multiple LTSP images that can be served over NBD or AOE. Earlier Shrenik Bhura had added multiple image support for AOE, now it is also supported when using NBD. (more…)

Recompiling wxRuby

September 4th, 2010 by

Who uses Ruby might be interested to try this interesting multiplatform library that allows the development of GUI (Graphic User Interface) with a considerable visual impact and compatible with the three most popular Operating Systems: Linux (via GTK) Windows (with Native controls) and OSX (via Aqua). (This article is also available for italian users)