Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/installer-feature-mos-hide-grub/commit/77078f9bcdc2c02dc4c15501518279bb6f80ed60
You should set ROOT_URL correctly, otherwise the web may not work correctly.
5 changed files with
49 additions and
0 deletions
.gear/rules
.gitignore
README.md
installer-feature-mos-hide-grub.spec
installer-feature-mos-hide-grub/92-mos-hide-grub.sh
@ -0,0 +1 @@
tar: @name@ name=@name@-@version@ base=@name@-@version@
@ -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