**** BEGIN LOGGING AT Thu May 30 03:00:00 2013 May 30 23:50:37 Anyone know what update the /boot/vmlinuz and /boot/initrd.img symlinks? May 30 23:51:50 installing a linux-image debian package doesnt appear to be doing it so rebooting the machine after it loads the wrong kernel: http://pastebin.com/raw.php?i=cyiaYFbF May 31 00:38:04 houkouonchi-work: It's the linux-image postinst that's meant to twiddle them. May 31 00:38:31 infinity: well if you check my pastebin it doesn't appear to be doing it or do you have to do something special when making the linux-image .deb to get it to do that? May 31 00:38:56 houkouonchi-work: Well, the distro packages are clearly working, since your links point to -31- and -30- for current and old. May 31 00:39:05 houkouonchi-work: So, I'd assume your postinst is different from ours. May 31 00:39:19 houkouonchi-work: At which point, I can't say how yours is different, cause I haven't seen it. May 31 00:40:11 diff -u /var/lib/dpkg/info/linux-image-{3.5.0-31-highbank.postinst,3.9.0-ceph-b5b09be3-highbank} should be enlightening. May 31 00:40:34 houkouonchi-work: If you're producing yours with make-kpkg, rather than using our kernel packaging, it will probably be quite different. May 31 00:41:00 well when you build a debian with make 'deb-pkg' do you need to specify something special to get it to do the the symlinks? May 31 00:41:47 See above, we don't use make-kpkg, we build our kernels as proper Debian source packages (from the 'linux' source package), so the method is quite different. May 31 00:43:05 big differences ok so its part of the postinstall script of the .deb hmm May 31 00:43:29 http://pastebin.com/raw.php?i=HwMs9Qr1 May 31 00:43:51 You want a unified diff (-u), if you want that to be readable... May 31 00:43:58 really the post install of the one i built is pretty much nothing May 31 00:44:25 Oh, but true, the make-kpkg one is mostly empty these days, it would seem. May 31 00:44:34 yeah its pretty much non-existent May 31 00:44:55 So, it would seem there might need to be a hook script to do the symlink twiddling in the new world order. May 31 00:45:17 http://pastebin.com/raw.php?i=HVBtbRWg <-- inline one not that its saying much May 31 00:45:22 (Or, use the Ubuntu packaging for your kernels instead, if your goal is just to add some patches to the highbank kernel...) May 31 00:45:53 well its more like build kernels using newer ceph-client stuff May 31 00:45:58 not really just a matter of patches May 31 00:48:29 Do you think stealing the post install script off the ubuntu one is likely to work with a different one. It looks pretty generic so a quick look over it by me looks like it would probably work? May 31 00:49:06 Possibly. May 31 00:49:16 Though seems like overkill if all you want is the symlink twiddling. May 31 00:49:58 i guess my $version is being specified in the file though... Yeah I guess I am just trying to figure out the best way to automate this May 31 00:50:32 these kernel packages are all automated and the installation/testing is automated too the problem is if that symlink isnt correct when the machine is rebooted u-boot isnt loading the kernel May 31 00:50:44 even though it says its flashing with it during the installation of the package... May 31 00:51:39 might be easier if we just create the symlink in our code-base that does the testing after it does the install rather than doing it with the post install of the .deb I just wasnt sure what handled that stuff. Not super familiar with the .deb packaging system May 31 00:51:43 Well, there is no "flashing" to do with flash-kernel on highbank, that's a bit of a lie. May 31 00:51:45 Thanks for the help May 31 00:51:59 infinity: then it makes sense why it didnt boot the kernel =) May 31 00:53:10 cant wait for these newer arm hardware. Even with like 10+ nodes and distcc it takes a long time to build stuff on them heh May 31 00:53:31 So, Debian's kernel postinsts are also still the massive long Perl postinst. May 31 00:53:42 I wonder why make-kpkg's is so anaemic. May 31 00:54:54 Waaait, so is the one in make-kpkg. May 31 00:55:01 houkouonchi-work: How are you building these kernel packages? May 31 00:55:16 houkouonchi-work: Are you using "make-kpkg" from the "kernel-package" package? May 31 00:55:32 houkouonchi-work: Cause that should provide you with something with the complex/useful postinst. May 31 01:27:27 infinity: its kernels from git doing make debb-pkg **** ENDING LOGGING AT Fri May 31 02:59:58 2013