diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-06-24 01:29:03 +0200 | 
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:12 +0100 | 
| commit | f2af3a7df70e75d9e5abb2d8cc9fa6685d857cd3 (patch) | |
| tree | cbbc93206b795084f4bb0a76f31731fecc8a9479 | |
| parent | 97d6712656de371c36510f9528dadc941da879e3 (diff) | |
| download | vyos-live-build-f2af3a7df70e75d9e5abb2d8cc9fa6685d857cd3.tar.gz vyos-live-build-f2af3a7df70e75d9e5abb2d8cc9fa6685d857cd3.zip | |
Removing double implementation of binary_rootfs/excludes.
| -rwxr-xr-x | helpers/binary_chroot | 15 | 
1 files changed, 0 insertions, 15 deletions
| diff --git a/helpers/binary_chroot b/helpers/binary_chroot index fb7dafe75..08c6f4839 100755 --- a/helpers/binary_chroot +++ b/helpers/binary_chroot @@ -95,21 +95,6 @@ fi  ${LH_ROOT_COMMAND} mv chroot.tmp chroot/chroot -if [ -f config/binary_rootfs/exclude ] -then -	# Read exclude file and expand wildcards. -	for EXCLUDE in $(cat config/binary_rootfs/exclude) -	do -		if [ -e chroot/chroot/"${EXCLUDE}" ] -		then -			# Run "rm" inside the chroot so it cannot possibly remove host files. -			Chroot chroot "rm -r chroot/${EXCLUDE}" -		else -			Echo_warning "Excluded path does not exist: %s" "${EXCLUDE}" -		fi -	done -fi -  # Handling chroot excludes  if [ "${LH_BUILD_WITH_CHROOT}" = "true" ]  then | 
