Stephan Kulow
2012-10-12 15:05:48 +00:00
committed by Git OBS Bridge
parent c29f9e4760
commit d57ee21c84
2 changed files with 12 additions and 2 deletions

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