This commit is contained in:
committed by
Git OBS Bridge
parent
c29f9e4760
commit
d57ee21c84
@@ -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
|
||||
|
Reference in New Issue
Block a user