Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

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


hick518

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?

Link to comment
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.

 

 


 

Link to comment
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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...