File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,14 @@ cd -
135135" ${MAKE} " UTILS=install PROFILE=" ${UU_MAKE_PROFILE} " CARGOFLAGS=" ${CARGO_FEATURE_FLAGS} "
136136cp ${UU_BUILD_DIR} /install ${UU_BUILD_DIR} /ginstall
137137" ${MAKE} " SKIP_UTILS=install MULTICALL=y PROFILE=" ${UU_MAKE_PROFILE} " CARGOFLAGS=" ${CARGO_FEATURE_FLAGS} "
138- # copy binaries
138+
139+ chcon -t bin_t " ${UU_BUILD_DIR} /coreutils" || :
139140for binary in $( ${UU_BUILD_DIR} /coreutils --list) ; do
140- (cd ${UU_BUILD_DIR} && cp -v --remove-destination coreutils " $binary " )
141+ (cd ${UU_BUILD_DIR} && ln -vf coreutils " $binary " )
141142done
142143touch g
143144echo " stat with selinux support"
144- ${UU_BUILD_DIR} /stat -c%C g || true
145+ ${UU_BUILD_DIR} /stat -c%C g || :
145146rm g
146147
147148# #
You can’t perform that action at this time.
0 commit comments