maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Design (https://talk.maemo.org/forumdisplay.php?f=46)
-   -   source out the boot video (https://talk.maemo.org/showthread.php?t=44691)

DonPIZI 2010-02-16 13:52

source out the boot video
 
Hi,
I want to free up my rootfs and so I want to source out the boot video to an other directory.

I typed the commands in the follow order:
Code:

sudo gainroot

mkdir /home/user/MyDocs/media
cd /usr/share/hildon-welcome
rm -r media
ln -s /home/user/MyDocs/media /usr/share/hildon-welcome

In the /home/user/MyDocs/media I stored the video what I want as boot viedo.

If I type
Code:

cd /usr/share/hildon-welcome/media
xterm show me
Code:

/home/user/MyDocs/media
So I think the systemlink is correct, but on startup the device donīt show the video.

Do I make a mistake or is it impossible to source out the boot video?

fred123 2010-02-16 13:54

Re: source out the boot video
 
Is MyDocs mounted before the boot video runs?

DonPIZI 2010-02-16 14:13

Re: source out the boot video
 
hmm I donīt know.
Wich directories are mounted before the boot video run and arenīt in the rootfs?
When the storage card is mounted?

Lacedaemon 2010-02-16 14:16

Re: source out the boot video
 
Tried moving the media folder you created or just the video to /opt/ ?

DonPIZI 2010-02-16 14:23

Re: source out the boot video
 
Thanks, I moved the the directory to /opt and create an new systemlink. Now it works :)

rolan900d 2010-02-17 11:19

Re: source out the boot video
 
Don:

Could you please explain the whole set up?

Don't get that systemlink part yet!

Schturman 2010-02-19 09:29

Re: source out the boot video
 
Yea... I want to know too, please explain the whole set up.
Thanks

DonPIZI 2010-02-19 11:22

Re: source out the boot video
 
Iīll try to explain all steps to put the boot video to another directory (with my bad english). Itīs a bit faster than my first way. Because I move the whole directory to /opt

1st.: run xterm and type
Code:

sudo gainroot
2nd.: move the directory, where the boot video is storaged to /opt
Code:

mv /usr/share/hildon-welcome/media /opt
3rd: link the new directory path to the old. So the system can find the boot video at startup
Code:

ln -s /opt/media /usr/share/hildon-welcome
If you want to have another boot video, you can modify
Code:

/etc/hildon-welcone.d/default.conf
just enter the video name that you have storaged in /opt/media

I hope you understood what I did.

Schturman 2010-02-19 11:43

Re: source out the boot video
 
You mean I need write this in the default.conf file:

Code:

[hildon-welcome]
filename=/opt/media/my_video.avi

?

DonPIZI 2010-02-19 12:18

Re: source out the boot video
 
Hi, no, only the file name
Code:

[hildon-welcome]
filename=video.avi



All times are GMT. The time now is 15:29.

vBulletin® Version 3.8.8