Backport VOLID shortening from master

This commit is contained in:
Steve McIntyre 2015-07-23 18:52:32 +01:00
parent 4bc7234624
commit 32d1152bf7
2 changed files with 4 additions and 0 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ debian-cd (3.1.17-jessie) UNRELEASED; urgency=medium
files
+ Add support for debian-edu builds
+ tools/sort_deps: Improved handling of too-large packages
+ tools/start_new_disc: shorten VOLID when possible
-- Steve McIntyre <93sam@debian.org> Mon, 20 Apr 2015 12:36:57 +0100

View File

@ -36,6 +36,9 @@ if [ "$VOLID_BASE"x = ""x ] ; then
VOLID_BASE="Debian $DEBVERSION"
fi
# Shorten the VOLID if we can - maximum length is 32 characters...
VOLID_BASE=$(echo $VOLID_BASE | sed 's/alpha/a/gi;s/beta/b/gi;')
if [ "$DISKINFO_DISTRO"x = ""x ] ; then
DISKINFO_DISTRO="Debian"
fi