Bootsplash

Archiwalne, stare wpisy FAQ i HowTo Użytkowników
apacz42
Posty: 9
Rejestracja: 06 maja 2007, 19:02

Bootsplash

Post autor: apacz42 »

Czytając to forum dowiedziałem się wielu ciekawych rzeczy. Znajduje się tutaj wiele pomocnych linków i odpowiedzi na wiele pytań. Jednej rzeczy niestety wśród zasobów tego forum nie znalazłem - tutoriala dotyczącego instalacji bootsplasha w Debianie. Sprawa niby oklepana a jak się w czasie "instalacji" okazuje się, że potrafi być kłopotliwa. W sieci jest wiele howto, które albo mijają się z prawdą, albo celowo wprowadzają w błąd. Dlatego przy okazji instalacji u siebie bootsplasha powstał tutek. Jako iż jest on napisany w sposób specyficzny, zielonym kolorem zaznaczyłem wykonywane komendy. Zabieg ten umożliwia szybkie "przelecenie" przez proces instalacji. Miłej lektury.

KLIK
soki
Beginner
Posty: 249
Rejestracja: 27 października 2007, 21:18
Lokalizacja: Matrix

Post autor: soki »

Nom nareszcie jakiś tutorialik :mrgreen: choć wolę splashy :-P THX
apacz42
Posty: 9
Rejestracja: 06 maja 2007, 19:02

Post autor: apacz42 »

Tak sobie właśnie pomyślałem, że często widuje się tutki z niedziałającymi linkami do plików.
Cała idea tutka bierze wtedy w łeb. ¯eby tego uniknąć w tym przypadku, załączam 2 potrzebne pliki - łatkę na jądro oraz skrypt rc.

Porównywania Bootsplasha i Splashy nawet się nie podejmę. Wg. mnie to dwie różne rzeczy.
Mogę natomiast zachęcić do instalacji bootsplasha. Efekt końcowy jest zdecydowanie warty poświęcenia chwili czasu.
Awatar użytkownika
darkwater
Junior Member
Posty: 828
Rejestracja: 25 stycznia 2007, 14:01
Lokalizacja: Częstochowa

Post autor: darkwater »

po co dołączać patch skoro jest on dostępny w repozytorium ??

Kod: Zaznacz cały

linux-patch-bootsplash - Bootsplash enables a graphical boot screen (kernel-patch)
w przeciwieństwie do tego w załączniku patch w repo jest uaktualniany w miare rozwoju/zmian kernela.
apacz42
Posty: 9
Rejestracja: 06 maja 2007, 19:02

Post autor: apacz42 »

W repo znajdują się łaty, ale ostatnia łata dotyczy jądra 2.6.21. Pomiędzy 2.6.21 a 2.6.22 nastąpiło dużo zmian. Przy próbie patchowania kernela 2.6.23 (oraz 2.6.22) patchem 2.6.21 wyskakuje błąd informujący, że nie cały patch został zapisany do katalogu ze źródłami. Później objawia się to problemami przy kompilacji.

Czy patche w repo są uaktualniane, ciężko powiedzieć. Jeżeli tak to bardzo topornie. W unstable tak jak i w testing patche dla bootsplasha wyglądają dokładnie tak samo. Kończą się na 2.6.21. W stable jest wcześniejsza wersja 2.6.18, czyli tak jak domyślny nr. kernela. Z drugiej strony w testing jajo 2.6.22 można bezproblemowo zainstalować – znajduje się w oficjalnym repozytorium. Brakuje tutaj jakiejś spójności.

Sam powód zamieszczania patcha chyba dosyć dokładnie opisałem w poprzednim poście.
Lorenzo
Beginner
Posty: 262
Rejestracja: 15 sierpnia 2006, 16:14
Lokalizacja: Kraków

Post autor: Lorenzo »

Jak już tak ciągniecie tego patcha z mojej strony, to mam jedną uwagę. Na bierząco aktualizuję do nowo wydanych vaniliowych kerneli. 2.6.23 jest jakiś czas na stronce:
http://fatcat.ftj.agh.edu.pl/~przyboro/ ... .6.23.diff

//edit:
Przekombinowany ten tutorial. Zresztą z tym bootsplashem to nie ma żadnej filozofii (to nie supersymetryczny model cząstek :P )
apacz42
Posty: 9
Rejestracja: 06 maja 2007, 19:02

Post autor: apacz42 »

Dzięki za linka do patcha, oraz za wszystkie patche, które produkujesz :mrgreen: .

