maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

lcjdot 2009-02-18 02:53

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Hi guys. I keep getting an "Application package not found" for the easy-deb-chroot. What am I doing wrong?

qole 2009-02-18 05:13

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
pipeline: if you call "ezchroot" with "none" as your image/partition parameter, it will just chroot and not attempt to mount anything. Does that help at all?

ie

Code:

ezchroot none /opt oowriter
This will chroot into /opt (whatever's there) and run oowriter.

It does the binds as part of the chroot, not part of the mount. So it will bind all the system dirs into /opt.

As for the flags stuff... I'm a bit vague as to what you're asking there...

EDIT: Ok, so I figure I need to get the error-checking working here, and I need to break this into three parts:
  1. Mount an image/partition to the chroot dir, stop if this fails (currently, script continues if this fails! :eek: :o)
  2. Bind the system directories into the chroot dir, stop if there are problems (same as above, currently no error checking here)
  3. Chroot into the chroot dir, run the given commands

I think I'll break #1 right out into its own script.

qole 2009-02-18 05:17

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
lcjdot: Are you using the new version in my repository? If not, it may be that you aren't running Diablo and I only have Easy Debian in the Diablo Extras repository...

pipeline 2009-02-19 00:06

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
qole, i tried using the script as mentioned above (passing none) but your script does a test on line 28 to see if its a real file but its not so it puts up that error message and quits.

So i hacked a condition in there (not sure if syntax is right but it worked) :
if [ ! -f "$IMGFILE" ] && [ ! -b "$IMGFILE" ] && [ "x$IMGFILE" != "xnone" ] ; then
...

and it seems to work.

Unfortunately for some reason your script seems to return immediately? I dont see how your doing the chroot any different from my old script but my old script would pause on the chroot line of script until execution completed and then i automatically clean things up. For debian i guess its best to leave things open and connected but i have multiple apps timesharing the same mountpoint(s).

First can you confirm your script is asynchronous in this way i described (script completes before the process it launches via chroot completes) ?

Then can you tell if it would be worthwhile to add that capability as an option?

As far as i can tell it otherwise worked so it may not be necessary to split things up for my purpose... but my scripts do break everything up into mount/init/run/chroot/shutdown/graft/etc operations so i wont say that would be a bad thing.

Once again don't worry too much about my program, but wanted to give feedback in case you want to support that level of control.

lcjdot 2009-02-20 18:09

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
qole!
Thank you for all of your hard work! So far, so good. I will reply if there are any issues but I will look through the thread for a resolution first. I should have read the very FIRST line in the thread to know to go to your repository to load the install. Oh well. Thank you again!
lcjdot

foxdanger 2009-02-26 18:56

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
i dont understand, i download and install everthing... but even after the reboot, i try to run the aplications and they not run...

For example:

I just go to the menu settings and click on the Set Debian HW keys and nothing happens...


i need click in some other thing to start the program?

foxdanger 2009-02-26 18:58

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I try the LXDE and works fine :D

qole 2009-02-26 19:10

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by foxdanger (Post 267359)
I just go to the menu settings and click on the Set Debian HW keys and nothing happens...

foxdanger: The "Set Debian HW Keys" menu item is a bit different than the other apps. This icon allows you to use hardware key combinations in maemo (not LXDE) to make Debian apps fullscreen and toggle an on-screen keyboard for Debian apps.

From the First Post:
Quote:

Q: How do I get the virtual keyboard to pop up in Debian Apps?
A: Select the "Set Debian HW Keys" menu item; wait a bit, then you can press the minus (-) hardware key followed by the menu hardware key to toggle the Matchbox Keyboard. Press the (-) key then the (+) key to toggle between normal and mini (one-line) keyboards.

Q: How do I make Debian apps fullscreen?
A: Select the "Set Debian HW Keys" menu item; wait a bit, then you can press the minus (-) hardware key followed by the "fullscreen" hardware key to toggle fullscreen for any app.

foxdanger 2009-02-26 19:41

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
UMMMMM

this is only for 810 so?!

Because n800 dont have hardware keys....

The rest works fine!

This is incredible man, the debian desktop is perfect! The other programs for debian run on this version too? And this system have any games?

PS: CONGRATULATIONS FOR U QOLE! THIS IS A INCREDIBLE TOOL! TNX!

qole 2009-02-26 19:49

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by foxdanger (Post 267372)
Because n800 dont have hardware keys....

Allow me to show you what I mean: :D

http://farm1.static.flickr.com/229/4...ffe440180a.jpg

http://m.thetechstop.net/ces07/111.jpg


All times are GMT. The time now is 05:51.

vBulletin® Version 3.8.8