forked from pool/filesystem
This commit is contained in:
parent
c6f45c70cb
commit
bb20bfee0c
@ -42,6 +42,7 @@
|
|||||||
0700 root root /etc/sysconfig/network/providers
|
0700 root root /etc/sysconfig/network/providers
|
||||||
0755 root root /etc/sysconfig/network/scripts
|
0755 root root /etc/sysconfig/network/scripts
|
||||||
0755 root root /etc/sysconfig/scripts
|
0755 root root /etc/sysconfig/scripts
|
||||||
|
0755 root root /etc/tmpdirs.d
|
||||||
0750 news news /etc/news
|
0750 news news /etc/news
|
||||||
0755 root root /etc/opt
|
0755 root root /etc/opt
|
||||||
0750 root dialout /etc/ppp
|
0750 root dialout /etc/ppp
|
||||||
@ -58,8 +59,6 @@
|
|||||||
0755 root root /lib/modules
|
0755 root root /lib/modules
|
||||||
0755 root root /lib/firmware
|
0755 root root /lib/firmware
|
||||||
0755 root root /media
|
0755 root root /media
|
||||||
0755 root root /media/cdrom
|
|
||||||
0755 root root /media/floppy
|
|
||||||
0755 root root /mnt
|
0755 root root /mnt
|
||||||
0755 root root /opt
|
0755 root root /opt
|
||||||
0555 root root /proc
|
0555 root root /proc
|
||||||
@ -75,8 +74,6 @@
|
|||||||
0755 root root /srv/www/htdocs
|
0755 root root /srv/www/htdocs
|
||||||
0755 root root /sys
|
0755 root root /sys
|
||||||
1777 root root /tmp
|
1777 root root /tmp
|
||||||
1777 root root /tmp/.X11-unix
|
|
||||||
1777 root root /tmp/.ICE-unix
|
|
||||||
0755 root root /usr
|
0755 root root /usr
|
||||||
0755 root root /usr/X11R6
|
0755 root root /usr/X11R6
|
||||||
0755 root root /usr/X11R6/bin
|
0755 root root /usr/X11R6/bin
|
||||||
@ -186,7 +183,6 @@
|
|||||||
0755 uucp uucp /var/spool/uucp
|
0755 uucp uucp /var/spool/uucp
|
||||||
0755 root root /var/spool/uucp/uucp
|
0755 root root /var/spool/uucp/uucp
|
||||||
1777 root root /var/tmp
|
1777 root root /var/tmp
|
||||||
1777 root root /var/tmp/vi.recover
|
|
||||||
0755 root root /var/log
|
0755 root root /var/log
|
||||||
0755 root root /var/opt
|
0755 root root /var/opt
|
||||||
0700 root root /var/adm/update-scripts
|
0700 root root /var/adm/update-scripts
|
||||||
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 28 17:04:20 CEST 2010 - ro@suse.de
|
||||||
|
|
||||||
|
- add ghost.list with directories only listed in this package
|
||||||
|
as ghost files, move /tmp/.X11-unix, /tmp/.ICE-unix
|
||||||
|
and /var/tmp/vi.recover to that list
|
||||||
|
- also move /media/cdrom and /media/floppy to that list
|
||||||
|
they were done manually as ghosts in the specfile before
|
||||||
|
- add /etc/tmpdirs.d (see aaa_base)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 27 10:20:52 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
- Set version number to 11.3
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 9 13:58:27 UTC 2010 - lnussel@suse.de
|
Tue Mar 9 13:58:27 UTC 2010 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package filesystem (Version 11.2)
|
# spec file for package filesystem (Version 11.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -23,14 +23,15 @@ License: GPLv2+
|
|||||||
Group: System/Fhs
|
Group: System/Fhs
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: Basic Directory Layout
|
Summary: Basic Directory Layout
|
||||||
Version: 11.2
|
Version: 11.3
|
||||||
Release: 18
|
Release: 1
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Obsoletes: aaa_dir
|
Obsoletes: aaa_dir
|
||||||
Provides: aaa_dir
|
Provides: aaa_dir
|
||||||
Source: directory.list
|
Source: directory.list
|
||||||
Source1: filesystem.links
|
Source1: filesystem.links
|
||||||
Source2: languages
|
Source2: languages
|
||||||
|
Source3: ghost.list
|
||||||
Source64: directory.list64
|
Source64: directory.list64
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -51,26 +52,26 @@ function create_dir () {
|
|||||||
}
|
}
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT
|
mkdir -p $RPM_BUILD_ROOT
|
||||||
|
# generic directories first
|
||||||
echo "%%defattr(-,root,root)" > filesystem.list
|
echo "%%defattr(-,root,root)" > filesystem.list
|
||||||
{
|
{
|
||||||
cat %{SOURCE0}
|
cat %{SOURCE0}
|
||||||
%ifarch s390x %sparc x86_64 ppc64 ppc
|
%ifarch s390x %sparc x86_64 ppc64 ppc
|
||||||
cat %{SOURCE64}
|
cat %{SOURCE64}
|
||||||
%endif
|
%endif
|
||||||
} |
|
} | while read MOD OWN GRP NAME ; do
|
||||||
while read MOD OWN GRP NAME ; do
|
|
||||||
%ifarch s390 s390x
|
|
||||||
case $NAME in
|
|
||||||
/media/floppy|/media/cdrom|/floppy|/cdrom) continue ;;
|
|
||||||
esac
|
|
||||||
%endif
|
|
||||||
case $NAME in
|
|
||||||
/media/floppy|/media/cdrom)
|
|
||||||
create_dir $MOD $OWN $GRP $NAME "%%verify(not mode) %%ghost "
|
|
||||||
continue ;;
|
|
||||||
esac
|
|
||||||
create_dir $MOD $OWN $GRP $NAME
|
create_dir $MOD $OWN $GRP $NAME
|
||||||
done
|
done
|
||||||
|
# ghost files next
|
||||||
|
cat %{SOURCE3} | while read MOD OWN GRP NAME ; do
|
||||||
|
%ifarch s390 s390x
|
||||||
|
case $NAME in
|
||||||
|
/media/floppy|/media/cdrom) continue ;;
|
||||||
|
esac
|
||||||
|
%endif
|
||||||
|
create_dir $MOD $OWN $GRP $NAME "%%verify(not mode) %%ghost "
|
||||||
|
done
|
||||||
|
# arch specific leftovers
|
||||||
for march in \
|
for march in \
|
||||||
%ifarch %ix86
|
%ifarch %ix86
|
||||||
i586-suse-linux \
|
i586-suse-linux \
|
||||||
|
5
ghost.list
Normal file
5
ghost.list
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
0755 root root /media/cdrom
|
||||||
|
0755 root root /media/floppy
|
||||||
|
1777 root root /tmp/.X11-unix
|
||||||
|
1777 root root /tmp/.ICE-unix
|
||||||
|
1777 root root /var/tmp/vi.recover
|
Loading…
Reference in New Issue
Block a user