Opened 8 years ago

Last modified 8 years ago

#101 new enhancement

debirf should pull the kernel package from /var/cache/apt/archives on the host if it exists

Reported by: dkg Owned by: jrollins
Priority: minor Component: debirf
Keywords: debirf kernel Cc:
Sensitive:

Description

the kernel installation step during debirf is a large download. Quite often, the file to be downloaded is already in the host system's APT cache.

It would make sense (speed things up, reduce bandwidth consumption) to simply copy over the kernel from the host system's apt cache if it looks like the right one before doing the installation.

Change History (1)

comment:1 Changed 8 years ago by jrollins

  • Priority changed from major to minor
  • Type changed from defect to enhancement

I guess we can do a check to see if the kernel we're looking for already exists locally, and just copy over that one instead of downloading. that shouldn't be too difficult.

Is there any reason we couldn't just by default use the kernel running the host system? I guess there might be some issues if it is from a different suite than we're building. I guess it might be nice to have a couple of more options that can be passed to debirf about which kernel to use, either just using the one from the host, or downloading, or from a kernel .deb, or whatever.

Note: See TracTickets for help on using tickets.