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


Added by Dan Lipsitt over 2 years ago. Updated over 2 years ago.


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

0%

Category:-
Target version:-

Description

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 chroot.sh
  2. add a new hook
  3. do something else?

History

Updated by Robert Nelson over 2 years ago

Since your dealing with another repo, take a look at what we did for machinekit:
https://github.com/beagleboard/image-builder/blob/master/configs/machinekit-debian-wheezy.conf#L61

Those packages will get installed pretty much after deb_additional_pkgs:

https://github.com/beagleboard/image-builder/blob/master/scripts/chroot.sh#L505

Regards,

Updated by Dan Lipsitt over 2 years ago

Perfect. Thanks!

Also available in: Atom PDF