!15 security-tool: move -- before path
Merge pull request !15 from guoxiaoqi/next
This commit is contained in:
commit
3760c6e8f9
@ -175,7 +175,7 @@ function fn_exit()
|
|||||||
if [ $s -eq 0 ]; then
|
if [ $s -eq 0 ]; then
|
||||||
local new_initrd=$WORKD`basename $GZ_F`".secure"
|
local new_initrd=$WORKD`basename $GZ_F`".secure"
|
||||||
pushd $ROOTFS
|
pushd $ROOTFS
|
||||||
tar -cf "$ROOTFS/$TMPTARGET" -- *
|
tar -cf -- "$ROOTFS/$TMPTARGET" *
|
||||||
gzip <"$ROOTFS/$TMPTARGET" > $new_initrd
|
gzip <"$ROOTFS/$TMPTARGET" > $new_initrd
|
||||||
fn_info "hardened initrd is $new_initrd"
|
fn_info "hardened initrd is $new_initrd"
|
||||||
popd
|
popd
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
Summary: openEuler Security Tool
|
Summary: openEuler Security Tool
|
||||||
Name : security-tool
|
Name : security-tool
|
||||||
Version: 2.0
|
Version: 2.0
|
||||||
Release: 1.46
|
Release: 1.47
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: security
|
Source1: security
|
||||||
Source2: security.conf
|
Source2: security.conf
|
||||||
@ -124,6 +124,9 @@ fi
|
|||||||
%attr(0500,root,root) %{_sbindir}/security-tool.sh
|
%attr(0500,root,root) %{_sbindir}/security-tool.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 29 2020 openEuler Buildteam <buildteam@openEuler.org> - 2.0-1.47
|
||||||
|
- Move -- befora path
|
||||||
|
|
||||||
* Fri May 29 2020 openEuler Buildteam <buildteam@openEuler.org> - 2.0-1.46
|
* Fri May 29 2020 openEuler Buildteam <buildteam@openEuler.org> - 2.0-1.46
|
||||||
- Do not set umask to 077 any more
|
- Do not set umask to 077 any more
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user