SHA256
1
0
forked from pool/aaa_base

Accepting request 850195 from home:lnussel:usrmove

- clean up rpmlintrc. Add filter for deprecated init scripts. We'll have to
  keep them around for a while until systemd takes over ownership.
- Update to version 84.87+git20201123.4f16b16:
  * mark /etc/init.d/{boot,after}.local as %config(noreplace) (boo#1179097)
  * Avoid semicolon within (t)csh login script on S/390

OBS-URL: https://build.opensuse.org/request/show/850195
OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=715
This commit is contained in:
Thorsten Kukuk 2020-11-27 11:39:15 +00:00 committed by Git OBS Bridge
parent 496784457d
commit 0ee6d77190
6 changed files with 23 additions and 70 deletions

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/aaa_base.git</param>
<param name="changesrevision">91f496b1f65af29832192bad949685a7bc25da0a</param>
<param name="changesrevision">4f16b1614fac8432188271c8363b1e6217944b4c</param>
</service>
</servicedata>

View File

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

View File

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

View File

@ -1,66 +1,9 @@
# it's just a README....
addFilter("non-remote_fs-dependency.*/etc/init.d/README")
addFilter("init-script-non-executable.*/etc/init.d/README")
addFilter("no-status-entry.*/etc/init.d/README")
addFilter("non-executable-script.*/sbin/init.d.README")
addFilter("non-executable-in-bin.*/sbin/init.d.README")
addFilter("script-without-shebang.*/sbin/init.d.README")
# contains just functions - executable bit is not needed
addFilter("non-executable-script.*/lib/YaST/SuSEconfig.functions")
# random don't need $remote-fs
addFilter("non-remote_fs-dependency.*/etc/init.d/random")
# if this script is triggered, remote-fs is not important
addFilter("non-remote_fs-dependency.*/etc/init.d/powerfail")
# single user mode is without remote connection
addFilter("non-remote_fs-dependency.*/etc/init.d/single")
# no comment
addFilter("non-remote_fs-dependency.*/etc/init.d/halt")
# this script is only for runlevel changes
addFilter("non-remote_fs-dependency.*/etc/init.d/rc")
# perhaps should be configurable later...
addFilter("non-etc-or-var-file-marked-as-conffile.*/sbin/quick_halt")
# confirmed - but standard
addFilter("non-root-group-log-file /var/log/wtmp utmp")
# the following init script don't need to be reloaded -
# even after an update
addFilter("no-reload-entry.*/etc/init.d/README")
addFilter("no-reload-entry.*/etc/init.d/boot.swap")
addFilter("no-reload-entry.*/etc/init.d/boot.proc")
addFilter("no-reload-entry.*/etc/init.d/random")
addFilter("no-reload-entry.*/etc/init.d/boot.ipconfig")
addFilter("no-reload-entry.*/etc/init.d/boot.rootfsck")
addFilter("no-reload-entry.*/etc/init.d/powerfail")
addFilter("no-reload-entry.*/etc/init.d/single")
addFilter("no-reload-entry.*/etc/init.d/boot.cleanup")
addFilter("no-reload-entry.*/etc/init.d/halt")
addFilter("no-reload-entry.*/etc/init.d/boot.ldconfig")
addFilter("no-reload-entry.*/etc/init.d/boot")
addFilter("no-reload-entry.*/etc/init.d/boot.klog")
addFilter("no-reload-entry.*/etc/init.d/rc")
addFilter("no-reload-entry.*/etc/init.d/boot.clock")
addFilter("no-reload-entry.*/etc/init.d/boot.localnet")
addFilter("no-reload-entry.*/etc/init.d/boot.localfs")
# the following init scripts don't need to be stopped -
# even after an update
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/skeleton.compat")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/README")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.swap")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.proc")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/random")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.ipconfig")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.rootfsck")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/powerfail")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/single")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.cleanup")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/skeleton")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/halt")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.ldconfig")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.klog")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/rc")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.clock")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.localnet")
addFilter("init-script-without-%stop_on_removal-preun.*/etc/init.d/boot.localfs")
# aaa_base requires net-tools
addFilter("dangling-symlink.*/usr/lib/restricted/bin/hostname.*/bin/hostname")
# for /etc/init.d/*.local. To be removed at some point
addFilter(".*suse-deprecated-init-script.*")
addFilter(".*suse-deprecated-boot-script.*")

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Nov 23 09:41:55 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- clean up rpmlintrc. Add filter for deprecated init scripts. We'll have to
keep them around for a while until systemd takes over ownership.
- Update to version 84.87+git20201123.4f16b16:
* mark /etc/init.d/{boot,after}.local as %config(noreplace) (boo#1179097)
* Avoid semicolon within (t)csh login script on S/390
-------------------------------------------------------------------
Thu Oct 29 09:39:56 UTC 2020 - Ludwig Nussel <lnussel@suse.de>

View File

@ -23,7 +23,7 @@
%endif
Name: aaa_base
Version: 84.87+git20200918.331aa2f
Version: 84.87+git20201123.4f16b16
Release: 0
URL: https://github.com/openSUSE/aaa_base
# do not require systemd - aaa_base is in the build environment and we don't
@ -125,9 +125,10 @@ esac
#
# make sure it does not creep in again
test -d $RPM_BUILD_ROOT/root/.gnupg && exit 1
# TODO: get rid of that at some point in the future
mkdir -p $RPM_BUILD_ROOT/etc/init.d
for i in boot.local after.local ; do
touch $RPM_BUILD_ROOT/etc/init.d/$i
install -m 755 /dev/null $RPM_BUILD_ROOT/etc/init.d/$i
done
#
install -d -m 755 %buildroot%{_libexecdir}/initscripts/legacy-actions
@ -200,9 +201,9 @@ mkdir -p %{buildroot}%{_fillupdir}
/etc/profile.d/ls.zsh
%config /etc/shells
%config /etc/ttytype
%dir /etc/init.d/
%ghost /etc/init.d/boot.local
%ghost /etc/init.d/after.local
%ghost %dir /etc/init.d
%ghost %config(noreplace) /etc/init.d/boot.local
%ghost %config(noreplace) /etc/init.d/after.local
%ghost %config /etc/inittab
# don't forget to also change aaa_base.post, boot.cleanup
# and /etc/permissions!