|
|
|
@ -1,14 +1,12 @@
|
|
|
|
|
Summary: Default file system
|
|
|
|
|
Name: filesystem
|
|
|
|
|
Version: 1.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
License: GPLv3
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Vendor: VMware, Inc.
|
|
|
|
|
URL: http://www.linuxfromscratch.org
|
|
|
|
|
Source0: filesystem-1.1.tar.gz
|
|
|
|
|
%define sha1 filesystem=049c5d858f2cab6298ebdb83571cedd47741433a
|
|
|
|
|
Distribution: Photon
|
|
|
|
|
Summary: Default file system
|
|
|
|
|
Name: filesystem
|
|
|
|
|
Version: 1.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
License: GPLv3
|
|
|
|
|
Group: System Environment/Base
|
|
|
|
|
Vendor: VMware, Inc.
|
|
|
|
|
URL: http://www.linuxfromscratch.org
|
|
|
|
|
Distribution: Photon
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The filesystem package is one of the basic packages that is installed
|
|
|
|
@ -17,64 +15,59 @@ layout for a Linux operating system, including the correct permissions
|
|
|
|
|
for the directories. This version is for a system configured with systemd.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
#
|
|
|
|
|
# 6.5. Creating Directories
|
|
|
|
|
#
|
|
|
|
|
install -vdm 755 %{buildroot}/{dev,proc,run/{media/{floppy,cdrom},lock},sys}
|
|
|
|
|
install -vdm 755 %{buildroot}/{boot,etc/{opt,sysconfig},home,mnt}
|
|
|
|
|
install -vdm 755 %{buildroot}/{var}
|
|
|
|
|
install -dv -m 0750 %{buildroot}/root
|
|
|
|
|
install -dv -m 1777 %{buildroot}/tmp %{buildroot}/var/tmp
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/{,local/}{bin,include,lib,sbin,src}
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/{,local/}share/{color,dict,doc,info,locale,man}
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/{,local/}share/{misc,terminfo,zoneinfo}
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/libexec
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/{,local/}share/man/man{1..8}
|
|
|
|
|
install -vdm 755 %{buildroot}/etc/profile.d
|
|
|
|
|
install -vdm 755 %{buildroot}/usr/lib/debug/{lib,bin,sbin,usr}
|
|
|
|
|
install -dv -m 1777 %{buildroot}/tmp %{buildroot}%{_var}/tmp
|
|
|
|
|
install -vdm 755 %{buildroot}%{_usr}/{,local/}{bin,include,lib,sbin,src}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_usr}/{,local/}share/{color,dict,doc,info,locale,man}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_usr}/{,local/}share/{misc,terminfo,zoneinfo}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_libexecdir}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_usr}/{,local/}share/man/man{1..8}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_sysconfdir}/profile.d
|
|
|
|
|
install -vdm 755 %{buildroot}%{_libdir}/debug/{lib,bin,sbin,usr}
|
|
|
|
|
|
|
|
|
|
ln -svfn usr/lib %{buildroot}/lib
|
|
|
|
|
ln -svfn usr/bin %{buildroot}/bin
|
|
|
|
|
ln -svfn usr/sbin %{buildroot}/sbin
|
|
|
|
|
ln -svfn run/media %{buildroot}/media
|
|
|
|
|
|
|
|
|
|
ln -svfn ../bin %{buildroot}/usr/lib/debug/usr/bin
|
|
|
|
|
ln -svfn ../sbin %{buildroot}/usr/lib/debug/usr/sbin
|
|
|
|
|
ln -svfn ../lib %{buildroot}/usr/lib/debug/usr/lib
|
|
|
|
|
ln -svfn ../bin %{buildroot}%{_libdir}/debug%{_bindir}
|
|
|
|
|
ln -svfn ../sbin %{buildroot}%{_libdir}/debug%{_sbindir}
|
|
|
|
|
ln -svfn ../lib %{buildroot}%{_libdir}/debug%{_libdir}
|
|
|
|
|
|
|
|
|
|
ln -svfn usr/lib %{buildroot}/lib64
|
|
|
|
|
ln -svfn lib %{buildroot}/usr/lib64
|
|
|
|
|
ln -svfn lib %{buildroot}/usr/local/lib64
|
|
|
|
|
ln -svfn lib %{buildroot}/usr/lib/debug/lib64
|
|
|
|
|
ln -svfn ../lib %{buildroot}/usr/lib/debug/usr/lib64
|
|
|
|
|
ln -svfn usr/lib %{buildroot}/lib64
|
|
|
|
|
ln -svfn lib %{buildroot}%{_lib64dir}
|
|
|
|
|
ln -svfn lib %{buildroot}%{_usr}/local/lib64
|
|
|
|
|
ln -svfn lib %{buildroot}%{_libdir}/debug/lib64
|
|
|
|
|
ln -svfn ../lib %{buildroot}%{_libdir}/debug%{_lib64dir}
|
|
|
|
|
|
|
|
|
|
install -vdm 755 %{buildroot}/var/{log,mail,spool,mnt,srv}
|
|
|
|
|
install -vdm 755 %{buildroot}%{_var}/{log,mail,spool,mnt,srv}
|
|
|
|
|
|
|
|
|
|
ln -svfn var/srv %{buildroot}/srv
|
|
|
|
|
ln -svfn ../run %{buildroot}/var/run
|
|
|
|
|
ln -svfn ../run/lock %{buildroot}/var/lock
|
|
|
|
|
install -vdm 755 %{buildroot}/var/{opt,cache,lib/{color,misc,locate},local}
|
|
|
|
|
ln -svfn ../run %{buildroot}%{_var}/run
|
|
|
|
|
ln -svfn ../run/lock %{buildroot}%{_var}/lock
|
|
|
|
|
install -vdm 755 %{buildroot}%{_var}/{opt,cache,lib/{color,misc,locate},local}
|
|
|
|
|
install -vdm 755 %{buildroot}/mnt/cdrom
|
|
|
|
|
install -vdm 755 %{buildroot}/mnt/hgfs
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# 6.6. Creating Essential Files and Symlinks
|
|
|
|
|
#
|
|
|
|
|
ln -svfn /proc/self/mounts %{buildroot}/etc/mtab
|
|
|
|
|
#touch -f %{buildroot}/etc/mtab
|
|
|
|
|
# 6.6. Creating Essential Files and Symlinks
|
|
|
|
|
ln -svfn /proc/self/mounts %{buildroot}%{_sysconfdir}/mtab
|
|
|
|
|
#touch -f %{buildroot}%{_sysconfdir}/mtab
|
|
|
|
|
|
|
|
|
|
touch %{buildroot}/var/log/{btmp,lastlog,wtmp}
|
|
|
|
|
#
|
|
|
|
|
# Configuration files
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/passwd <<- "EOF"
|
|
|
|
|
touch %{buildroot}%{_var}/log/{btmp,lastlog,wtmp}
|
|
|
|
|
|
|
|
|
|
# Configuration files
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/passwd <<- "EOF"
|
|
|
|
|
root:x:0:0:root:/root:/bin/bash
|
|
|
|
|
bin:x:1:1:bin:/dev/null:/bin/false
|
|
|
|
|
daemon:x:6:6:Daemon User:/dev/null:/bin/false
|
|
|
|
|
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
|
|
|
|
|
messagebus:x:18:18:D-Bus Message Daemon User:%{_var}/run/dbus:/bin/false
|
|
|
|
|
systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false
|
|
|
|
|
systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false
|
|
|
|
|
systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false
|
|
|
|
@ -84,7 +77,8 @@ systemd-resolve:x:77:77:systemd Resolver:/:/bin/false
|
|
|
|
|
systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false
|
|
|
|
|
nobody:x:65534:65533:Unprivileged User:/dev/null:/bin/false
|
|
|
|
|
EOF
|
|
|
|
|
cat > %{buildroot}/etc/group <<- "EOF"
|
|
|
|
|
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/group <<- "EOF"
|
|
|
|
|
root:x:0:
|
|
|
|
|
bin:x:1:daemon
|
|
|
|
|
sys:x:2:
|
|
|
|
@ -120,10 +114,9 @@ users:x:100:
|
|
|
|
|
sudo:x:27:
|
|
|
|
|
wheel:x:28:
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# Creating Proxy Configuration"
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/sysconfig/proxy <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# Creating Proxy Configuration"
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/sysconfig/proxy <<- "EOF"
|
|
|
|
|
# Enable a generation of the proxy settings to the profile.
|
|
|
|
|
# This setting allows to turn the proxy on and off while
|
|
|
|
|
# preserving the particular proxy setup.
|
|
|
|
@ -153,10 +146,9 @@ SOCKS5_SERVER=""
|
|
|
|
|
# Example: NO_PROXY="www.me.de, do.main, localhost"
|
|
|
|
|
NO_PROXY="localhost, 127.0.0.1"
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 7.3. Customizing the /etc/hosts File"
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/hosts <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# 7.3. Customizing the /etc/hosts File"
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/hosts <<- "EOF"
|
|
|
|
|
# Begin /etc/hosts (network card version)
|
|
|
|
|
|
|
|
|
|
::1 ipv6-localhost ipv6-loopback
|
|
|
|
@ -165,10 +157,9 @@ cat > %{buildroot}/etc/hosts <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# End /etc/hosts (network card version)
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 7.9. Configuring the setclock Script"
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/sysconfig/clock <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# 7.9. Configuring the setclock Script"
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/sysconfig/clock <<- "EOF"
|
|
|
|
|
# Begin /etc/sysconfig/clock
|
|
|
|
|
|
|
|
|
|
UTC=1
|
|
|
|
@ -179,10 +170,9 @@ CLOCKPARAMS=
|
|
|
|
|
|
|
|
|
|
# End /etc/sysconfig/clock
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 7.10. Configuring the Linux Console"
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/sysconfig/console <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# 7.10. Configuring the Linux Console"
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/sysconfig/console <<- "EOF"
|
|
|
|
|
# Begin /etc/sysconfig/console
|
|
|
|
|
# Begin /etc/sysconfig/console
|
|
|
|
|
# KEYMAP="us"
|
|
|
|
@ -193,10 +183,9 @@ cat > %{buildroot}/etc/sysconfig/console <<- "EOF"
|
|
|
|
|
# LEGACY_CHARSET="iso-8859-1"
|
|
|
|
|
# End /etc/sysconfig/console
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 7.13. The Bash Shell Startup Files
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/profile <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# 7.13. The Bash Shell Startup Files
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/profile <<- "EOF"
|
|
|
|
|
# Begin /etc/profile
|
|
|
|
|
# Written for Beyond Linux From Scratch
|
|
|
|
|
# by James Robertson <jameswrobertson@earthlink.net>
|
|
|
|
@ -212,28 +201,28 @@ cat > %{buildroot}/etc/profile <<- "EOF"
|
|
|
|
|
# Functions to help us manage paths. Second argument is the name of the
|
|
|
|
|
# path variable to be modified (default: PATH)
|
|
|
|
|
pathremove () {
|
|
|
|
|
local IFS=':'
|
|
|
|
|
local NEWPATH
|
|
|
|
|
local DIR
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
for DIR in ${!PATHVARIABLE} ; do
|
|
|
|
|
if [ "$DIR" != "$1" ] ; then
|
|
|
|
|
NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
export $PATHVARIABLE="$NEWPATH"
|
|
|
|
|
local IFS=':'
|
|
|
|
|
local NEWPATH
|
|
|
|
|
local DIR
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
for DIR in ${!PATHVARIABLE}; do
|
|
|
|
|
if [ "$DIR" != "$1" ]; then
|
|
|
|
|
NEWPATH=${NEWPATH:+$NEWPATH:}$DIR
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
export $PATHVARIABLE="$NEWPATH"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pathprepend () {
|
|
|
|
|
pathremove $1 $2
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
|
|
|
|
|
pathremove $1 $2
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
export $PATHVARIABLE="$1${!PATHVARIABLE:+:${!PATHVARIABLE}}"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pathappend () {
|
|
|
|
|
pathremove $1 $2
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
|
|
|
|
|
pathremove $1 $2
|
|
|
|
|
local PATHVARIABLE=${2:-PATH}
|
|
|
|
|
export $PATHVARIABLE="${!PATHVARIABLE:+${!PATHVARIABLE}:}$1"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export -f pathremove pathprepend pathappend
|
|
|
|
@ -242,9 +231,9 @@ export -f pathremove pathprepend pathappend
|
|
|
|
|
# Block unnessary as this is set elsewhere.
|
|
|
|
|
# export PATH=$PATH:/bin:/usr/bin
|
|
|
|
|
|
|
|
|
|
# if [ $EUID -eq 0 ] ; then
|
|
|
|
|
# pathappend /sbin:/usr/sbin
|
|
|
|
|
# unset HISTFILE
|
|
|
|
|
# if [ $EUID -eq 0 ]; then
|
|
|
|
|
# pathappend /sbin:/usr/sbin
|
|
|
|
|
# unset HISTFILE
|
|
|
|
|
# fi
|
|
|
|
|
|
|
|
|
|
# Setup some environment variables.
|
|
|
|
@ -252,8 +241,8 @@ export HISTSIZE=1000
|
|
|
|
|
export HISTIGNORE="&:[bf]g:exit"
|
|
|
|
|
|
|
|
|
|
# Set some defaults for graphical systems
|
|
|
|
|
export XDG_DATA_DIRS=/usr/share/
|
|
|
|
|
export XDG_CONFIG_DIRS=/etc/xdg/
|
|
|
|
|
export XDG_DATA_DIRS=%{_datadir}/
|
|
|
|
|
export XDG_CONFIG_DIRS=%{_sysconfdir}/xdg/
|
|
|
|
|
|
|
|
|
|
# Setup a red prompt for root and a green one for users.
|
|
|
|
|
NORMAL="\[\e[0m\]"
|
|
|
|
@ -265,25 +254,24 @@ else
|
|
|
|
|
PS1="$GREEN\u@\h [ $NORMAL\w$GREEN ]\$ $NORMAL"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
for script in /etc/profile.d/*.sh ; do
|
|
|
|
|
if [ -r $script ] ; then
|
|
|
|
|
. $script
|
|
|
|
|
fi
|
|
|
|
|
for script in %{_sysconfdir}/profile.d/*.sh; do
|
|
|
|
|
if [ -r $script ] ; then
|
|
|
|
|
. $script
|
|
|
|
|
fi
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
unset script RED GREEN NORMAL
|
|
|
|
|
umask 027
|
|
|
|
|
# End /etc/profile
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# The Proxy Bash Shell Startup File
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/profile.d/proxy.sh <<- "EOF"
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/profile.d/proxy.sh <<- "EOF"
|
|
|
|
|
#
|
|
|
|
|
# proxy.sh: Set proxy environment
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
sys=/etc/sysconfig/proxy
|
|
|
|
|
sys=%{_sysconfdir}/sysconfig/proxy
|
|
|
|
|
test -s $sys || exit 0
|
|
|
|
|
while read line ; do
|
|
|
|
|
case "$line" in
|
|
|
|
@ -343,10 +331,9 @@ unset PROXY_ENABLED
|
|
|
|
|
#
|
|
|
|
|
# end of proxy.sh
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 7.14. Creating the /etc/inputrc File
|
|
|
|
|
#
|
|
|
|
|
cat > %{buildroot}/etc/inputrc <<- "EOF"
|
|
|
|
|
|
|
|
|
|
# 7.14. Creating the /etc/inputrc File
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/inputrc <<- "EOF"
|
|
|
|
|
# Begin /etc/inputrc
|
|
|
|
|
# Modified by Chris Lynn <roryo@roryo.dynup.net>
|
|
|
|
|
|
|
|
|
@ -391,16 +378,13 @@ set bell-style none
|
|
|
|
|
|
|
|
|
|
# End /etc/inputrc
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# 8.2. Creating the /etc/fstab File
|
|
|
|
|
#
|
|
|
|
|
touch %{buildroot}/etc/fstab
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# 8.3.2. Configuring Linux Module Load Order
|
|
|
|
|
#
|
|
|
|
|
install -vdm 755 %{buildroot}/etc/modprobe.d
|
|
|
|
|
cat > %{buildroot}/etc/modprobe.d/usb.conf <<- "EOF"
|
|
|
|
|
# 8.2. Creating the /etc/fstab File
|
|
|
|
|
touch %{buildroot}%{_sysconfdir}/fstab
|
|
|
|
|
|
|
|
|
|
# 8.3.2. Configuring Linux Module Load Order
|
|
|
|
|
install -vdm 755 %{buildroot}%{_sysconfdir}/modprobe.d
|
|
|
|
|
cat > %{buildroot}%{_sysconfdir}/modprobe.d/usb.conf <<- "EOF"
|
|
|
|
|
# Begin /etc/modprobe.d/usb.conf
|
|
|
|
|
|
|
|
|
|
install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
|
|
|
|
@ -408,18 +392,15 @@ install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true
|
|
|
|
|
|
|
|
|
|
# End /etc/modprobe.d/usb.conf
|
|
|
|
|
EOF
|
|
|
|
|
#
|
|
|
|
|
# chapter 9.1. The End
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# chapter 9.1. The End
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
# Root filesystem
|
|
|
|
|
# Root filesystem
|
|
|
|
|
/bin
|
|
|
|
|
%dir /boot
|
|
|
|
|
%dir /dev
|
|
|
|
|
%dir /etc
|
|
|
|
|
%dir %{_sysconfdir}
|
|
|
|
|
%dir /home
|
|
|
|
|
/lib
|
|
|
|
|
|
|
|
|
@ -432,172 +413,172 @@ EOF
|
|
|
|
|
/srv
|
|
|
|
|
%dir /sys
|
|
|
|
|
%dir /tmp
|
|
|
|
|
%dir /usr
|
|
|
|
|
%dir /var
|
|
|
|
|
# etc fileystem
|
|
|
|
|
%dir /etc/opt
|
|
|
|
|
%config(noreplace) /etc/fstab
|
|
|
|
|
%config(noreplace) /etc/group
|
|
|
|
|
%config(noreplace) /etc/hosts
|
|
|
|
|
%config(noreplace) /etc/inputrc
|
|
|
|
|
%config(noreplace) /etc/mtab
|
|
|
|
|
%config(noreplace) /etc/passwd
|
|
|
|
|
%config(noreplace) /etc/profile
|
|
|
|
|
%dir /etc/modprobe.d
|
|
|
|
|
%config(noreplace) /etc/modprobe.d/usb.conf
|
|
|
|
|
%dir /etc/sysconfig
|
|
|
|
|
%config(noreplace) /etc/sysconfig/clock
|
|
|
|
|
%config(noreplace) /etc/sysconfig/console
|
|
|
|
|
%config(noreplace) /etc/sysconfig/proxy
|
|
|
|
|
%dir /etc/profile.d
|
|
|
|
|
%config(noreplace) /etc/profile.d/proxy.sh
|
|
|
|
|
# media filesystem
|
|
|
|
|
%dir %{_usr}
|
|
|
|
|
%dir %{_var}
|
|
|
|
|
# etc fileystem
|
|
|
|
|
%dir %{_sysconfdir}/opt
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/fstab
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/group
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/hosts
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/inputrc
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/mtab
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/passwd
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile
|
|
|
|
|
%dir %{_sysconfdir}/modprobe.d
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/modprobe.d/usb.conf
|
|
|
|
|
%dir %{_sysconfdir}/sysconfig
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/clock
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/console
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/proxy
|
|
|
|
|
%dir %{_sysconfdir}/profile.d
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/profile.d/proxy.sh
|
|
|
|
|
# media filesystem
|
|
|
|
|
%dir /run/media/cdrom
|
|
|
|
|
%dir /run/media/floppy
|
|
|
|
|
# run filesystem
|
|
|
|
|
# run filesystem
|
|
|
|
|
%dir /run/lock
|
|
|
|
|
# usr filesystem
|
|
|
|
|
# usr filesystem
|
|
|
|
|
%dir /mnt/cdrom
|
|
|
|
|
%dir /mnt/hgfs
|
|
|
|
|
%dir /usr/bin
|
|
|
|
|
%dir /usr/include
|
|
|
|
|
%dir /usr/lib
|
|
|
|
|
%dir /usr/lib/debug
|
|
|
|
|
%dir /usr/lib/debug/bin
|
|
|
|
|
%dir /usr/lib/debug/lib
|
|
|
|
|
%dir /usr/lib/debug/sbin
|
|
|
|
|
/usr/lib/debug/usr/bin
|
|
|
|
|
/usr/lib/debug/usr/lib
|
|
|
|
|
/usr/lib/debug/usr/sbin
|
|
|
|
|
%dir /usr/libexec
|
|
|
|
|
%dir /usr/local
|
|
|
|
|
%dir /usr/local/bin
|
|
|
|
|
%dir /usr/local/include
|
|
|
|
|
%dir /usr/local/lib
|
|
|
|
|
%dir /usr/local/share
|
|
|
|
|
%dir /usr/local/share/color
|
|
|
|
|
%dir /usr/local/share/dict
|
|
|
|
|
%dir /usr/local/share/doc
|
|
|
|
|
%dir /usr/local/share/info
|
|
|
|
|
%dir /usr/local/share/locale
|
|
|
|
|
%dir /usr/local/share/man
|
|
|
|
|
%dir /usr/local/share/man/man1
|
|
|
|
|
%dir /usr/local/share/man/man2
|
|
|
|
|
%dir /usr/local/share/man/man3
|
|
|
|
|
%dir /usr/local/share/man/man4
|
|
|
|
|
%dir /usr/local/share/man/man5
|
|
|
|
|
%dir /usr/local/share/man/man6
|
|
|
|
|
%dir /usr/local/share/man/man7
|
|
|
|
|
%dir /usr/local/share/man/man8
|
|
|
|
|
%dir /usr/local/share/misc
|
|
|
|
|
%dir /usr/local/share/terminfo
|
|
|
|
|
%dir /usr/local/share/zoneinfo
|
|
|
|
|
%dir /usr/local/src
|
|
|
|
|
%dir /usr/sbin
|
|
|
|
|
%dir /usr/share
|
|
|
|
|
%dir /usr/share/color
|
|
|
|
|
%dir /usr/share/dict
|
|
|
|
|
%dir /usr/share/doc
|
|
|
|
|
%dir /usr/share/info
|
|
|
|
|
%dir /usr/share/locale
|
|
|
|
|
%dir /usr/share/man
|
|
|
|
|
%dir /usr/share/man/man1
|
|
|
|
|
%dir /usr/share/man/man2
|
|
|
|
|
%dir /usr/share/man/man3
|
|
|
|
|
%dir /usr/share/man/man4
|
|
|
|
|
%dir /usr/share/man/man5
|
|
|
|
|
%dir /usr/share/man/man6
|
|
|
|
|
%dir /usr/share/man/man7
|
|
|
|
|
%dir /usr/share/man/man8
|
|
|
|
|
%dir /usr/share/misc
|
|
|
|
|
%dir /usr/share/terminfo
|
|
|
|
|
%dir /usr/share/zoneinfo
|
|
|
|
|
%dir /usr/src
|
|
|
|
|
# var filesystem
|
|
|
|
|
%dir /var/cache
|
|
|
|
|
%dir /var/lib
|
|
|
|
|
%dir /var/lib/color
|
|
|
|
|
%dir /var/lib/locate
|
|
|
|
|
%dir /var/lib/misc
|
|
|
|
|
%dir /var/local
|
|
|
|
|
%dir /var/log
|
|
|
|
|
%dir /var/mail
|
|
|
|
|
%dir /var/mnt
|
|
|
|
|
%dir /var/srv
|
|
|
|
|
%dir /var/opt
|
|
|
|
|
%dir /var/spool
|
|
|
|
|
%dir /var/tmp
|
|
|
|
|
%attr(-,root,root) /var/log/wtmp
|
|
|
|
|
%attr(664,root,utmp) /var/log/lastlog
|
|
|
|
|
%attr(600,root,root) /var/log/btmp
|
|
|
|
|
/var/lock
|
|
|
|
|
/var/run
|
|
|
|
|
%dir %{_bindir}
|
|
|
|
|
%dir %{_includedir}
|
|
|
|
|
%dir %{_libdir}
|
|
|
|
|
%dir %{_libdir}/debug
|
|
|
|
|
%dir %{_libdir}/debug/bin
|
|
|
|
|
%dir %{_libdir}/debug/lib
|
|
|
|
|
%dir %{_libdir}/debug/sbin
|
|
|
|
|
%{_libdir}/debug%{_bindir}
|
|
|
|
|
%{_libdir}/debug%{_libdir}
|
|
|
|
|
%{_libdir}/debug%{_sbindir}
|
|
|
|
|
%dir %{_libexecdir}
|
|
|
|
|
%dir %{_usr}/local
|
|
|
|
|
%dir %{_usr}/local/bin
|
|
|
|
|
%dir %{_usr}/local/include
|
|
|
|
|
%dir %{_usr}/local/lib
|
|
|
|
|
%dir %{_usr}/local/share
|
|
|
|
|
%dir %{_usr}/local/share/color
|
|
|
|
|
%dir %{_usr}/local/share/dict
|
|
|
|
|
%dir %{_usr}/local/share/doc
|
|
|
|
|
%dir %{_usr}/local/share/info
|
|
|
|
|
%dir %{_usr}/local/share/locale
|
|
|
|
|
%dir %{_usr}/local/share/man
|
|
|
|
|
%dir %{_usr}/local/share/man/man1
|
|
|
|
|
%dir %{_usr}/local/share/man/man2
|
|
|
|
|
%dir %{_usr}/local/share/man/man3
|
|
|
|
|
%dir %{_usr}/local/share/man/man4
|
|
|
|
|
%dir %{_usr}/local/share/man/man5
|
|
|
|
|
%dir %{_usr}/local/share/man/man6
|
|
|
|
|
%dir %{_usr}/local/share/man/man7
|
|
|
|
|
%dir %{_usr}/local/share/man/man8
|
|
|
|
|
%dir %{_usr}/local/share/misc
|
|
|
|
|
%dir %{_usr}/local/share/terminfo
|
|
|
|
|
%dir %{_usr}/local/share/zoneinfo
|
|
|
|
|
%dir %{_usr}/local/src
|
|
|
|
|
%dir %{_sbindir}
|
|
|
|
|
%dir %{_datadir}
|
|
|
|
|
%dir %{_datadir}/color
|
|
|
|
|
%dir %{_datadir}/dict
|
|
|
|
|
%dir %{_datadir}/doc
|
|
|
|
|
%dir %{_datadir}/info
|
|
|
|
|
%dir %{_datadir}/locale
|
|
|
|
|
%dir %{_mandir}
|
|
|
|
|
%dir %{_mandir}/man1
|
|
|
|
|
%dir %{_mandir}/man2
|
|
|
|
|
%dir %{_mandir}/man3
|
|
|
|
|
%dir %{_mandir}/man4
|
|
|
|
|
%dir %{_mandir}/man5
|
|
|
|
|
%dir %{_mandir}/man6
|
|
|
|
|
%dir %{_mandir}/man7
|
|
|
|
|
%dir %{_mandir}/man8
|
|
|
|
|
%dir %{_datadir}/misc
|
|
|
|
|
%dir %{_datadir}/terminfo
|
|
|
|
|
%dir %{_datadir}/zoneinfo
|
|
|
|
|
%dir %{_usrsrc}
|
|
|
|
|
# var filesystem
|
|
|
|
|
%dir %{_var}/cache
|
|
|
|
|
%dir %{_sharedstatedir}
|
|
|
|
|
%dir %{_sharedstatedir}/color
|
|
|
|
|
%dir %{_sharedstatedir}/locate
|
|
|
|
|
%dir %{_sharedstatedir}/misc
|
|
|
|
|
%dir %{_var}/local
|
|
|
|
|
%dir %{_var}/log
|
|
|
|
|
%dir %{_var}/mail
|
|
|
|
|
%dir %{_var}/mnt
|
|
|
|
|
%dir %{_var}/srv
|
|
|
|
|
%dir %{_var}/opt
|
|
|
|
|
%dir %{_var}/spool
|
|
|
|
|
%dir %{_var}/tmp
|
|
|
|
|
%attr(-,root,root) %{_var}/log/wtmp
|
|
|
|
|
%attr(664,root,utmp) %{_var}/log/lastlog
|
|
|
|
|
%attr(600,root,root) %{_var}/log/btmp
|
|
|
|
|
%{_var}/lock
|
|
|
|
|
%{_var}/run
|
|
|
|
|
|
|
|
|
|
/lib64
|
|
|
|
|
/usr/lib64
|
|
|
|
|
/usr/local/lib64
|
|
|
|
|
/usr/lib/debug/lib64
|
|
|
|
|
/usr/lib/debug/usr/lib64
|
|
|
|
|
%{_lib64dir}
|
|
|
|
|
%{_usr}/local/lib64
|
|
|
|
|
%{_libdir}/debug/lib64
|
|
|
|
|
%{_libdir}/debug%{_lib64dir}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 23 2020 Michelle Wang <michellew@vmware.com> 1.1-4
|
|
|
|
|
- Add sources0 for OSSTP tickets
|
|
|
|
|
* Wed May 8 2019 Alexey Makhalov <amakhalov@vmware.com> 1.1-3
|
|
|
|
|
- Set 'x' as a root password placeholder
|
|
|
|
|
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 1.1-2
|
|
|
|
|
- Aarch64 support
|
|
|
|
|
* Fri Sep 15 2017 Anish Swaminathan <anishs@vmware.com> 1.1-1
|
|
|
|
|
- Move network file from filesystem package
|
|
|
|
|
* Fri Apr 21 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0-13
|
|
|
|
|
- make /var/run symlink to /run and keep it in rpm
|
|
|
|
|
* Thu Apr 20 2017 Bo Gan <ganb@vmware.com> 1.0-12
|
|
|
|
|
- Fix /usr/local/lib64 symlink
|
|
|
|
|
* Wed Mar 08 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0-11
|
|
|
|
|
- Create default DHCP net config in 99-dhcp-en.network instead of 10-dhcp-en.network
|
|
|
|
|
* Wed Aug 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0-10
|
|
|
|
|
- /etc/inputrc PgUp/PgDown for history search
|
|
|
|
|
* Tue Jul 12 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-9
|
|
|
|
|
- Added filesystem for debug libraries and binaries
|
|
|
|
|
* Fri Jul 8 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-8
|
|
|
|
|
- Removing multiple entries of localhost in /etc/hosts file
|
|
|
|
|
* Fri May 27 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-7
|
|
|
|
|
- Fixed nobody user uid and group gid
|
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0-6
|
|
|
|
|
- GA - Bump release of all rpms
|
|
|
|
|
* Wed May 4 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-5
|
|
|
|
|
- Removing non-existent users from /etc/group file
|
|
|
|
|
* Fri Apr 29 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 1.0-4
|
|
|
|
|
- Updating the /etc/hosts file
|
|
|
|
|
* Fri Apr 22 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-3
|
|
|
|
|
- Setting default umask value to 027
|
|
|
|
|
* Thu Apr 21 2016 Anish Swaminathan <anishs@vmware.com> 1.0-2
|
|
|
|
|
- Version update for network file change
|
|
|
|
|
* Mon Jan 18 2016 Anish Swaminathan <anishs@vmware.com> 1.0-1
|
|
|
|
|
- Reset version to match with Photon version
|
|
|
|
|
* Wed Jan 13 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-13
|
|
|
|
|
- Support to set proxy configuration file - SLES proxy configuration implementation.
|
|
|
|
|
* Thu Jan 7 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-12
|
|
|
|
|
- Removing /etc/sysconfig/network file.
|
|
|
|
|
* Mon Nov 16 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-11
|
|
|
|
|
- Removing /etc/fstab mount entries.
|
|
|
|
|
* Mon Nov 16 2015 Sharath George <sharathg@vmware.com> 7.5-10
|
|
|
|
|
- Removint /opt from filesystem.
|
|
|
|
|
* Fri Oct 02 2015 Vinay Kulkarni <kulkarniv@vmware.com> 7.5-9
|
|
|
|
|
- Dump build-number and release version from macros.
|
|
|
|
|
* Fri Aug 14 2015 Sharath George <sharathg@vmware.com> 7.5-8
|
|
|
|
|
- upgrading release to TP2
|
|
|
|
|
* Tue Jun 30 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-7
|
|
|
|
|
- /etc/profile.d permission fix
|
|
|
|
|
* Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-6
|
|
|
|
|
- Adding group dip
|
|
|
|
|
* Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-5
|
|
|
|
|
- Fixing lsb-release file
|
|
|
|
|
* Tue Jun 16 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-4
|
|
|
|
|
- Change users group id to 100.
|
|
|
|
|
- Add audio group to users group.
|
|
|
|
|
* Mon Jun 15 2015 Sharath George <sharathg@vmware.com> 7.5-3
|
|
|
|
|
- Change the network match for dhcp.
|
|
|
|
|
* Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 7.5-2
|
|
|
|
|
- Update according to UsrMove.
|
|
|
|
|
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 7.5-1
|
|
|
|
|
- Initial build. First version
|
|
|
|
|
* Wed Sep 23 2020 Michelle Wang <michellew@vmware.com> 1.1-4
|
|
|
|
|
- Add sources0 for OSSTP tickets
|
|
|
|
|
* Wed May 8 2019 Alexey Makhalov <amakhalov@vmware.com> 1.1-3
|
|
|
|
|
- Set 'x' as a root password placeholder
|
|
|
|
|
* Tue Nov 14 2017 Alexey Makhalov <amakhalov@vmware.com> 1.1-2
|
|
|
|
|
- Aarch64 support
|
|
|
|
|
* Fri Sep 15 2017 Anish Swaminathan <anishs@vmware.com> 1.1-1
|
|
|
|
|
- Move network file from filesystem package
|
|
|
|
|
* Fri Apr 21 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0-13
|
|
|
|
|
- make /var/run symlink to /run and keep it in rpm
|
|
|
|
|
* Thu Apr 20 2017 Bo Gan <ganb@vmware.com> 1.0-12
|
|
|
|
|
- Fix /usr/local/lib64 symlink
|
|
|
|
|
* Wed Mar 08 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0-11
|
|
|
|
|
- Create default DHCP net config in 99-dhcp-en.network instead of 10-dhcp-en.network
|
|
|
|
|
* Wed Aug 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0-10
|
|
|
|
|
- /etc/inputrc PgUp/PgDown for history search
|
|
|
|
|
* Tue Jul 12 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-9
|
|
|
|
|
- Added filesystem for debug libraries and binaries
|
|
|
|
|
* Fri Jul 8 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-8
|
|
|
|
|
- Removing multiple entries of localhost in /etc/hosts file
|
|
|
|
|
* Fri May 27 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-7
|
|
|
|
|
- Fixed nobody user uid and group gid
|
|
|
|
|
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0-6
|
|
|
|
|
- GA - Bump release of all rpms
|
|
|
|
|
* Wed May 4 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-5
|
|
|
|
|
- Removing non-existent users from /etc/group file
|
|
|
|
|
* Fri Apr 29 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 1.0-4
|
|
|
|
|
- Updating the /etc/hosts file
|
|
|
|
|
* Fri Apr 22 2016 Divya Thaluru <dthaluru@vmware.com> 1.0-3
|
|
|
|
|
- Setting default umask value to 027
|
|
|
|
|
* Thu Apr 21 2016 Anish Swaminathan <anishs@vmware.com> 1.0-2
|
|
|
|
|
- Version update for network file change
|
|
|
|
|
* Mon Jan 18 2016 Anish Swaminathan <anishs@vmware.com> 1.0-1
|
|
|
|
|
- Reset version to match with Photon version
|
|
|
|
|
* Wed Jan 13 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-13
|
|
|
|
|
- Support to set proxy configuration file - SLES proxy configuration implementation.
|
|
|
|
|
* Thu Jan 7 2016 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-12
|
|
|
|
|
- Removing /etc/sysconfig/network file.
|
|
|
|
|
* Mon Nov 16 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 7.5-11
|
|
|
|
|
- Removing /etc/fstab mount entries.
|
|
|
|
|
* Mon Nov 16 2015 Sharath George <sharathg@vmware.com> 7.5-10
|
|
|
|
|
- Removint /opt from filesystem.
|
|
|
|
|
* Fri Oct 02 2015 Vinay Kulkarni <kulkarniv@vmware.com> 7.5-9
|
|
|
|
|
- Dump build-number and release version from macros.
|
|
|
|
|
* Fri Aug 14 2015 Sharath George <sharathg@vmware.com> 7.5-8
|
|
|
|
|
- upgrading release to TP2
|
|
|
|
|
* Tue Jun 30 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-7
|
|
|
|
|
- /etc/profile.d permission fix
|
|
|
|
|
* Tue Jun 23 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-6
|
|
|
|
|
- Adding group dip
|
|
|
|
|
* Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 7.5-5
|
|
|
|
|
- Fixing lsb-release file
|
|
|
|
|
* Tue Jun 16 2015 Alexey Makhalov <amakhalov@vmware.com> 7.5-4
|
|
|
|
|
- Change users group id to 100.
|
|
|
|
|
- Add audio group to users group.
|
|
|
|
|
* Mon Jun 15 2015 Sharath George <sharathg@vmware.com> 7.5-3
|
|
|
|
|
- Change the network match for dhcp.
|
|
|
|
|
* Mon May 18 2015 Touseef Liaqat <tliaqat@vmware.com> 7.5-2
|
|
|
|
|
- Update according to UsrMove.
|
|
|
|
|
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 7.5-1
|
|
|
|
|
- Initial build. First version
|
|
|
|
|