From 76485dbdaddc9698fae96ddaa3a5d5af687601a9 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 30 May 2020 20:17:32 +0100 Subject: Ensure volume label is <= 32 chars for alpha releases. --- config/build.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/build.cfg b/config/build.cfg index 902a31d..68205a3 100644 --- a/config/build.cfg +++ b/config/build.cfg @@ -17,7 +17,9 @@ my @user_config_dirs = ('/etc/skel', '/home/' . $default_user); sub build_label { my ($build) = @_; - my $short_release = $release =~ s/beta/b/r; + my $short_release = $release; + $short_release =~ s/alpha/a/; + $short_release =~ s/beta/b/; join('-', $distro, $short_release, $product, $desktops[0], $arch); } -- cgit v1.2.1