commit
831dc5effe
19
generic-release-1.0/color.sh
Normal file
19
generic-release-1.0/color.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#/bin/bash
|
||||||
|
#Copyright (c) [2019] Huawei Technologies Co., Ltd.
|
||||||
|
#generic-release is licensed under the Mulan PSL v1.
|
||||||
|
#You can use this software according to the terms and conditions of the Mulan PSL v1.
|
||||||
|
#You may obtain a copy of Mulan PSL v1 at:
|
||||||
|
# http://license.coscl.org.cn/MulanPSL
|
||||||
|
#THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
||||||
|
#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
||||||
|
#PURPOSE.
|
||||||
|
#See the Mulan PSL v1 for more details.
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias ll='ls -lh'
|
||||||
|
alias la='ls -lAh'
|
||||||
|
|
||||||
|
alias grep='grep --color=auto'
|
||||||
|
alias egrep='egrep --color=auto'
|
||||||
|
alias fgrep='fgrep --color=auto'
|
||||||
|
|
||||||
@ -5,7 +5,7 @@
|
|||||||
%define dist_release_version 8
|
%define dist_release_version 8
|
||||||
%define generic_version 1.0
|
%define generic_version 1.0
|
||||||
%define generic_patch_level base
|
%define generic_patch_level base
|
||||||
%define generic_release 28
|
%define generic_release 30
|
||||||
%define builtin_release_version 1.0
|
%define builtin_release_version 1.0
|
||||||
|
|
||||||
%define current_arch %{_arch}
|
%define current_arch %{_arch}
|
||||||
@ -66,6 +66,7 @@ ANSI_COLOR="0;31"
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/profile.d
|
mkdir -p -m 755 $RPM_BUILD_ROOT/etc/profile.d
|
||||||
|
cp -a color.sh $RPM_BUILD_ROOT/etc/profile.d/
|
||||||
cp -a system-info.sh $RPM_BUILD_ROOT/etc/profile.d/
|
cp -a system-info.sh $RPM_BUILD_ROOT/etc/profile.d/
|
||||||
cp -a performance.sh $RPM_BUILD_ROOT/etc/profile.d/
|
cp -a performance.sh $RPM_BUILD_ROOT/etc/profile.d/
|
||||||
|
|
||||||
@ -115,6 +116,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
/etc/system-release
|
/etc/system-release
|
||||||
|
/etc/profile.d/color.sh
|
||||||
/etc/profile.d/system-info.sh
|
/etc/profile.d/system-info.sh
|
||||||
/etc/%{product_family}-release
|
/etc/%{product_family}-release
|
||||||
%config(noreplace) /etc/os-release
|
%config(noreplace) /etc/os-release
|
||||||
@ -133,11 +135,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/etc/profile.d/performance.sh
|
/etc/profile.d/performance.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-27
|
* Sat Mar 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-30
|
||||||
- base
|
- add color aliases
|
||||||
|
|
||||||
|
* Sat Mar 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-29
|
||||||
|
- fix changelog
|
||||||
|
|
||||||
|
* Sat Mar 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-28
|
||||||
|
- add base
|
||||||
|
|
||||||
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-27
|
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-27
|
||||||
- fix obc build problem
|
- fix obs build problem
|
||||||
|
|
||||||
|
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-26
|
||||||
|
- fix install problem
|
||||||
|
|
||||||
* Fri Mar 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-25
|
* Fri Mar 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.0-25
|
||||||
- add performance script,close transparent_hugepage,change vm.min_free_kbytes=112640,export GOMP_CPU_AFFINITY
|
- add performance script,close transparent_hugepage,change vm.min_free_kbytes=112640,export GOMP_CPU_AFFINITY
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user