X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=240691ac2b61907ffef85c9000eca029c29dfc17;hb=81345700ec2e03231cc4a6a57b258187152afa34;hp=8cff60616407d26ab4f2843250d4b3cdc3e801d3;hpb=47661c5babc6b313319a6b2896d5413d8bfdb3cc;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 8cff606..240691a 100755 --- a/scripts/live +++ b/scripts/live @@ -154,6 +154,12 @@ Arguments () export LIVE_MEDIA_TIMEOUT ;; + language=*|debian-installer/language=*) + language=${x#debian-installer/language=} + locale="$(lang2locale "$language")" + set_locale="true" + ;; + locale=*|debian-installer/locale=*) LOCALE="${ARGUMENT#*=}" export LOCALE @@ -982,7 +988,7 @@ setup_unionfs () fi mkdir -p "${croot}/${imagename}" - echo "debug: Can not mount backdev ${backdev} (image = ${image}) on croot/imagename ${croot}/${imagename}" + echo "debug: Mounting backdev \"${backdev}\" (image = ${image}) on croot/imagename \"${croot}/${imagename}\"" mount -t "${fstype}" -o ro,noatime "${backdev}" "${croot}/${imagename}" || panic "Can not mount ${backdev} (${image}) on ${croot}/${imagename}" && rofsstring="${croot}/${imagename}=${roopt}:${rofsstring}" && rofslist="${croot}/${imagename} ${rofslist}" fi done