Active Topics

 


Reply
Thread Tools
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#1
As the tile suggests, I'm making a chroot. Not just any chroot, it's a chroot for Maemo 5. And I need some techy help.
So far, I've extracted the rootfs.jffs2 file from the latest firmware, and the files are in place with permissions and everything. Now I have a single problem before I'm done, though...
I can't get my hands on a set of files for the /home directory. (The rootfs doesn't contain any of it.) Just linking it is unacceptable. I want to have a separate set of settings and documents in the chroot that won't affect the system.
I found the eMMC Vanilla one from PR 1.2, but it only contains files from MyDocs and not /home.
Any advice on how to obtain these files?
 

The Following User Says Thank You to Nokia 5700 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
cp -ax /home /chroot/
 

The Following User Says Thank You to michaaa62 For This Useful Post:
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#3
Can you link this up AS SOON AS YOU FINISH it?
I am after this too!!
__________________
The thanks button? Sure! You can press it! I would!
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#4
I will upload after testing it. And if i have a place to upload to. (I made a 2Gb image...)

Copying the existing /home from mine is not really what I want to... I don't want everyone to look at my contacts and history. How does a normal flash restore the /home partition?
 

The Following User Says Thank You to Nokia 5700 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#5
then you might copy all the content from /chroot/etc/skel/ to /chroot/home/user, create it if it does not exist. Change the ownership of /home/user with the -R option to 29999:29999.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#6
Ok, will do that.
Is it so that Maemo will handle making /home/opt?
If so, I guess it's ready soon.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#7
Originally Posted by Nokia 5700 View Post
Ok, will do that.
Is it so that Maemo will handle making /home/opt?
If so, I guess it's ready soon.
With 2GB of chroot-rootfs there is no need for optification, so it should not make any difference, if the applications are on the maemo place /home/opt/... or the linux path /usr/...
At least that is may opinion
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#8
Originally Posted by michaaa62 View Post
With 2GB of chroot-rootfs there is no need for optification, so it should not make any difference, if the applications are on the maemo place /home/opt/... or the linux path /usr/...
At least that is may opinion
Im just thinking about apps that are made for /home/opt, like games and such. But i think it will work like normal if DPKG is okay.
 
Posts: 298 | Thanked: 197 times | Joined on Dec 2009 @ Norway
#9
Good news! I've successfully chrooted into the image!
Xterm-commands work like normal, and there is no way to interfere with the OS that is on the device.
Now i'll have to do some tweaking, and it will be ready to spin for X11.
And when i know it can run X11 on Xephyr... we're burning some tires...

Uhm... how do i setup Xephyr and the boot process?

Last edited by Nokia 5700; 2011-02-19 at 01:18.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
I dont get it quite? Are you having the chroot on your PC or on the N900 itself. There is no xephyr package available for the N900, as far as i know.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:07.