Initial commit

master
tema 2 years ago committed by Artem Proskurnev
commit 77078f9bcd
  1. 1
      .gear/rules
  2. 2
      .gitignore
  3. 2
      README.md
  4. 37
      installer-feature-mos-hide-grub.spec
  5. 7
      installer-feature-mos-hide-grub/92-mos-hide-grub.sh

@ -0,0 +1 @@
tar: @name@ name=@name@-@version@ base=@name@-@version@

2
.gitignore vendored

@ -0,0 +1,2 @@
.directory
*~

@ -0,0 +1,2 @@
# installer-feature-mos-hide-grub

@ -0,0 +1,37 @@
Name: installer-feature-mos-hide-grub
Version: 1.0
Release: alt1
Summary: feature to M OS hide grub
Summary(ru_RU.UTF-8): Фича инсталлятора для настройки М ОС скрытие меню grub
License: GPLv3
Group: System/Configuration/Other
Url: http://osmesh.ru
BuildArch: noarch
Source: %name-%version.tar
%description
%summary.
%description -l ru_RU.UTF-8
Фича инсталлятора для настройки М ОС скрытие меню grub
%prep
%setup
%install
%define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%hookdir
install -pm755 92-mos-hide-grub.sh %buildroot%hookdir/
%files
%hookdir/92-mos-hide-grub.sh
%changelog
* Tue Aug 30 2022 Artem Proskurnev <tema@altlinux.org> 1.0-alt1
- Init

@ -0,0 +1,7 @@
#!/bin/sh
a= . install2-init-functions
#Настрока grub
sed -i 's/#GRUB_HIDDEN_TIMEOUT/GRUB_HIDDEN_TIMEOUT/g' $destdir/etc/sysconfig/grub2
sed -i 's/#GRUB_HIDDEN_TIMEOUT_QUIET/GRUB_HIDDEN_TIMEOUT_QUIET/g' $destdir/etc/sysconfig/grub2
Loading…
Cancel
Save