Bug 44280 - Не работает на e2k из-за отсутствия grub в системе
Summary: Не работает на e2k из-за отсутствия grub в системе
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: setbranding (show other bugs)
Version: unstable
Hardware: e2k Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-11 17:31 MSK by Ivan
Modified: 2023-02-12 20:16 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2022-11-11 17:31:22 MSK
mike@ попросил поправить скрипт, чтобы он работал на системе без grub
Сейчас там жесткая проверка "нет grub - exit 1"

Сделал свой патч:
https://github.com/ulysserus/setbranding

Теперь при невозможности добраться до grub даже под рутом скрипт делает все остальное, а в grub не лезет.
Comment 1 Michael Shigorin 2022-11-14 13:03:03 MSK
Подтверждаю просьбу.
Comment 2 Repository Robot 2023-02-12 20:16:27 MSK
setbranding-1.1.4-alt1 -> sisyphus:

 Sun Feb 12 2023 Andrey Cherepanov <cas@altlinux> 1.1.4-alt1
 - skips grub setup if can't access it with root (thanks onetowne@yandex.ru) (ALT #44280)