Changes between Version 31 and Version 32 of provisioning


Ignore:
Timestamp:
02/06/2025 07:02:16 PM (2 weeks ago)
Author:
Tim Harvey
Comment:

switch example to use gzip compression as xz can be very slow on ARM targets

Legend:

Unmodified
Added
Removed
Modified
  • provisioning

    v31 v32  
    4949# create a tarball of the partition
    5050mount /dev/mmcblk2p1 /mnt
    51 tar --numeric-owner -cJf /tmp/mmcblk2p1.tar.xz -C /mnt .
    52 }}}
     51tar --numeric-owner -czf /tmp/mmcblk2p1.tar.gz -C /mnt .
     52}}}
     53 - Note you can use other forms of compression here other than 'z' for gzip but the trade-off of compression time vs size may not be worth the wait
    5354
    5455You will either need to store this on a mounted removable storage device partition or store to ramdisk (as above) and transfer them via network. If the compressed data exceeds the size of the ramdisk you will need to go straight to removable storage.
     
    6970mount /dev/mmcblk2p1 /mnt
    7071# extract the tarball to it
    71 tar -C /mnt -xf /tmp/mmcblk2p1.tar.xz --keep-directory-symlink
     72tar -C /mnt -xf /tmp/mmcblk2p1.tar.gz --keep-directory-symlink
    7273# unmount it
    7374umount /dev/mmcblk2p1