Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| summerofcode2014:bootsplash [2014/06/29 09:37] – SeiyaNuta | summerofcode2014:bootsplash [2014/08/17 13:46] (current) – SeiyaNuta | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| * Student: [[/ | * Student: [[/ | ||
| * Mentor: [[/ | * Mentor: [[/ | ||
| + | |||
| + | ===== Testing this bootsplash ===== | ||
| + | ==== 1. build kernel ==== | ||
| + | |||
| + | < | ||
| + | $ cd /tmp | ||
| + | $ svn co https:// | ||
| + | $ cd bsplash/ | ||
| + | $ cp GENERIC BSPLASH | ||
| + | $ echo ' | ||
| + | $ config -d /tmp/build BSPLASH | ||
| + | |||
| + | $ cd /tmp/build | ||
| + | $ MAKESYSPATH=/ | ||
| + | </ | ||
| + | |||
| + | ==== 2. install the kernel ==== | ||
| + | |||
| + | < | ||
| + | # cd /boot | ||
| + | # cp -r kernel kernel.old | ||
| + | # cd / | ||
| + | # MAKESYSPATH=/ | ||
| + | </ | ||
| + | |||
| + | ==== 3. add a theme for testing ==== | ||
| + | |||
| + | < | ||
| + | # cd /tmp | ||
| + | # pkg install ImageMagick python py27-pillow | ||
| + | # git clone https:// | ||
| + | # cd utils/test | ||
| + | # make enable | ||
| + | </ | ||
| + | |||
| + | ==== 4. replace /etc/rc ==== | ||
| + | |||
| + | < | ||
| + | # cp /etc/rc /etc/rc.old | ||
| + | # cp / | ||
| + | </ | ||
| + | |||
| + | ==== 5. replace / | ||
| + | |||
| + | < | ||
| + | # cd / | ||
| + | # cp loader.conf loader.conf.old | ||
| + | # cp / | ||
| + | </ | ||
| + | |||
| + | ==== 5. run bsplash-fix-grub-cfg (only for GRUB users) ==== | ||
| + | |||
| + | < | ||
| + | # cd /tmp/utils | ||
| + | # bsplash-fix-grub-cfg / | ||
| + | # mv tmp / | ||
| + | </ | ||
| + | |||
| + | ==== 6. reboot and enjoy bootsplash ==== | ||
| ===== Project description ===== | ===== Project description ===== | ||
| Line 54: | Line 113: | ||
| $ ls animation*.bmp | $ ls animation*.bmp | ||
| animation0.bmp | animation0.bmp | ||
| - | animation1.bmp | + | animation1.bmp |
| $ ls progressbar*.bmp | $ ls progressbar*.bmp | ||
| progressbar0.bmp | progressbar0.bmp | ||
| Line 93: | Line 152: | ||
| | June 23 - June 29 | work on unimplemented features (e.g. support RLE4) | done | | | June 23 - June 29 | work on unimplemented features (e.g. support RLE4) | done | | ||
| | June 28 | Mid-term evaluation deadline || | | June 28 | Mid-term evaluation deadline || | ||
| - | | June 30 - July 6 | develop userland utilities | in progress | + | | June 30 - July 6 | develop userland utilities | done | |
| - | | July 7 - July 20 | support drawing animation in a part of screen | | | + | | July 7 - July 20 | support drawing animation in a part of screen | done | |
| - | | July 21 - July 27 | support progress bar | | | + | | July 21 - July 27 | support progress bar | done | |
| - | | July 28 - ' | + | | July 28 - ' |
| | August 18 | End of coding (hard) || | | August 18 | End of coding (hard) || | ||
| Line 113: | Line 172: | ||
| ===== The Code ===== | ===== The Code ===== | ||
| * https:// | * https:// | ||
| - | * https:// | + | * https:// |