aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSergio <sergiotarxz@posteo.net>2026-09-28 12:03:40 +0200
committerSergio <sergiotarxz@posteo.net>2026-09-28 12:03:40 +0200
commit30e7f16c3c31d3352f0a8b1382abebc5788f6272 (patch)
tree6bff5a6f5850b88efc9a6d722f6737988bb4d22b /lib
parent9101ab632abcea52c99519f789a5fe4e5058427d (diff)
Updating installer to not require hardcoded stage pathHEADv1.0.0-rc5main
Diffstat (limited to 'lib')
-rw-r--r--lib/AlgaOS/Installer/GUI.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AlgaOS/Installer/GUI.pm b/lib/AlgaOS/Installer/GUI.pm
index 75524a2..d633e0a 100644
--- a/lib/AlgaOS/Installer/GUI.pm
+++ b/lib/AlgaOS/Installer/GUI.pm
@@ -227,8 +227,9 @@ sub _overwrite_install_generic( $self, %args ) {
system qw{sudo mount},
$self->_current_recovery_partition, '/recovery';
+ my ($stage_file) = glob '/stage3-algaos-*.tar.xz';
excfailexit
-'sudo tar -C /mnt/gentoo -xvpf /stage3-algaos-latest.tar.xz --numeric-owner --xattrs-include="*.*"';
+"sudo tar -C /mnt/gentoo -xvpf $stage_file --numeric-owner --xattrs-include='*.*'";
excfailexit qw{sudo cp -Lv}, '/etc/resolv.conf',
'/mnt/gentoo/etc/';
excfailexit