diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-12 17:11:48 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2023-12-12 17:51:50 +0100 |
commit | 6c49815d73269fb83fb7d5a7b641da2c5a54ceb3 (patch) | |
tree | 1c8718c9b9ce6545e860a39ece316b69d692b873 /src/utils/legacy.py | |
parent | b97c4d157adfcbdaa0f7ede40bd68e54c0aaaef3 (diff) |
live: report permissions and last update when creating imagev1.3.2-3
add .permissions and .lastupdate to json to report to ogserver.
Diffstat (limited to 'src/utils/legacy.py')
-rw-r--r-- | src/utils/legacy.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/legacy.py b/src/utils/legacy.py index 6e907b4..def5459 100644 --- a/src/utils/legacy.py +++ b/src/utils/legacy.py @@ -26,6 +26,8 @@ class ImageInfo: self.filesystem = filesystem self.datasize = datasize self.size = 0 + self.mtime = 0 + self.perms = 0 self.clonator = 'PARTCLONE' self.compressor = 'LZOP' |