mirror of
https://github.com/xcat2/confluent.git
synced 2026-12-01 06:42:17 +00:00
f2e18689a8
build, exec, unpack and pack accept an rsync style host:/path scratch directory, so an image of another architecture can be built natively, for example on an aarch64 host, instead of under qemu-user emulation. build and exec copy imgutil to a temporary directory on that host and run the command there over ssh. Paths in -s, -r and -v are paths on that host. A -p or -a package list that exists on this system is copied to the host with the lists it includes. pack copies the tree to a private staging directory under /var/tmp and packs it locally. unpack unpacks to a staging directory and copies the tree to the host, where the target must not exist or be an empty directory. The copies leave out SELinux labels, pack relabels the tree with the policy of the image.