forked from pool/aaa_base
This commit is contained in:
parent
867259493b
commit
7da1864f61
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec15789685956ba17075f5cb677ec42b29c13ac4b4ece605414f5d6b6529c55b
|
||||
size 105446
|
||||
oid sha256:182dd9483a8aba1cd414c2bfcf396699192836a4f13acccd66f500232852ca1c
|
||||
size 106342
|
||||
|
@ -105,6 +105,12 @@ test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
|
||||
for i in passwd group shadow gshadow ; do
|
||||
touch $RPM_BUILD_ROOT/var/adm/fillup-templates/$i.aaa_base
|
||||
done
|
||||
# we copy some random script there to have a valid ghost - and we can't
|
||||
# just touch as long as there is brp-55-check-boot
|
||||
# we need to fix brp-55 first ;(
|
||||
#for i in boot.local after.local before.local halt.local ; do
|
||||
# cp $RPM_BUILD_ROOT/etc/init.d/boot.localnet $RPM_BUILD_ROOT/etc/init.d/$i
|
||||
#done
|
||||
|
||||
%pre -f aaa_base.pre
|
||||
|
||||
@ -146,6 +152,10 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
|
||||
%ghost /var/adm/fillup-templates/group.aaa_base
|
||||
%ghost /var/adm/fillup-templates/gshadow.aaa_base
|
||||
%ghost /var/adm/fillup-templates/shadow.aaa_base
|
||||
#%ghost %attr(0744,root,root) /etc/init.d/after.local
|
||||
#%ghost %attr(0744,root,root) /etc/init.d/before.local
|
||||
#%ghost %attr(0744,root,root) /etc/init.d/boot.local
|
||||
#%ghost %attr(0744,root,root) /etc/init.d/halt.local
|
||||
# don't forget to also change aaa_base.post, boot.cleanup
|
||||
# and /etc/permissions!
|
||||
%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
|
||||
|
Loading…
Reference in New Issue
Block a user