[arch-dev-public] kernel 3.0 changes
Hi guys, everything is prepared and committed to linux/trunk. Changes: - Rename the package kernel26 -> linux - Added replaces everywhere - Removed old comments and vercmps from .install file - Removed old comments and replaces from PKGBUILD - added compatibility symlinks for vmlinuz26 and initramfs filenames in PKGBUILD, in order to not break bootloader entries. Now stuff to discuss before uploading to testing: - kernel name: vmlinuz-linux or vmlinuz-ARCH - initramfs name: initramfs-linux.img or initramfs-ARCH.img same for fallback of course. - naming it $pkgname (which would be linux, would make it easier for custom kernel building imho) anything else I missed, shout out now :) greetings tpowa -- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
Hi guys, everything is prepared and committed to linux/trunk.
That was fast. :)
Now stuff to discuss before uploading to testing: - kernel name: vmlinuz-linux or vmlinuz-ARCH - initramfs name: initramfs-linux.img or initramfs-ARCH.img same for fallback of course. - naming it $pkgname (which would be linux, would make it easier for custom kernel building imho)
I much prefer the $pkgname suffix instead of 'ARCH' in the kernel and initramfs images. It looks nicer, and (as you said) it's easier to customize too.
On Sat, 23 Jul 2011 14:15:14 +0300, Evangelos Foutras wrote:
I much prefer the $pkgname suffix instead of 'ARCH' in the kernel and initramfs images. It looks nicer, and (as you said) it's easier to customize too.
I agree. -- Pierre Schmitz, https://users.archlinux.de/~pierre
On 23 July 2011 18:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
- naming it $pkgname (which would be linux, would make it easier for custom kernel building imho)
Yes, that sounds best. -- GPG/PGP ID: 8AADBB10
On Sat, Jul 23, 2011 at 12:41 PM, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
Now stuff to discuss before uploading to testing: - naming it $pkgname (which would be linux, would make it easier for custom kernel building imho)
Sounds reasonable. Looking forward to the release :) Cheers, -t
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
anything else I missed, shout out now :)
The creation of the initramfs image symlinks needs to be moved back to the .install scriptlet because pacman doesn't track the old images and will refuse to replace them.
Am 23.07.2011 16:48, schrieb Evangelos Foutras:
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
anything else I missed, shout out now :)
The creation of the initramfs image symlinks needs to be moved back to the .install scriptlet because pacman doesn't track the old images and will refuse to replace them. Are you sure, it should delete them on deinstalling kernel26, at least there is a post_remove function.
But I don't know exactly how pacman will handle the replace. greetings tpowa -- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org
On Sat, Jul 23, 2011 at 10:18 AM, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
Am 23.07.2011 16:48, schrieb Evangelos Foutras:
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
anything else I missed, shout out now :)
The creation of the initramfs image symlinks needs to be moved back to the .install scriptlet because pacman doesn't track the old images and will refuse to replace them. Are you sure, it should delete them on deinstalling kernel26, at least there is a post_remove function. It doesn't work is what he is telling you, nor should it- file conflict checks take place long before this, and a package will never ever ever try to overwrite things it sees on the filesystem that are unowned. The kernel symlink should stay in the package but the initramfs ones cannot.
But I don't know exactly how pacman will handle the replace.
On 23 July 2011 17:48, Evangelos Foutras <foutrelis@gmail.com> wrote:
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
anything else I missed, shout out now :)
The creation of the initramfs image symlinks needs to be moved back to the .install scriptlet because pacman doesn't track the old images and will refuse to replace them.
I wrote a patch [1] that does the above, and also adds provides/conflicts for the replaced packages. (Ten or so packages depend on kernel26-headers and a couple on kernel26.) [1] http://pkgbuild.com/~foutrelis/add-provides-conflicts-and-fix-initramfs-syml...
On 23 July 2011 18:26, Evangelos Foutras <foutrelis@gmail.com> wrote:
On 23 July 2011 17:48, Evangelos Foutras <foutrelis@gmail.com> wrote:
On 23 July 2011 13:41, Tobias Powalowski <tobias.powalowski@googlemail.com> wrote:
anything else I missed, shout out now :)
The creation of the initramfs image symlinks needs to be moved back to the .install scriptlet because pacman doesn't track the old images and will refuse to replace them.
I wrote a patch [1] that does the above, and also adds provides/conflicts for the replaced packages.
(Ten or so packages depend on kernel26-headers and a couple on kernel26.)
[1] http://pkgbuild.com/~foutrelis/add-provides-conflicts-and-fix-initramfs-syml...
Corrected the patch to include ${_kernelname} in the kernel image symlink (for unofficial kernel packages): ln -sf vmlinuz-${pkgname} ${pkgdir}/boot/vmlinuz26${_kernelname} <-- this last bit was missing Should be OK now. :)
One last patch to remove the ${pkgdir} reference my previous patch wrongly introduced from the .install scriptlet. Also made all paths relative to / since pacman executes them from there. http://pkgbuild.com/~foutrelis/fix-absolute-paths-in-install-scriptlet.patch
participants (6)
-
Dan McGee
-
Evangelos Foutras
-
Pierre Schmitz
-
Ray Rashif
-
Tobias Powalowski
-
Tom Gundersen