SHA256
1
0
forked from pool/aaa_base
Stephan Kulow 2012-10-12 15:05:48 +00:00 committed by Git OBS Bridge
parent 867259493b
commit 7da1864f61
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec15789685956ba17075f5cb677ec42b29c13ac4b4ece605414f5d6b6529c55b
size 105446
oid sha256:182dd9483a8aba1cd414c2bfcf396699192836a4f13acccd66f500232852ca1c
size 106342

View File

@ -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