Hmm i would recommend just libc6 since nothing in the 'deb' currently calls bzip2... these files are so big you should probably leave that to user to manage.. if that means using zip instead, well thats what i would do... your increasing rate of failure by automating extraction... i'd rather get asked howto then error messages. If you do include extract logic in deb, i would make icon or command for it instead of postinst.... 20 minute installer cylons are not pleasant.
It seems like the best way to make this process easy. That's what I want. I want a "Debian appliance" that is easy for newbies, and you're right, "20 minute installer cylons are not pleasant."
EDIT... I should probably make my scripts more failure-resistant... put if statements, check for the existence of files, that sort of thing...
EDIT2: I can't seem to make the package dependent on bzip2, Application Manager just shrugs and says it can't find it, even in red pill mode. I don't get it.
I want a "Debian appliance" that is easy for newbies
Many thanks to qole et. al. for this very attitude. I'm looking forward to the .deb. Will your package run into problems with Diablo, that you can foresee, anyways?
This would provide command like ext2chootrun which would (mount filesystem, run command, unmount filesystem)... or i could just mount and leave open. Base commands for mounting, chroot setup, and unmounting would be sudo-able.
Unmounting is often difficult, because many applications start up and then keep running in the chroot. Also, several system paths (/dev, /media, /home/user, etc) get bound into the chroot to make the chroot programs aware of the system... I've found that the only sure way to "close" the chroot is to reboot.
hey guys, im a newbie with linux, and i got my n800 a few days ago. I am trying to test out your method. I have os2008, and the nokia n800. Im currently at the step were you untar the 1gb blank memory partion.
I am willing to test out your installer files and images, it can benefit both of us.
(this seems to be the easiest way to chroot Debian.)
Please help,
maxzar100
UPDATE: i have successfully un tarred the 1gb memory partion, but i am trying to figure out how to mount the dam thing.
Unmounting is often difficult, because many applications start up and then keep running in the chroot. Also, several system paths (/dev, /media, /home/user, etc) get bound into the chroot to make the chroot programs aware of the system... I've found that the only sure way to "close" the chroot is to reboot.
Maybe you should think of incorporating the dynamic symlink technique used in scratchbox. It seems to me mixing and matching a combination of environment variables, dynamic symlinks, binding mounts and a chroot can get you where you want to go.
Maybe you should think of incorporating the dynamic symlink technique used in scratchbox....
Well, scratchbox has the luxury of a nested X-server (Xephyr). You aren't trying to run all of your applications on the same X server and share as much of the same environment as possible like I'm trying to do here.
UPDATE: i have successfully un tarred the 1gb memory partion, but i am trying to figure out how to mount the damn thing.
You've done the hard part! Really! It's super easy from here on.
Now you put the debian.img.ext2 file on the root folder of your SD card, and then you install one of the two .deb files that I attached to this post.
Install either the mmc1 deb or the mmc2 deb using the Application Manager and then run your Debian apps by choosing your new menu icons. It's that simple. If you just want to mount it and get the Debian command line, there's an icon for that too.