Commit 4bec9de4 authored by Sergey V Turchin's avatar Sergey V Turchin Committed by Andrey Cherepanov

- add system limits defaults

parent cb59bad5
......@@ -333,6 +333,14 @@ for n in fedora redhat system; do
done
install -pD -m644 components/systemd/os-release %buildroot%_sysconfdir/os-release
# limits
mkdir -p %buildroot%_sysconfdir/security/limits.d/
cat <<__EOF__ >%buildroot%_sysconfdir/security/limits.d/77-%name.conf
* soft nproc 3072
root soft nproc 1024
* hard nproc 4096
__EOF__
#notes
pushd notes
%makeinstall
......@@ -385,6 +393,9 @@ cp -P xfce-settings/backgrounds/*.{jpg,png} %buildroot/usr/share/backgrounds/xfc
install -pDm0755 xfce-settings/scripts/zdg-move-templates.sh %buildroot%_sysconfdir/X11/profile.d/zdg-move-templates.sh
install -Dm 644 gnome-settings/gtkrc-2 %buildroot/etc/skel/.gtkrc-2.0
install -Dm 644 gnome-settings/gtk3-settings.ini %buildroot/etc/skel/.config/gtk-3.0/settings.ini
#slideshow
mkdir -p %buildroot/usr/share/install2/slideshow
mkdir -p %buildroot/etc/alterator
......@@ -482,6 +493,7 @@ subst 's/#theme-name=/theme-name=Clearlooks-Phenix/' /etc/lightdm/lightdm-gtk-gr
%files release
%_sysconfdir/*-release
%_sysconfdir/buildreqs/packages/ignore.d/*
%config(noreplace) %_sysconfdir/security/limits.d/77-%name.conf
%files notes
%_datadir/alt-notes/*
......@@ -501,6 +513,7 @@ subst 's/#theme-name=/theme-name=Clearlooks-Phenix/' /etc/lightdm/lightdm-gtk-gr
/etc/skel/XDG-Templates.skel/
/etc/skel/.wm-select
/etc/skel/.config
/etc/skel/.gtkrc-2.0
/etc/skel/.local
/etc/skel/.gconf
/etc/skel/.vimrc
......
[Settings]
gtk-theme-name=Clearlooks-Phenix
gtk-icon-theme-name=SimpleSL
gtk-fallback-icon-theme=gnome
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1
gtk-alternative-button-order=1
include "/usr/share/themes/Clearlooks-Phenix/gtk-2.0/gtkrc"
include "/etc/gtk-2.0/gtkrc"
gtk-theme-name="Clearlooks-Phenix"
gtk-icon-theme-name="SimpleSL"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1
gtk-alternative-button-order=1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment