Bug 29: CLOSED
linux-source-3.2.14.tazpkg broken
Date: 2012-06-01 16:36 - Creator: mojo - Priority critical - 3 messages
get-linux-source quits after downloading source with the following errors. root@slitaz:/var/cache/tazpkg/cooking/packages# get-linux-source Connecting to www.kernel.org (149.20.20.133:80) Connecting to www.kernel.org (149.20.20.133:80) linux-3.2.tar.xz 100% |*******************************| 63540k 0:00:00 ETA tar: invalid magic tar: short read /usr/bin/get-linux-source: line 44: can't open slitaz/patches: no such file cp: can't stat 'slitaz/config': No such file or directory ln: /lib/modules/3.2.14-slitaz/build: No such file or directory ---- To modify the kernel configuration: $ cd /usr/src/linux-3.2.14 $ make menuconfig To build the kernel and the modules: $ cd /usr/src/linux-3.2.14 $ make bzImage make modules To install the new kernel and the modules: $ make modules_install $ cp -a arch/x86/boot/bzImage /boot/vmlinuz-3.2.14-slitaz To make a Slitaz package with the new kernel and the modules: $ make tazpkg See /usr/src/linux-3.2.14/README ----
Affected package(s): linux-source-3.2.14.tazpkg
Messages
By: border on 2012-11-24 22:21
Hi i can confirm the bug on the cooking, To reproduce it on live cooking : # tazpkg get-install linux-source # get-linux-source The problem seem to come from the fact that the /usr/bin/get-linux-source script contained in linux-source package use wrong argument for busybox's tar for the .tar.xz archive. FIX, change tar argument on line 22 of /usr/bin/get-linux-source to betar xfinsted oftar xjf(may be a dirty fix. Need to be checked)
By: border on 2012-11-26 19:56
the patch is here pastebin.com/6qffbWMS
By: trixar_za on 2012-11-27 00:59
Patch applied: hg.slitaz.org/wok/rev/181077a51c57