From 490fd2e03933f6aa645c8dd5ecf58e55d50da6ed Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Oct 10 2016 15:29:52 +0000 Subject: Rename docker-selinux to container-selinux package --- diff --git a/container-selinux.tgz b/container-selinux.tgz new file mode 100644 index 0000000..4eb0c7e Binary files /dev/null and b/container-selinux.tgz differ diff --git a/docker-selinux.tgz b/docker-selinux.tgz deleted file mode 100644 index b5f593d..0000000 Binary files a/docker-selinux.tgz and /dev/null differ diff --git a/make-rhat-patches.sh b/make-rhat-patches.sh index ce90a05..845b28c 100755 --- a/make-rhat-patches.sh +++ b/make-rhat-patches.sh @@ -12,7 +12,7 @@ POLICYSOURCES=`mktemp -d policysources.XXXXXX` pushd $POLICYSOURCES > /dev/null git clone git@github.com:fedora-selinux/selinux-policy.git -q -git clone git@github.com:fedora-cloud/docker-selinux.git -q +git clone git@github.com:projectatomic/container-selinux.git -q pushd selinux-policy > /dev/null # prepare policy patches against upstream commits matching the last upstream merge @@ -20,18 +20,18 @@ git rev-parse --verify origin/${FEDORA_VERSION}-base; git diff eb4512f6eb13792c7 git rev-parse --verify origin/${FEDORA_VERSION}-contrib; git diff 64302b790bf2b39d93610e1452c8361d56966ae0 origin/${FEDORA_VERSION}-contrib > policy-${FEDORA_VERSION}-contrib.patch popd > /dev/null -pushd docker-selinux > /dev/null -# Actual docker-selinux files are in master branch +pushd container-selinux > /dev/null +# Actual container-selinux files are in master branch #git checkout -b ${DOCKER_FEDORA_VERSION} -t origin/${DOCKER_FEDORA_VERSION} -q -tar -czf docker-selinux.tgz docker.if docker.te docker.fc +tar -czf container-selinux.tgz container.if container.te container.fc popd > /dev/null pushd $DISTGIT_PATH > /dev/null cp $POLICYSOURCES/selinux-policy/policy-${FEDORA_VERSION}-{base,contrib}.patch . -cp $POLICYSOURCES/docker-selinux/docker-selinux.tgz . +cp $POLICYSOURCES/container-selinux/container-selinux.tgz . popd > /dev/null popd > /dev/null rm -rf $POLICYSOURCES -echo "policy-rawhide-{contrib,base}.patches and docker.tgz with docker policy files have been created." +echo "policy-rawhide-{contrib,base}.patches and container.tgz with container policy files have been created." diff --git a/selinux-policy.spec b/selinux-policy.spec index 2b631ef..b7b54d0 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -55,7 +55,7 @@ Source28: permissivedomains.cil Source29: serefpolicy-contrib-%{version}.tgz Source30: booleans.subs_dist -Source35: docker-selinux.tgz +Source35: container-selinux.tgz # Do a factory reset when there's no policy.kern file in a store # http://bugzilla.redhat.com/1290659 @@ -495,7 +495,7 @@ Obsoletes: mod_fcgid-selinux <= %{version}-%{release} Obsoletes: cachefilesd-selinux <= 0.10-1 Conflicts: seedit Conflicts: 389-ds-base < 1.2.7, 389-admin < 1.1.12 -Conflicts: docker-selinux < 2:1.12.1-11 +Conflicts: container-selinux < 2:1.12.1-11 %description targeted SELinux Reference policy targeted base module. @@ -554,7 +554,7 @@ Requires(pre): coreutils Requires(pre): selinux-policy = %{version}-%{release} Requires: selinux-policy = %{version}-%{release} Conflicts: seedit -Conflicts: docker-selinux <= 1.9.0-9 +Conflicts: container-selinux <= 1.9.0-9 %description minimum SELinux Reference policy minimum base module. @@ -637,7 +637,7 @@ Requires(pre): coreutils Requires(pre): selinux-policy = %{version}-%{release} Requires: selinux-policy = %{version}-%{release} Conflicts: seedit -Conflicts: docker-selinux <= 1.9.0-9 +Conflicts: container-selinux <= 1.9.0-9 %description mls SELinux Reference policy mls base module.