File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,12 +136,12 @@ cd -
136136ln ${UU_BUILD_DIR} /install ${UU_BUILD_DIR} /ginstall
137137" ${MAKE} " SKIP_UTILS=install MULTICALL=y PROFILE=" ${UU_MAKE_PROFILE} " CARGOFLAGS=" ${CARGO_FEATURE_FLAGS} "
138138
139- [ ${SELINUX_ENABLED} = 1 ] && chcon -t bin_t " ${UU_BUILD_DIR} /coreutils"
139+ [ ${SELINUX_ENABLED} = 1 ] && chcon -t unconfined_t " ${UU_BUILD_DIR} /coreutils"
140140for binary in $( ${UU_BUILD_DIR} /coreutils --list) ; do
141- (cd ${UU_BUILD_DIR} && cp -v --remove-destination coreutils " $binary " )
142- [ ${SELINUX_ENABLED} = 1 ] && chcon -t bin_t " ${UU_BUILD_DIR} /${binary} "
141+ (cd ${UU_BUILD_DIR} && ln -vf coreutils " $binary " )
143142done
144- [ ${SELINUX_ENABLED} = 1 ] && echo " stat with selinux support" && touch g && ${UU_BUILD_DIR} /stat -c%C g && rm g
143+ # min test for SELinux
144+ [ ${SELINUX_ENABLED} = 1 ] && " ${UU_MAKE_PROFILE} " /touch g && " ${UU_MAKE_PROFILE} " /stat -c%C g && " ${UU_MAKE_PROFILE} " /rm g
145145
146146# #
147147
You can’t perform that action at this time.
0 commit comments