Package Base Details: linux-zen-git

Git Clone URL: (read-only, click to copy)
Submitter: ilikenwf
Maintainer: ilikenwf
Last Packager: ilikenwf
Votes: 25
Popularity: 0.24
First Submitted: 2015-08-10 23:27
Last Updated: 2021-08-31 20:52

Marcel_K commented on 2010-12-05 00:32

Thanks Bregol, very good idea to put this in a separate wrapper, works perfectly; after all, those commands can only be run when both kernel and header files are installed, not when only the former has been updated.

Anonymous comment on 2010-12-04 23:42

For vbox, you can rebuild drivers before booting the new kernel if you set some variables. I do this as part of my wrapper script (which is why i like a KISS pkgbuild that doesnt keep changing functionality - so i dont have to keep adjusting my wrapper). What I do in the wrapper is to set these:

NEWZEN=`pacman -Ql kernel26zen-git | grep /modules.alias.bin | sed 's/kernel26.*\/lib\/modules\/\(.*\)\/modules.alias.bin/\1/g'`

And the the wrapper script runs this:
sudo -E /etc/rc.d/vboxdrv setup
sudo depmod -a $NEWZEN

note that i havent adjusted this yet for this new pkgbuild name yet, but you get the idea.

Marcel_K commented on 2010-12-04 23:20

Yeah, sounds like a good idea. :) Strange Pacman didn't complain when I installed virtualbox_bin; or: who deleted my kernel26-headers???

BTW, my earlier patch was wrong, makepkg didn't do what I thought it would do, sorry for the confusion. Also, it seems you can't issue `/etc/rc.d/vboxdrv setup` immediately after installing the kernel, I suspect you'll have to reboot and run the new kernel before you can recompile the VirtualBox module(s) (but of course that issue is regarding that package).

At is the corrected patch.

Anonymous comment on 2010-12-04 23:01

This package does not provide kernel26-headers. If virtualbox_bin needs that package, you should better install it. ;)

Marcel_K commented on 2010-12-04 22:53

I'm fine with either way, I merely provided my patch if someone wants a bit more sophistication (I already inadvertently deleted my .config). Anyway, I think this PKGBUILD is really good, thanks Patrick!

I encountered a more serious problem when trying to install kernel26-zen-headers. Pacman complained that kernel26-headers are needed by virtualbox_bin; could you add `provides=('kernel26-headers')` please?

SanskritFritz commented on 2010-12-04 22:27

Well, I personally love the KISS transparency of this package. No fuss, just what is absolutely needed. This way I can maintain the state of the git repo, I can decide what happens to the .config file, I can decide how I make the config, but what needs to be done anyway, is included into the PKGBUILD. Brilliant, please keep it this way. Just my 2₵.

Marcel_K commented on 2010-12-04 21:09

I totally agree with SanskritFritz, but I also liked the abilities to choose (menu|x|g)config when building and the automatic saving of .config (issuing a `make mrproper` wipes .config away). I use the patch at (so I can simply type `makepkg menu` to issue `make menuconfig` on the fly). It also rebuilds my VirtualBox module after installing, as required by that package.

Anonymous comment on 2010-12-04 14:09

As SanskritFritz said, you can skip updating the tree by uncommenting _no_update="y". The PKGBUILD also asks you two times whether you want to continue, so it does offer a certain interactivity. Asking the user interactively whether he wants to update his or her tree would be a good idea though. I'm going to add it later this day.

SanskritFritz commented on 2010-12-04 13:56

It does provide this functionality, but not interactively. Edit the PKGBUILD _no_update="y".

Anonymous comment on 2010-12-04 11:02

IMHO it would be great if this package could provide the same functionality as old kernel26zen-git provided, I mean here the ability to choose interactively either to update/not update source, just build/update and build.