summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2009-01-14 22:38:34 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:39 +0100
commit2a3056e8a9dc26ef9f767319a60a9c38ace0377b (patch)
tree9de67d2e7e85730e928ecf9d06ef9170be6a9c5c
parentb9f5121f535c0de65fab935a29bd3d6ad9dbc634 (diff)
downloadlive-build-2a3056e8a9dc26ef9f767319a60a9c38ace0377b.zip
live-build-2a3056e8a9dc26ef9f767319a60a9c38ace0377b.tar.gz
Don't break messages into parts; this make it impossible for translators
-rwxr-xr-xfunctions/defaults.sh37
-rwxr-xr-xhelpers/lh_binary_debian-installer4
2 files changed, 8 insertions, 33 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 9f6d1ab..390d9e5 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -593,10 +593,7 @@ Set_defaults ()
if Find_files config/binary_debian-installer/*.cfg && [ ! -e config/binary_debian-installer/preseed.cfg ]
then
- Echo_warning "You have placed some preseeding files into config/binary_debian-installer"
- Echo_warning "but you didn't specify the default preseeding file through"
- Echo_warning "LH_DEBIAN_INSTALLER_PRESEEDFILE. This means that debian-installer will not"
- Echo_warning "take up a preseeding file by default."
+ Echo_warning "You have placed some preseeding files into config/binary_debian-installer but you didn't specify the default preseeding file through LH_DEBIAN_INSTALLER_PRESEEDFILE. This means that debian-installer will not take up a preseeding file by default."
fi
fi
@@ -763,25 +760,13 @@ Check_defaults ()
# etch + live-initramfs
if [ "${LH_INITRAMFS}" = "live-initramfs" ]
then
- Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_INITRAMFS='live-initramfs'"
- Echo_warning "This is a possible unsafe configuration as live-initramfs is not"
- Echo_warning "part of the etch distribution."
- Echo_warning "Either make sure that live-initramfs is installable (e.g. through setting up"
- Echo_warning "etch-backports repository as third-party source or putting a valid live-initramfs"
- Echo_warning "deb into config/chroot_local-packages) or switch change your config to etch"
- Echo_warning "default (casper)."
+ Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_INITRAMFS='live-initramfs' This is a possible unsafe configuration as live-initramfs is not part of the etch distribution. Either make sure that live-initramfs is installable (e.g. through setting up etch-backports repository as third-party source or putting a valid live-initramfs deb into config/chroot_local-packages) or switch change your config to etch default (casper)."
fi
# etch + aufs
if [ "${LH_UNION_FILESYSTEM}" = "aufs" ]
then
- Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_UNION_FILESYSTEM='aufs'"
- Echo_warning "This is a possible unsafe configuration as aufs is not"
- Echo_warning "part of the etch distribution."
- Echo_warning "Either make sure that aufs modules for your kernel are installable (e.g. through"
- Echo_warning "setting up etch-backports repository as third-party source or putting a valid"
- Echo_warning "aufs-modules deb into config/chroot_local-packages) or switch change your config"
- Echo_warning "to etch default (unionfs)."
+ Echo_warning "You selected LH_DISTRIBUTION='etch' and LH_UNION_FILESYSTEM='aufs' This is a possible unsafe configuration as aufs is not part of the etch distribution. Either make sure that aufs modules for your kernel are installable (e.g. through setting up etch-backports repository as third-party source or putting a valid aufs-modules deb into config/chroot_local-packages) or switch change your config to etch default (unionfs)."
fi
fi
@@ -791,9 +776,7 @@ Check_defaults ()
# aptitude + stripped|minimal
if [ "${LH_APT}" = "aptitude" ]
then
- Echo_warning "You selected LH_PACKAGES_LISTS='%s' and LH_APT='aptitude'" "${LH_PACKAGES_LIST}"
- Echo_warning "This is a possible unsafe configuration as aptitude is not"
- Echo_warning "used in the stripped/minimal package lists."
+ Echo_warning "You selected LH_PACKAGES_LISTS='%s' and LH_APT='aptitude'" "${LH_PACKAGES_LIST}. This is a possible unsafe configuration as aptitude is not used in the stripped/minimal package lists."
fi
fi
@@ -802,10 +785,7 @@ Check_defaults ()
# d-i enabled, no caching
if ! echo ${LH_CACHE_STAGES} | grep -qs "bootstrap\b" || [ "${LH_CACHE}" != "enabled" ] || [ "${LH_CACHE_PACKAGES}" != "enabled" ]
then
- Echo_warning "You have selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
- Echo_warning "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
- Echo_warning "cached. This is a possible unsafe configuration as the bootstrap packages"
- Echo_warning "are re-used when integrating the Debian Installer."
+ Echo_warning "You have selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES an dLH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being cached. This is a possible unsafe configuration as the bootstrap packages are re-used when integrating the Debian Installer."
fi
fi
@@ -816,8 +796,7 @@ Check_defaults ()
fat*)
;;
*)
- Echo_warning "You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM"
- Echo_warning "which are incompatible - syslinux only supports FAT filesystems."
+ Echo_warning "You have selected values of LH_BOOTLOADER and LH_BINARY_FILESYSTEM which are incompatible - syslinux only supports FAT filesystems."
;;
esac
fi
@@ -827,9 +806,7 @@ Check_defaults ()
# grub or yaboot + usb-hdd
case "${LH_BOOTLOADER}" in
grub|yaboot)
- Echo_warning "You have selected a combination of bootloader and image type that is currently"
- Echo_warning "not supported by live-helper. Please use either another bootloader or a"
- Echo_warning "different image type."
+ Echo_warning "You have selected a combination of bootloader and image type that is currently not supported by live-helper. Please use either another bootloader or a different image type."
exit 1
;;
esac
diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer
index 7de1223..ebc77ca 100755
--- a/helpers/lh_binary_debian-installer
+++ b/helpers/lh_binary_debian-installer
@@ -470,9 +470,7 @@ then
done
else
Echo_error "Could not find cache/packages_bootstrap."
- Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and"
- Echo_error "LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being"
- Echo_error "cached - these are required when integrating the Debian Installer."
+ Echo_error "You selected values of LH_CACHE, LH_CACHE_PACKAGES, LH_CACHE_STAGES and LH_DEBIAN_INSTALLER which will result in 'bootstrap' packages not being cached - these are required when integrating the Debian Installer."
exit 1
fi
fi