summaryrefslogtreecommitdiff
path: root/helpers/lh_includechroot
blob: eedd31d156b581c5dbaf3f4699a62d8d17290865 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# lh_includechroot

# Copy external directory into the chroot
if [ -d "${LIVE_INCLUDE_CHROOT}" ]
then
	cd "${LIVE_INCLUDE_CHROOT}"
	find . | cpio -pumd "${LIVE_CHROOT}"
	cd "${OLDPWD}"
fi