forked from pool/aaa_base
- Add /var/adm/backup subdirectories to aaa_base-extras, they are
only needed by this package. OBS-URL: https://build.opensuse.org/package/show/Base:System/aaa_base?expand=0&rev=621
This commit is contained in:
parent
28c62b64e9
commit
ecaec4b4d7
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 5 13:31:50 CET 2018 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Add /var/adm/backup subdirectories to aaa_base-extras, they are
|
||||||
|
only needed by this package.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 04 21:39:14 UTC 2018 - kukuk@suse.de
|
Sun Feb 04 21:39:14 UTC 2018 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -102,8 +102,6 @@ systems.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -rfv files/run
|
|
||||||
rm -fv files/var/log/btmp files/var/log/wtmp
|
|
||||||
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
|
make CFLAGS="$RPM_OPT_FLAGS" CC="%{__cc}" %{?_smp_mflags}
|
||||||
if test -d patches/$RPM_ARCH; then
|
if test -d patches/$RPM_ARCH; then
|
||||||
pushd files
|
pushd files
|
||||||
@ -136,6 +134,9 @@ install -d -m 755 %buildroot/usr/lib/initscripts/legacy-actions
|
|||||||
# keep as ghost for migration
|
# keep as ghost for migration
|
||||||
touch %buildroot/etc/inittab
|
touch %buildroot/etc/inittab
|
||||||
|
|
||||||
|
# Backup directories
|
||||||
|
install -d -m 755 %{buildroot}/var/adm/backup/{rpmdb,sysconfig}
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_fillupdir}
|
mkdir -p %{buildroot}%{_fillupdir}
|
||||||
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
|
%if "%{_fillupdir}" != "/var/adm/fillup-templates"
|
||||||
for f in %{buildroot}/var/adm/fillup-templates/* ; do
|
for f in %{buildroot}/var/adm/fillup-templates/* ; do
|
||||||
@ -250,6 +251,8 @@ mkdir -p %{buildroot}%{_fillupdir}
|
|||||||
/usr/lib/base-scripts
|
/usr/lib/base-scripts
|
||||||
/usr/lib/systemd/system/*
|
/usr/lib/systemd/system/*
|
||||||
/usr/share/man/man8/resolv+.8*
|
/usr/share/man/man8/resolv+.8*
|
||||||
|
/var/adm/backup/rpmdb
|
||||||
|
/var/adm/backup/sysconfig
|
||||||
%{_fillupdir}/sysconfig.backup
|
%{_fillupdir}/sysconfig.backup
|
||||||
|
|
||||||
%files malloccheck
|
%files malloccheck
|
||||||
|
Loading…
Reference in New Issue
Block a user