]> git.proxmox.com Git - mirror_lxc.git/commit
lxc-plamo: keep original uid/gid of files/dirs when installing
authorTAMUKI Shoichi <tamuki@linet.gr.jp>
Thu, 4 Sep 2014 22:29:29 +0000 (07:29 +0900)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 19 Sep 2014 20:58:00 +0000 (16:58 -0400)
commitd0348408b5fa226bf7f8031c6abf2d5d2a28ba33
tree744fde9a401ddddc8ffb9282738fee0d377f5ffe
parent67702c2129c462b5e8124020a496fbf6b7ae5540
lxc-plamo: keep original uid/gid of files/dirs when installing

Regardless of whether "installpkg" command exists or not, install the
command temporarily with static linked tar command into the lxc cache
directory to keep the original uid/gid of files/directories.  Also,
use sed command instead of ed command for simplicity.

Signed-off-by: TAMUKI Shoichi <tamuki@linet.gr.jp>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-plamo.in