mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02:00
This adds repo --references awareness (which maps down to git shared object pools; see git clone -s); specifically, it sets up the appropriate indirection bindings back to the actual shared source for use from within the chroot. Note that the approach is a bit complex, but it's required complexity- via this approach the references are accessible both from within, and without the chroot. BUG=chromium-os:19939 TEST=cbuildbot x86-generic-full --clobber --notests --nouprev TEST=cbuildbot x86-generic-full --notests --nouprev CQ-DEPEND=I986f17503dc154234ecadd90f6975d7164117cdb Change-Id: I8498863010cefe0bf5b8f20350fa45a5f2a093d3 Reviewed-on: https://gerrit.chromium.org/gerrit/13467 Tested-by: Brian Harring <ferringb@chromium.org> Reviewed-by: David James <davidjames@chromium.org> Commit-Ready: Brian Harring <ferringb@chromium.org>