FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 07-23-2011, 10:41 AM
Tobias Powalowski
 
Default 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
 
Old 07-23-2011, 11:15 AM
Evangelos Foutras
 
Default kernel 3.0 changes

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.
 
Old 07-23-2011, 11:16 AM
Pierre Schmitz
 
Default kernel 3.0 changes

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
 
Old 07-23-2011, 11:19 AM
Ray Rashif
 
Default kernel 3.0 changes

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
 
Old 07-23-2011, 11:39 AM
Tom Gundersen
 
Default kernel 3.0 changes

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
 
Old 07-23-2011, 02:48 PM
Evangelos Foutras
 
Default kernel 3.0 changes

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.
 
Old 07-23-2011, 03:18 PM
Tobias Powalowski
 
Default kernel 3.0 changes

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
 
Old 07-23-2011, 03:20 PM
Dan McGee
 
Default kernel 3.0 changes

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.
 
Old 07-23-2011, 03:26 PM
Evangelos Foutras
 
Default kernel 3.0 changes

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-symlinks.patch
 
Old 07-23-2011, 03:43 PM
Evangelos Foutras
 
Default kernel 3.0 changes

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-symlinks.patch

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.
 

Thread Tools




All times are GMT. The time now is 10:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org