mirror of https://git.48k.eu/ogclient
Track partitions and images associated to a restore operation through a cache.json file located in the cache partition. cache.json example contents: { 'images': [ { 'name': 'xxx.img', 'disk': 1, 'partition': 2 }, { 'name': 'xxx.img', 'disk': 1, 'partition': 3 } ] } Add class CacheDataFile to handle the cache.json file. Add an entry to the 'images' array each time a restore operation is executed successfuly, replace entries with the same disk/partition. Remove entry to the 'images' array with image delete operations. Add image info to kiosk configuration. This enables image restore operations. This information is not retroactive, only newly restored images will enable the restore button in Kiosk. |
||
---|---|---|
.. | ||
bcd.py | ||
bios.py | ||
boot.py | ||
cache.py | ||
disk.py | ||
fs.py | ||
fstab.py | ||
grub.py | ||
hw_inventory.py | ||
image.py | ||
menu.py | ||
net.py | ||
postinstall.py | ||
probe.py | ||
sw_inventory.py | ||
tiptorrent.py | ||
uefi.py | ||
winreg.py |