can't add apt sources with chroot hook (Bug #139)

Added by Dan Lipsitt about 3 years ago. Updated about 3 years ago.

Status:New Start date:04/13/2015
Priority:Normal Due date:
Assignee:- % Done:


Target version:-


When building a custom image with image-builder it looks like chroot_before_hook doesn't run early enough to add apt sources that can be used by deb_additional_pkgs.

I want to fix this issue for everyone if possible rather than doing a one-off hack. Should I:
  1. move the call to chroot_before_hook earlier in
  2. add a new hook
  3. do something else?


Updated by Robert Nelson about 3 years ago

Since your dealing with another repo, take a look at what we did for machinekit:

Those packages will get installed pretty much after deb_additional_pkgs:


Updated by Dan Lipsitt about 3 years ago

Perfect. Thanks!

Also available in: Atom PDF