summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 18:39:12 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 18:39:37 +0200
commit9ee5f4adaa143e9297b6098bb0841ed4650b1540 (patch)
treee1241ba5591d65258714b8e201f9bab16af9db84 /src
parent9a52df7711b67dbc8ad6bcd647031f01b4725f30 (diff)
live: move filesystem expansion out of OS configuration
just a clean up.
Diffstat (limited to 'src')
-rw-r--r--src/live/ogOperations.py2
-rw-r--r--src/utils/postinstall.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 42d415f..9cc5b97 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -497,6 +497,8 @@ class OgLiveOperations:
elif ctype == 'TIPTORRENT':
self._restore_image_tiptorrent(repo, name, partdev)
+ extend_filesystem(disk, partition)
+
configure_os(disk, partition)
self.refresh(ogRest)
diff --git a/src/utils/postinstall.py b/src/utils/postinstall.py
index 75cc609..1420c18 100644
--- a/src/utils/postinstall.py
+++ b/src/utils/postinstall.py
@@ -234,8 +234,6 @@ def configure_os(disk, partition):
os_family = get_os_family(mountpoint)
umount(mountpoint)
- extend_filesystem(disk, partition)
-
if os_family == OSFamily.WINDOWS:
configure_os_windows(disk, partition)
elif os_family == OSFamily.LINUX: