diskimage-builder/elements
Ben Nemec edd7477891 Save extended attributes when creating tar
The way redhat-common's extract-image script was creating the base
tarball caused file capabilities to get dropped, which meant that
things like ping in RHEL 7 images was unusable for regular users.
This change adds the necessary options to the tar call to maintain
as many extended attributes as possible.

--acls and --selinux are intentionally omitted, and the selinux
xattrs are filtered out because all of those items cause issues
in our chroot environment.  We restore selinux attributes at the
end of the build anyway so that shouldn't be a problem.

bz reference: https://bugzilla.redhat.com/show_bug.cgi?id=1144149

Change-Id: Ibff99ce9bde01bc5ecf95dc3a5d3e2cebe5015b9
2014-10-03 23:05:17 -05:00
..
apt-conf set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
apt-preferences Create an element to allow using a dpkg manifest 2014-05-26 11:23:48 +01:00
apt-sources set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
architecture-emulation-binaries Provide ability to build images for other architectures 2014-09-16 22:50:17 +05:30
baremetal Refactor code to select boot kernel 2014-06-13 11:46:39 +05:30
base Map dkms package for SUSE in base element 2014-09-02 18:17:45 +02:00
cache-url Add unit test for cache-url 2014-09-30 16:39:21 -05:00
centos7 Merge "Change order for yum-repos file in centos7 element" 2014-09-23 11:52:45 +00:00
cleanup-kernel-initrd Fix capitalization of openSUSE 2014-09-02 17:55:28 +02:00
cloud-init-datasources Do not use DatasourceNone for precise cloud-init 2014-06-16 10:58:39 -07:00
cloud-init-nocloud Add new cloud-init-datasources element 2014-05-29 21:54:59 -07:00
debian Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
debian-systemd set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
debian-upstart set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
deploy Revert "Remove the temporary deploy element after rename" 2014-08-20 19:37:13 +00:00
deploy-baremetal Use package-installs in more elements 2014-09-08 15:16:14 -04:00
deploy-ironic Add vmedia boot support for deploy-ironic element 2014-09-11 15:41:46 +05:30
deploy-kexec Use package-installs in more elements 2014-09-08 15:16:14 -04:00
dhcp-all-interfaces Formatting fixes for dhcp-all-interfaces 2014-08-14 16:32:50 -04:00
dib-run-parts/root.d Use dib-run-parts from dib-utils 2014-08-26 16:44:18 -05:00
disable-selinux/post-install.d set -e all the things 2014-04-25 17:38:51 -05:00
dkms 4 spaces indent 2014-05-10 11:17:29 +02:00
dpkg Merge "Cleanup apt cache after grub install" 2014-09-01 10:01:58 +00:00
dracut-network Use package-installs in more elements 2014-09-08 15:16:14 -04:00
element-manifest Add element-manifest 2014-09-02 19:34:25 -04:00
enable-serial-console Explicitly name element enable-serial-console 2014-06-16 09:23:07 -04:00
epel Update EPEL release rpm 2014-10-01 22:26:18 -07:00
fedora Use package-installs in fedora 2014-08-14 21:18:19 -04:00
hwburnin Make sorting of ramdisk init elements explicit. 2013-11-15 17:18:34 +00:00
hwdiscovery Use package-installs in more elements 2014-09-08 15:16:14 -04:00
ilo Add support for flashing ILO BMC's from ramdisks 2014-08-28 17:07:03 +01:00
local-config 4 spaces indent 2014-05-10 11:17:29 +02:00
manifests Run environment.d hook for manifests earlier 2014-09-11 21:09:13 -04:00
mellanox set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
modprobe-blacklist set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
opensuse opensuse: Support pkg removal in install-packages 2014-09-11 11:30:09 +02:00
package-installs package-installs for pre-install.d/post-install.d 2014-08-14 21:18:19 -04:00
pip-cache set -u and -o pipefail everywhere 2014-05-06 15:51:07 -05:00
pkg-map Fix $DISTRO_NAME usage for centos7 element 2014-10-01 21:42:47 -04:00
pypi Remove docs about deprecated pypi-mirror tool 2014-08-28 11:33:52 +10:00
ramdisk Refactor ramdisk element to allow alternate implementations 2014-09-26 00:13:55 -05:00
ramdisk-base Refactor ramdisk element to allow alternate implementations 2014-09-26 00:13:55 -05:00
redhat-common Save extended attributes when creating tar 2014-10-03 23:05:17 -05:00
rhel Centralize handling of /lost+found 2014-08-04 11:48:21 +02:00
rhel7 Adds EPEL repo, cleans up rhel7 repos 2014-09-19 07:57:12 -04:00
rhel-common Make RHSM registration set -u safe 2014-08-21 21:39:38 -05:00
rpm-distro Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
select-boot-kernel-initrd Add select-boot-kernel-initrd element 2014-06-25 21:23:19 +00:00
selinux-permissive add some missing \n at end of file 2014-05-06 13:43:53 +02:00
serial-console Explicitly name element enable-serial-console 2014-06-16 09:23:07 -04:00
source-repositories Use package-installs in more elements 2014-09-08 15:16:14 -04:00
stable-interface-names Use package-installs in more elements 2014-09-08 15:16:14 -04:00
svc-map Fix $DISTRO_NAME usage for centos7 element 2014-10-01 21:42:47 -04:00
uboot Support for UBoot. 2014-07-25 11:14:37 +05:30
ubuntu Centralize handling of /lost+found 2014-08-04 11:48:21 +02:00
vm Allow custom rootfs labels 2014-09-26 17:44:08 -05:00
yum Reset yum configuration in post-install.d 2014-09-11 20:59:50 -04:00
zypper Ensure cache directory exists before use 2014-06-24 16:35:59 -07:00