diff options
author | Raphaël Hertzog <hertzog@debian.org> | 2018-07-27 09:46:55 +0200 |
---|---|---|
committer | Raphaël Hertzog <hertzog@debian.org> | 2018-07-27 10:51:49 +0200 |
commit | 52908422880f8d5cfa18c577d4138d5449af37f6 (patch) | |
tree | 6e434c9e7f45c58a8b4cfcf8c07c8329728107ef /scripts/build/bootstrap_archives | |
parent | 332c170c3b8dc2449b348191562c784db68ed331 (diff) | |
download | vyos-live-build-52908422880f8d5cfa18c577d4138d5449af37f6.tar.gz vyos-live-build-52908422880f8d5cfa18c577d4138d5449af37f6.zip |
Handle includes.chroot files installed over symlinked directories
With the merged /usr feature now enabled in debootstrap, we have
/bin and /lib which are symlinks to /usr/bin and /usr/lib. If
the live-build configuration provides files in
config/includes.chroot/lib/ or config/includes.chroot/bin/ then
lb chroot_includes will replace the /lib or /bin symlink with real
directories having only the content provided in chroot.includes and
problems will follow... the build will usually fail later with a
cryptic error message (for example a hook failing to execute
/usr/bin/env).
Work around the issue by creating a tarball of the files to install
and by unpacking that tarball from within the chroot with appropriate
options.
Diffstat (limited to 'scripts/build/bootstrap_archives')
0 files changed, 0 insertions, 0 deletions