SHA256
3
0
forked from pool/aaa_base

- update from git:

* remove all files not necessary for systemd
  * move files to /usr and leave symlinks around
- conflict with sysvinit

OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=403
This commit is contained in:
Stephan Kulow 2012-10-12 14:44:24 +00:00 committed by Git OBS Bridge
parent a1c976a627
commit 867259493b
3 changed files with 22 additions and 34 deletions

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Oct 12 14:41:56 UTC 2012 - coolo@suse.com
- update from git:
* remove all files not necessary for systemd
* move files to /usr and leave symlinks around
- conflict with sysvinit
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Oct 8 08:21:47 UTC 2012 - aj@suse.de Mon Oct 8 08:21:47 UTC 2012 - aj@suse.de

View File

@ -27,6 +27,9 @@ Provides: etc
Provides: skeleng Provides: skeleng
Provides: skelger Provides: skelger
Obsoletes: aaa_skel < %{version} Obsoletes: aaa_skel < %{version}
# do not require systemd - aaa_base is in the build environment and we don't want
# to pull in tons of dependencies
Conflicts: sysvinit-init
Requires: /bin/login Requires: /bin/login
Requires: /bin/mktemp Requires: /bin/mktemp
Requires: /usr/bin/find Requires: /usr/bin/find
@ -35,11 +38,10 @@ Requires: /usr/bin/xargs
Requires: cpio Requires: cpio
Requires: distribution-release Requires: distribution-release
Requires: filesystem Requires: filesystem
Requires: psmisc
# for symlink check to /bin/hostname # for symlink check to /bin/hostname
BuildRequires: net-tools BuildRequires: net-tools
Recommends: cron logrotate netcfg udev net-tools aaa_base-extras Recommends: cron logrotate netcfg udev net-tools aaa_base-extras
PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup /sbin/insserv PreReq: /usr/bin/sed /usr/bin/grep /bin/mv /bin/cat /bin/ls /bin/date /usr/bin/cmp /bin/fillup
Summary: SUSE Linux Base Package Summary: SUSE Linux Base Package
License: GPL-2.0+ License: GPL-2.0+
Group: System/Fhs Group: System/Fhs
@ -108,9 +110,6 @@ done
%post -f aaa_base.post %post -f aaa_base.post
%postun
%insserv_cleanup
%triggerpostun -- aaa_base %triggerpostun -- aaa_base
if test -f /root/.gnupg/secring.gpg.aaa_save -a ! -f /root/.gnupg/secring.gpg ; then if test -f /root/.gnupg/secring.gpg.aaa_save -a ! -f /root/.gnupg/secring.gpg ; then
mv /root/.gnupg/secring.gpg.aaa_save /root/.gnupg/secring.gpg mv /root/.gnupg/secring.gpg.aaa_save /root/.gnupg/secring.gpg
@ -120,7 +119,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING %doc COPYING
%config(noreplace) /etc/inittab
%config /etc/bash.bashrc %config /etc/bash.bashrc
%config /etc/csh.cshrc %config /etc/csh.cshrc
%config /etc/csh.login %config /etc/csh.login
@ -144,11 +142,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%config /etc/rc.status %config /etc/rc.status
%config /etc/shells %config /etc/shells
%config /etc/ttytype %config /etc/ttytype
%config /etc/init.d/boot
%config /etc/init.d/halt
%config /etc/init.d/powerfail
%config /etc/init.d/random
%config /etc/init.d/single
%ghost /var/adm/fillup-templates/passwd.aaa_base %ghost /var/adm/fillup-templates/passwd.aaa_base
%ghost /var/adm/fillup-templates/group.aaa_base %ghost /var/adm/fillup-templates/group.aaa_base
%ghost /var/adm/fillup-templates/gshadow.aaa_base %ghost /var/adm/fillup-templates/gshadow.aaa_base
@ -160,29 +153,24 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/log/wtmp %ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/log/wtmp
%ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/btmp %ghost %attr(0600,root,root) %verify(not md5 size mtime) /var/log/btmp
%ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/run/utmp %ghost %attr(0664,root,utmp) %verify(not md5 size mtime) /var/run/utmp
/etc/cron.daily/suse.de-clean-tmp # needed also with systemd
/etc/hushlogins
/etc/init.d/boot.cleanup
/etc/init.d/boot.clock
/etc/init.d/boot.cgroup
/etc/init.d/boot.klog
/etc/init.d/boot.ldconfig
/etc/init.d/boot.localfs
/etc/init.d/boot.localnet /etc/init.d/boot.localnet
/etc/init.d/boot.rootfsck /etc/init.d/powerfail
/etc/init.d/boot.swap /etc/hushlogins
/etc/init.d/rc
/etc/init.d/reboot
%dir /lib/aaa_base %dir /lib/aaa_base
/lib/aaa_base/convert_sysctl* /lib/aaa_base/convert_sysctl*
%dir /lib/mkinitrd %dir /lib/mkinitrd
%dir /lib/mkinitrd/scripts %dir /lib/mkinitrd/scripts
/lib/mkinitrd/scripts/boot-mtab.sh /lib/mkinitrd/scripts/boot-mtab.sh
/usr/bin/chkconfig
/sbin/chkconfig /sbin/chkconfig
/sbin/get_kernel_version /usr/bin/get_kernel_version
/sbin/refresh_initrd /sbin/refresh_initrd
/usr/sbin/refresh_initrd
/sbin/service /sbin/service
/usr/sbin/service
/sbin/smart_agetty /sbin/smart_agetty
/usr/sbin/smart_agetty
/usr/bin/ChangeSymlinks /usr/bin/ChangeSymlinks
/usr/bin/filesize /usr/bin/filesize
/usr/bin/mkinfodir /usr/bin/mkinfodir
@ -195,9 +183,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
%dir /usr/lib/tmpfiles.d %dir /usr/lib/tmpfiles.d
/usr/lib/tmpfiles.d/loop.conf /usr/lib/tmpfiles.d/loop.conf
/usr/sbin/Check /usr/sbin/Check
/usr/sbin/rcpowerfail
/usr/sbin/rcrandom
/usr/sbin/rcsingle
/usr/sbin/sysconf_addword /usr/sbin/sysconf_addword
/usr/share/man/man1/smart_agetty.1* /usr/share/man/man1/smart_agetty.1*
/usr/share/man/man5/defaultdomain.5* /usr/share/man/man5/defaultdomain.5*
@ -231,11 +216,6 @@ rm -f /root/.gnupg/secring.gpg.aaa_save
/etc/profile.d/alias.tcsh /etc/profile.d/alias.tcsh
/etc/profile.d/ls.tcsh /etc/profile.d/ls.tcsh
/etc/profile.d/ls.bash /etc/profile.d/ls.bash
/etc/init.d/skeleton
/etc/init.d/skeleton.compat
%config /sbin/quick_halt
/sbin/quick_poweroff
/sbin/quick_reboot
/usr/sbin/setDefaultJava /usr/sbin/setDefaultJava
/usr/share/man/man7/init.d.7* /usr/share/man/man7/init.d.7*
/usr/share/man/man5/route.conf.5* /usr/share/man/man5/route.conf.5*