From 1c1e7db6c44d639fd51ee23061087c7d14b6ef6b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 28 Oct 2008 16:44:06 +0100 Subject: Generalizing internal Chroot(); by requiring its first argument to be the chroot directory. --- helpers/lh_binary_rootfs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers/lh_binary_rootfs') diff --git a/helpers/lh_binary_rootfs b/helpers/lh_binary_rootfs index 4d61af400..d6ab9577c 100755 --- a/helpers/lh_binary_rootfs +++ b/helpers/lh_binary_rootfs @@ -147,7 +147,7 @@ case "${LH_CHROOT_FILESYSTEM}" in case "${LH_CHROOT_BUILD}" in enabled) - Chroot "genext2fs --size-in-blocks=${REAL_DIM} ${RESERVED_PERCENTAGE}=0 --root=chroot filesystem.${LH_CHROOT_FILESYSTEM}" + Chroot chroot "genext2fs --size-in-blocks=${REAL_DIM} ${RESERVED_PERCENTAGE}=0 --root=chroot filesystem.${LH_CHROOT_FILESYSTEM}" # Move image mv chroot/filesystem.${LH_CHROOT_FILESYSTEM} binary/${INITFS} @@ -189,7 +189,7 @@ case "${LH_CHROOT_FILESYSTEM}" in case "${LH_CHROOT_BUILD}" in enabled) - Chroot "mkfs.jffs2 ${JFFS2_OPTIONS} --root=chroot --output filesystem.jffs2" + Chroot chroot "mkfs.jffs2 ${JFFS2_OPTIONS} --root=chroot --output filesystem.jffs2" # Move image mv chroot/filesystem.jffs2 binary/${INITFS} @@ -263,7 +263,7 @@ case "${LH_CHROOT_FILESYSTEM}" in case "${LH_CHROOT_BUILD}" in enabled) # Create image - Chroot "mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" + Chroot chroot "mksquashfs chroot filesystem.squashfs ${MKSQUASHFS_OPTIONS}" # Move image ${LH_ROOT_COMMAND} mv chroot/filesystem.squashfs binary/${INITFS} -- cgit v1.2.3