[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Fixed missing 'sh' in lh_chroot_sources



From: Maximilian Gaß <mxey@cloudconnected.org>

it's already done this way on a different occasion in the same script.
Without this, the user's shell is used, which might be missing in the
chroot.
---
 helpers/lh_chroot_sources |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index e5ddfdb..a862764 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -128,7 +128,7 @@ case "${1}" in
 				# Generate Release
 				echo "cd /root/local-packages && apt-ftparchive \
 					-o APT::FTPArchive::Release::Origin=chroot_local-packages \
-					release . > Release" | Chroot chroot
+					release . > Release" | Chroot chroot sh
 
 				if [ "${LH_APT_SECURE}" = "enabled" ]
 				then
-- 
1.6.0.2


Reply to: