summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--NEWS6
-rw-r--r--lib/MGA/DrakISO/BuildISO.pm5
3 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ed7c213..0a22c7f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
NAME = drakiso
-VERSION = 1.21
+VERSION = 1.22
all:
make -C bootloader
diff --git a/NEWS b/NEWS
index abcb80f..d8c6a80 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,11 @@
+1.22
+
+- add {media}{iso-level} config key to allow loopback file size > 4GB
+
1.21
- changes for Mageia 10
- - add 'xarch' setting to identify second arch for biarch packages
+ - add 'arch2' setting to identify second arch for biarch packages
- update examples for i586->i686 and package changes
- translation updates
diff --git a/lib/MGA/DrakISO/BuildISO.pm b/lib/MGA/DrakISO/BuildISO.pm
index eb89965..5040f29 100644
--- a/lib/MGA/DrakISO/BuildISO.pm
+++ b/lib/MGA/DrakISO/BuildISO.pm
@@ -1,6 +1,6 @@
# Copyright (C) 2005 Mandriva
# Olivier Blin <oblin@mandriva.com>
-# Copyright (C) 2017-2018 Mageia
+# Copyright (C) 2017-2025 Mageia
# Martin Whitaker <mageia@martin-whitaker.me.uk>
#
# This program is free software; you can redistribute it and/or modify
@@ -97,6 +97,8 @@ sub build_iso_image {
my $iso_name = $build->get_name . '.iso';
+ my $iso_level = $build->{media}{iso_level} || '3';
+
my $iso_part_start = $build->{media}{iso_part_start} || 0;
$iso_part_start == 0 || $iso_part_start == 1
or die "ERROR: unsupported start sector for ISO protective partition\n";
@@ -114,6 +116,7 @@ sub build_iso_image {
run_('xorrisofs',
if_($::verbose < 2, '-quiet'),
'-pad', '-l', '-R', '-J',
+ '-iso-level', $iso_level,
'-publisher', $build->{settings}{vendor},
'-preparer', 'drakiso',
'-sysid', 'Linux',