summaryrefslogtreecommitdiffstats
path: root/config/build.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/build.cfg')
-rw-r--r--config/build.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/build.cfg b/config/build.cfg
index 1905882..2e901a4 100644
--- a/config/build.cfg
+++ b/config/build.cfg
@@ -1,5 +1,5 @@
my $distro = $build->{settings}{distro};
-my $version = $build->{settings}{version};
+my $release = $build->{settings}{release};
my $product = $build->{settings}{product};
my $arch = $build->{settings}{arch};
my $default_user = $build->{settings}{default_user};
@@ -15,14 +15,14 @@ my @user_config_dirs = ('/etc/skel', '/home/' . $default_user);
sub build_label {
my ($build) = @_;
- my $short_version = $version =~ s/beta/b/r;
- join('-', $distro, $short_version, $product, $desktops[0], $arch);
+ my $short_release = $release =~ s/beta/b/r;
+ join('-', $distro, $short_release, $product, $desktops[0], $arch);
}
sub build_title {
my ($build) = @_;
- join(' ', $distro, $version, $product, $desktops[0]);
+ join(' ', $distro, $release, $product, $desktops[0]);
}
my $default_append = 'root=mgalive:LABEL=' . build_label($build) . ' splash quiet noiswmd audit=0 rd.luks=0 rd.lvm=0 rd.md=0 rd.dm=0';