Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to "make clean" . plz help an og [slvd]
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
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Wed May 08, 2024 12:12 am    Post subject: how to "make clean" . plz help an og [slvd] Reply with quote

I usually do the following to compile a new kernel after I symlink the new source to /usr/src/linux
#make && make modules_install
#make install
#grub-mkconfig -o /boot/grub/grub.cfg

new source
lrwxrwxrwx 1 root root 19 May 7 16:45 linux -> linux-6.6.30-gentoo

make install is not pushing my new kernel to /boot
And when I eselect kernel list it shows:
yoda /boot # eselect kernel list
Available kernel symlink targets:
[1] linux-6.6.21-gentoo
[2] linux-6.6.30-gentoo *


Once it was suggested I make clean or something similar. I can recall . I forgot

Please throw me a bone on cleaning this up.

Do I issue a "make clean" . And if so what does it do?

I forgot. Or rather I did not document my step and I search my posts with no avail.
_________________
Without diversity there can be no evolution:)


Last edited by cwc on Wed May 08, 2024 3:02 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21756

PostPosted: Wed May 08, 2024 12:48 am    Post subject: Reply with quote

I suspect that make clean is not relevant here.

We have had a number of recent threads where people removed installkernel, then were surprised that make install no longer behaved as it once did. Has that happened here? What is the output of emerge --pretend --verbose sys-kernel/installkernel ; grep sys-kernel/installkernel /var/log/emerge.log | tail -n20?
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Wed May 08, 2024 1:28 am    Post subject: Reply with quote

yoda ~ # emerge --pretend --verbose sys-kernel/installkernel ; grep sys-kernel/installkernel /var/log/emerge.log | tail -n20

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 6.94 s (backtrack: 0/20).

[ebuild N ] sys-kernel/installkernel-28::gentoo USE="-dracut -grub -refind -systemd -systemd-boot -uki -ukify" 19 KiB

Total: 1 package (1 new), Size of downloads: 19 KiB
1706891783: >>> emerge (1 of 9) sys-kernel/installkernel-24 to /
1706891783: === (1 of 9) Cleaning (sys-kernel/installkernel-24::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-24.ebuild)
1706891783: === (1 of 9) Compiling/Merging (sys-kernel/installkernel-24::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-24.ebuild)
1706891793: === (1 of 9) Merging (sys-kernel/installkernel-24::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-24.ebuild)
1706891797: >>> AUTOCLEAN: sys-kernel/installkernel:0
1706891797: === Unmerging... (sys-kernel/installkernel-19)
1706891800: >>> unmerge success: sys-kernel/installkernel-19
1706891806: === (1 of 9) Post-Build Cleaning (sys-kernel/installkernel-24::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-24.ebuild)
1706891806: ::: completed emerge (1 of 9) sys-kernel/installkernel-24 to /
1709996750: >>> emerge (1 of 3) sys-kernel/installkernel-25 to /
1709996751: === (1 of 3) Cleaning (sys-kernel/installkernel-25::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-25.ebuild)
1709996751: === (1 of 3) Compiling/Merging (sys-kernel/installkernel-25::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-25.ebuild)
1709996760: === (1 of 3) Merging (sys-kernel/installkernel-25::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-25.ebuild)
1709996764: >>> AUTOCLEAN: sys-kernel/installkernel:0
1709996764: === Unmerging... (sys-kernel/installkernel-24)
1709996767: >>> unmerge success: sys-kernel/installkernel-24
1709996770: === (1 of 3) Post-Build Cleaning (sys-kernel/installkernel-25::/var/db/repos/gentoo/sys-kernel/installkernel/installkernel-25.ebuild)
1709996770: ::: completed emerge (1 of 3) sys-kernel/installkernel-25 to /
1710347039: === Unmerging... (sys-kernel/installkernel-25)
1710347042: >>> unmerge success: sys-kernel/installkernel-25
yoda ~ #
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21756

PostPosted: Wed May 08, 2024 2:39 am    Post subject: Reply with quote

You removed installkernel on March 13. Does this line up with when make install ceased working as you desire?
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Wed May 08, 2024 2:59 am    Post subject: Reply with quote

Thanks Hu,
I still did a make clean and it did clean some other stuff up.

But,
"emerge -av sys-kernel/installkernel"

solved the problem.

I wonder why sys-kernel/installkernel was "emerge --ask --depclean"
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Wed May 08, 2024 3:05 am    Post subject: Reply with quote

Hu wrote:
You removed installkernel on March 13. Does this line up with when make install ceased working as you desire?


what tells you I removed installkernel on March 13,2024. This would explain why I could not get libvirt working.
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1305
Location: Tri-Cities, WA USA

PostPosted: Wed May 08, 2024 3:41 am    Post subject: Reply with quote

Oh my. I just figured it out: https://www.epochconverter.com/

date -d @1234567890
_________________
Without diversity there can be no evolution:)
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