SHA256
3
0
forked from pool/aaa_base

Accepting request 239476 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/239476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aaa_base?expand=0&rev=408
This commit is contained in:
Stephan Kulow 2014-07-10 06:24:44 +00:00 committed by Git OBS Bridge
parent eca30c3ef9
commit 10c6f53df5
4 changed files with 19 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2bd0fc2d94dbad30f3c8d0c60fe4058327cb4d242c00ccf4fe3a19ffd9a1401f
size 80824

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:722be1d6a46e24817e2d875173cf6529464de6fb99ead381b702741b9e7cce26
size 80852

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jul 2 10:49:37 UTC 2014 - ro@suse.com
- drop re-creation of before.local and add a comment about not
being supported if it had real content (bnc#869177)
- mark /etc/init.d/{boot,halt,after}.local as ghost (bnc#868416)
-------------------------------------------------------------------
Tue Jul 1 06:47:54 UTC 2014 - lnussel@suse.de

View File

@ -17,7 +17,7 @@
Name: aaa_base
Version: 13.2+git20140604.9f4be6e
Version: 13.2+git20140702.7ebaf71
Release: 0
Url: https://github.com/openSUSE/aaa_base
Provides: aaa_skel = %{version}-%{release}
@ -113,12 +113,11 @@ 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
mkdir -p $RPM_BUILD_ROOT/etc/init.d
for i in boot.local after.local halt.local ; do
echo "#!bin/bash" > $RPM_BUILD_ROOT/etc/init.d/$i
chmod 755 $RPM_BUILD_ROOT/etc/init.d/$i
done
#
install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions
@ -161,6 +160,9 @@ 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 /etc/init.d/boot.local
%ghost /etc/init.d/after.local
%ghost /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