RobertCNelson / armv7-multiplatform

MIT License
75 stars 42 forks source link

Wrong package names in build_deb.sh #6

Closed xypron closed 11 years ago

xypron commented 11 years ago

build_deb.sh creates the following files in deploy

3.11.0-rc3-armv7-x5-dtbs.tar.gz linux-headers-3.11.0-rc3-armv7-x5_1.0cross_armhf.deb test 3.11.0-rc3-armv7-x5-firmware.tar.gz linux-image-3.11.0-rc3-armv7-x5_1.0cross_armhf.deb linux-firmware-image_1.0cross_all.deb linux-libc-dev_1.0cross_armhf.deb

linux-firmware-image_1.0cross_all.deb contains files in directory ./lib/firmware/3.11.0-rc3-armv7-x5/. So why is the image called 1.0 and not 3.11.0-rc3-armv7-x5

RobertCNelson commented 11 years ago

That's just the way the mainline builddeb script (make deb-pkg) outputs those files:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/scripts/package/builddeb#n81 packagename=linux-image-$version fwpackagename=linux-firmware-image kernel_headers_packagename=linux-headers-$version libc_headers_packagename=linux-libc-dev

firmware/libc does not get the $version tag..

Regards,

xypron commented 11 years ago

A patch to correct builddeb has been accepted by the kernel maintainer.

https://git.kernel.org/cgit/linux/kernel/git/mmarek/kbuild.git/commit/?h=misc&id=95e2a7d80779850341b45b4fbc2a0041bfc378fb