Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-kernel/installkernel-gentoo-2 is it safe to remove?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Amon2501
n00b
n00b


Joined: 12 Dec 2018
Posts: 70

PostPosted: Sun Apr 26, 2020 11:53 am    Post subject: sys-kernel/installkernel-gentoo-2 is it safe to remove? Reply with quote

Hello. Today the portage had installed sys-kernel/installkernel-gentoo-2 and there no packages depending on it (equery d says nothing). I`d like to install kernels manually using make install. Is it safe to remove that package then?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24067
Location: here

PostPosted: Sun Apr 26, 2020 12:03 pm    Post subject: Reply with quote

In my system
Code:
$ equery d sys-kernel/installkernel-gentoo
 * These packages depend on sys-kernel/installkernel-gentoo:
sys-apps/debianutils-4.9.1 (installkernel ? sys-kernel/installkernel-gentoo)

So I think you can disable installkernel from sys-apps/debianutils package for remove it
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Amon2501
n00b
n00b


Joined: 12 Dec 2018
Posts: 70

PostPosted: Sun Apr 26, 2020 12:06 pm    Post subject: Reply with quote

fedeliallalinea wrote:
In my system
Code:
$ equery d sys-kernel/installkernel-gentoo
 * These packages depend on sys-kernel/installkernel-gentoo:
sys-apps/debianutils-4.9.1 (installkernel ? sys-kernel/installkernel-gentoo)

So I think you can disable installkernel from sys-apps/debianutils package for remove it


Oh that`s correct. debianutils are depending on it now, and i`ve written this post during the update. So i`ll just disable that flag to make it go away.
Back to top
View user's profile Send private message
Ionen
l33t
l33t


Joined: 06 Dec 2018
Posts: 697

PostPosted: Sun Apr 26, 2020 1:05 pm    Post subject: Reply with quote

Note that "make install" on a normal kernel source calls installkernel, and when you need additional setting up the normal way to do it is to add a /etc/kernel/postinst.d script (called by installkernel with arg1=kernel version, arg2=installed kernel path, I use it to copy/backup the kernel to my EFI partition for EFI stub install myself + also do cleanups, which is also picked up by the likes of sys-kernel/gentoo-kernel). Without installkernel "make install" just dumps the kernel unversioned at /boot/vmlinuz and I think even tries to use lilo.

installkernel is technically not "needed" by debianutils, but is traditionally provided by debianutils and the USE=installkernel with installkernel-gentoo by default keeps the system as-is rather than being anything new.
Back to top
View user's profile Send private message
Amon2501
n00b
n00b


Joined: 12 Dec 2018
Posts: 70

PostPosted: Sun Apr 26, 2020 1:23 pm    Post subject: Reply with quote

Ionen wrote:
Note that "make install" on a normal kernel source calls installkernel, and when you need additional setting up the normal way to do it is to add a /etc/kernel/postinst.d script (called by installkernel with arg1=kernel version, arg2=installed kernel path, I use it to copy/backup the kernel to my EFI partition for EFI stub install myself + also do cleanups, which is also picked up by the likes of sys-kernel/gentoo-kernel). Without installkernel "make install" just dumps the kernel unversioned at /boot/vmlinuz and I think even tries to use lilo.

installkernel is technically not "needed" by debianutils, but is traditionally provided by debianutils and the USE=installkernel with installkernel-gentoo by default keeps the system as-is rather than being anything new.


That`s exactly what i need. I have a dualboot with windows 7 so, i need only 3 options in my grub configuration file 1. Current kernel (regardless of it`s version) 2. backup kernel (vmlinuz.old) 3. Windows loader. so im using the standard symlinks. if something gonna mess up with the grub.cfg it probably will overwrite everything.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum