Jump to content
funtoo forums
  • 0
hick518

upgrading debian-sources requires 14 GB in /var/tmp

Question

When I installed Funtoo, debian-sources was included as a binary and did not need to be compiled.  Now there is an upgrade available, and 'emerge -pv debian-sources' shows USE="binary".  I assume that means I will get a binary kernel that does not need to be compiled (please correct me if I'm wrong).  But when I try to do the upgrade, emerge fails with:

 

"There is NOT at least 14 GiB disk space at "/var/tmp/portage/sys-kernel/debian-sources-4.4.6/temp". 

 

That is a true statement, but I am wondering why I need that much space to install a binary kernel.  Is that a bug in the ebuild?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

The debian-sources ebuilds specifically check for 14G free space if binary use flag is enabled.

drobbins knows from personal experience that is a free space requirement.

I installed linux-debian-sources-3.16.7 which was in testing back in May 2015

rj@funtoo ~ $ du -sh /usr/src/linux-debian-sources-3.16.7/
8.8G    /usr/src/linux-debian-sources-3.16.7/

Install started at 2.2G with binary use disabled, compiling kernel adds another 6.6G

gentoo-sources is much lighter @ 1.1G

rj@funtoo ~ $ du -sh /usr/src/linux-4.4.1-gentoo/
1.1G    /usr/src/linux-4.4.1-gentoo/

Install starts at 592MB, kernel compile adds another 508MB.

Whats added depends on configuration, gentoo-sources is slimmed down to the minimum with no initramfs.

Debian-sources I  used config-extract and added a few items so it's heavy on modules. 

I package.mask debian-sources and gentoo-sources > version installed.

I don't want to be bothered to update kernel every time a new version comes along.

My hardware is old, upgrading kernel does nothing for my user experience.

 

 


 

Share this post


Link to post
Share on other sites
  • 0

Pre-compiled kernel and initramfs is only included in stage3.

Future kernel updates on post install funtoo require building the kernel.

The kernel and initramfs build is automated if linux-debian-sources is merged with binary use enabled and you have 14G free space.

Since you don't have enough space use gentoo-sources with genkernel to update kernel.

Genkernel has a generic kernel configuration:

genkernel  all

There is no free space check.

Share this post


Link to post
Share on other sites
  • 0

I think you should try to compile your own kernel instead, hick518, It will finish in a few minutes instead of a couple of hours.

 

With

lspci -v | grep Kernel

you will see the name of the most important drivers, it's really easy.

Share this post


Link to post
Share on other sites
  • 0

I successfully compiled my own kernel using:

 

emerge gentoo-sources

genkernel --menuconfig all

 

It was quite fast compared to compiling debian-sources.  Thanks for the tips, guys.

 

I did have a small problem with genkernel, which I described here:  http://forums.funtoo.org/topic/938-missing-devrtc-in-genkernel-of-gentoo-sources-446/

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...