You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
Отладка плагина
|
|
|
|
|
|
|
|
Развернуть plymouth через ebuild
|
|
|
|
USE="debug" ebuild /usr/portage/sys-boot/plymouth/plymouth-0.9.5-r1.ebuild install
|
|
|
|
|
|
|
|
Перейти в каталог /var/calculate/tmp/portage/sys-boot/plymouth-0.9.5-r1/work/plymouth-0.9.5
|
|
|
|
|
|
|
|
Изменить src/plugins/splash/two-step/plugin.c
|
|
|
|
|
|
|
|
Пересобрать плагин: make
|
|
|
|
|
|
|
|
Скопировать в систему
|
|
|
|
cp ./src/plugins/splash/two-step/.libs/two-step.so /usr/lib64/plymouth/
|
|
|
|
|
|
|
|
Запустить демон
|
|
|
|
plymouthd --debug --no-daemon --mode=boot
|
|
|
|
plymouthd --debug --no-daemon --mode=shutdown
|
|
|
|
plymouthd --debug --no-daemon --mode=updates
|
|
|
|
|
|
|
|
Отобразить splash
|
|
|
|
plymouth show-splash
|
|
|
|
plymouth quit
|
|
|
|
plymouth system-update --progress=80
|
|
|
|
|
|
|
|
---
|
|
|
|
Для того, чтобы получить патчи на сам plymouth (исключая плагин) нужно
|
|
|
|
либо использовать git show конкретный коммит, либо
|
|
|
|
git diff 0.9.5 ':!DEBUG' ':!src/plugins/splash/two-step'
|