Przy instalacji bootsplasha rzeczywiście nie ma żadnej filozofii. Co się tyczy supersymetrycznego modelu cząsteczek to nie wiem, jakoś ostatnio z żadnym nie miałem styczności ;-) .
Problem z bootsplashem polega na tym, że pomimo faktu iż projekt został porzucony, wciąż cieszy się ogromną popularnością, a autorzy nie są zbyt skorzy do pomocy. W sieci informacji nt bootsplasha jest od groma, ale część z nich rozmija się z rzeczywistością. Raz jeden na xx postów na różnych forach znalazłem informację o tym co dokładnie robi program splash i dlaczego to co robi jest działaniem błędnym. Informacja została sprawdzona i powstał pomysł na tutka :-) .
Awatar użytkownika
Maden
Beginner
Posty: 172
Rejestracja: 22 listopada 2006, 15:14
Lokalizacja: tarnów

Post autor: Maden »

mam problem przy polceniu make menuconfig

Kod: Zaznacz cały

n23:/usr/src/linux# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: Nie ma takiego pliku ani katalogu
In file included from scripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:97: error: expected specifier-qualifier-list before 'chtype'
scripts/kconfig/lxdialog/dialog.h:187: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:194: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:196: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:197: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:198: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:199: error: expected ')' before '*' token
scripts/kconfig/lxdialog/dialog.h:201: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:31: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:59: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c:95: error: expected ')' before '*' token
scripts/kconfig/lxdialog/checklist.c: In function 'dialog_checklist':
scripts/kconfig/lxdialog/checklist.c:116: error: 'WINDOW' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: (Each undeclared identifier is reported only once
scripts/kconfig/lxdialog/checklist.c:116: error: for each function it appears in.)
scripts/kconfig/lxdialog/checklist.c:116: error: 'dialog' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: error: 'list' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function 'getmaxy'
scripts/kconfig/lxdialog/checklist.c:129: error: 'stdscr' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:130: error: 'KEY_MAX' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function 'getmaxx'
scripts/kconfig/lxdialog/checklist.c:137: error: 'COLS' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:138: error: 'LINES' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:140: warning: implicit declaration of function 'draw_shadow'
scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function 'newwin'
scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function 'keypad'
scripts/kconfig/lxdialog/checklist.c:143: error: 'TRUE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function 'draw_box'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:146: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:147: warning: implicit declaration of function 'wattrset'
scripts/kconfig/lxdialog/checklist.c:147: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function 'mvwaddch'
scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function 'waddch'
scripts/kconfig/lxdialog/checklist.c:151: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:154: warning: implicit declaration of function 'print_title'
scripts/kconfig/lxdialog/checklist.c:156: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:157: warning: implicit declaration of function 'print_autowrap'
scripts/kconfig/lxdialog/checklist.c:164: warning: implicit declaration of function 'subwin'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:171: error: 'struct dialog_color' has no member named 'atr'
scripts/kconfig/lxdialog/checklist.c:189: warning: implicit declaration of function 'print_item'
scripts/kconfig/lxdialog/checklist.c:192: warning: implicit declaration of function 'print_arrows'
scripts/kconfig/lxdialog/checklist.c:195: warning: implicit declaration of function 'print_buttons'
scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function 'wnoutrefresh'
scripts/kconfig/lxdialog/checklist.c:199: warning: implicit declaration of function 'doupdate'
scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function 'wgetch'
scripts/kconfig/lxdialog/checklist.c:210: error: 'KEY_UP' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:210: error: 'KEY_DOWN' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:220: error: 'FALSE' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function 'scrollok'
scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function 'wscrl'
scripts/kconfig/lxdialog/checklist.c:232: warning: implicit declaration of function 'wrefresh'
scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function 'delwin'
scripts/kconfig/lxdialog/checklist.c:297: error: 'KEY_LEFT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:298: error: 'KEY_RIGHT' undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:310: warning: implicit declaration of function 'on_key_esc'
scripts/kconfig/lxdialog/checklist.c:312: error: 'KEY_RESIZE' undeclared (first use in this function)
make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Błąd 1
make: *** [menuconfig] Błąd 2
n23:/usr/src/linux#  
mam jajko 2.6-22. Korzystalem z tego tutka co wyzej.
Awatar użytkownika
Yampress
Administrator
Posty: 6367
Rejestracja: 09 sierpnia 2007, 21:41
Lokalizacja: PL

Post autor: Yampress »

zainstalowałes pakiety:

Kod: Zaznacz cały

libncurses5-dev fakeroot wget bzip2 build-essential
?
matteuszek
Posty: 45
Rejestracja: 20 kwietnia 2007, 12:12

Post autor: matteuszek »

Wiecie może co trzeba zrobić w tym momencie:

Kod: Zaznacz cały

/usr/src/linux]$ patch -p1 < /usr/src/bootsplash-3.1.6-2.6.23.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.23/drivers/char/keyboard.c linux-2.6.23-bs/drivers/char/keyboard.c
|--- linux-2.6.23/drivers/char/keyboard.c       2007-10-09 22:31:38.000000000 +0200
|+++ linux-2.6.23-bs/drivers/char/keyboard.c    2007-10-10 20:41:44.000000000 +0200
--------------------------
File to patch:  
Zablokowany