Making lh_chroot_interactive and lh_source_usb-hdd messages translatable.

This commit is contained in:
Tiago Bortoletto Vaz 2008-08-14 15:08:09 -03:00 committed by Daniel Baumann
parent 887bc98bcb
commit 985ad93f4a
2 changed files with 5 additions and 5 deletions

View File

@ -49,15 +49,15 @@ Create_lockfile .lock
case "${LH_INTERACTIVE}" in case "${LH_INTERACTIVE}" in
enabled|shell) enabled|shell)
echo "Pausing build: starting interactive shell..." Echo_message "Pausing build: starting interactive shell..."
Chroot "/bin/bash --login" Chroot "/bin/bash --login"
;; ;;
x11) x11)
echo "Pausing build: starting interactive X11..." Echo_message "Pausing build: starting interactive X11..."
Chroot "startx" Chroot "startx"
;; ;;
xnest) xnest)
echo "Pausing build: starting interactive Xnest..." Echo_message "Pausing build: starting interactive Xnest..."
#Chroot "" # FIXME #Chroot "" # FIXME
;; ;;
esac esac

View File

@ -93,7 +93,7 @@ case "${LH_BINARY_FILESYSTEM}" in
;; ;;
esac esac
echo "!!! The following error/warning messages can be ignored !!!" Echo_warning "!!! The following error/warning messages can be ignored !!!"
Losetup $FREELO source.img 0 Losetup $FREELO source.img 0
Chroot "parted -s ${FREELO} mklabel msdos" || true Chroot "parted -s ${FREELO} mklabel msdos" || true
Chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true Chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
@ -127,7 +127,7 @@ cp -r source/* source.tmp
${LH_ROOT_COMMAND} umount source.tmp ${LH_ROOT_COMMAND} umount source.tmp
rmdir source.tmp rmdir source.tmp
${LH_LOSETUP} -d ${FREELO} ${LH_LOSETUP} -d ${FREELO}
echo "!!! The above error/warning messages can be ignored !!!" Echo_warning "!!! The above error/warning messages can be ignored !!!"
if [ -n "${MAKEDEV}" ] if [ -n "${MAKEDEV}" ]
then then