2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2026-10-20 06:35:32 +00:00

fix(genesis): normalize package build modes

This commit is contained in:
Vinícius Ferrão
2026-08-22 01:20:07 -03:00
parent c42e6b92ee
commit d4e0d6c390
+1
View File
@@ -60,6 +60,7 @@ die "Invalid xcat-core revision: $revision\n" unless $revision =~ /^[0-9a-f]{40}
die "Invalid source date epoch\n" unless $source_date_epoch =~ /^\d+$/;
die "Unsupported package format: $format\n"
unless $format eq 'all' || $format eq 'rpm' || $format eq 'deb';
umask(0022);
$export_dir = abs_path($export_dir) or die "Cannot resolve export directory\n";
validate_export($export_dir, $architecture);