commit
77078f9bcd
@ -0,0 +1 @@ |
||||
tar: @name@ name=@name@-@version@ base=@name@-@version@ |
@ -0,0 +1,2 @@ |
||||
.directory |
||||
*~ |
@ -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…
Reference in new issue