Re: [PATCH] Add support for lpia arch

2009-04-15 Thread Daniel Baumann
Cody A.W. Somerville wrote: > Refreshed the patch and made recommended changes. diff --git a/functions/defaults.sh b/functions/defaults.sh index 06e1478..c358ddb 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -518,6 +518,19 @@ Set_defaults () LH_L

Re: [PATCH] Unmount all mounts in chroot

2009-04-15 Thread Daniel Baumann
Juan Jesús Ojeda Croissier wrote: > I did in another project time ago something similar, but you have to > keep in mind that some times there are nested mount points and you > need to unmount them in the proper order. indeed... + for DIRECTORY in $(awk '/\/chroot\// { print $2 }' /proc/moun

Re: [PATCH] Unmount all mounts in chroot

2009-04-15 Thread Juan Jesús Ojeda Croissier
Hi, Cody :-) On Thu, Apr 16, 2009 at 1:30 AM, Cody A.W. Somerville wrote: > Hello, > >  As discussed on IRC earlier, here is a patch that removes the hard coded > calls to umount in functions/exit.sh and instead looks at /proc/mounts to > determine all active mounts within a chroot and attempts t

Re: [PATCH] Add support for lpia arch

2009-04-15 Thread Cody A.W. Somerville
On Wed, Apr 15, 2009 at 5:18 PM, Daniel Baumann wrote: > > rest looks ok, however, please have a look at it again now that the > ubuntu mode is included. Refreshed the patch and made recommended changes. Cheers, -- Cody A.W. Somerville Software Systems Release Engineer Foundations Team Cust

[PATCH] Unmount all mounts in chroot

2009-04-15 Thread Cody A.W. Somerville
Hello, As discussed on IRC earlier, here is a patch that removes the hard coded calls to umount in functions/exit.sh and instead looks at /proc/mounts to determine all active mounts within a chroot and attempts to umount each one. Cheers, -- Cody A.W. Somerville Software Systems Release Engine

Re: [PATCH] Add support for lpia arch

2009-04-15 Thread Daniel Baumann
Cody A.W. Somerville wrote: > I'd like to use live-helper to build images for lpia, I've created a small > patch to fix this. diff --git a/functions/architecture.sh b/functions/architecture.sh index cd8e073..dedfdf7 100755 --- a/functions/architecture.sh +++ b/functions/architecture.sh @@ -74,7 +

Re: [PATCH] Added Ubuntu mode.

2009-04-15 Thread Daniel Baumann
Cody A.W. Somerville wrote: > * Updated helpers/lh_{binary,source}_disk to brand files written under > .disk in the image based on the mode. Its a bit of a hack but I figured > I'd include it in the patch to prompt discussion on a better solution. > Maybe a new option or maybe the addition of some

Re: [PATCH] Added Ubuntu mode.

2009-04-15 Thread Cody A.W. Somerville
Hi Daniel, On Wed, Apr 15, 2009 at 10:25 AM, Daniel Baumann wrote: > Cody A.W. Somerville wrote: > > Hello Folks, > > Hi, > > generellay everything fine, just a few cosmetic issues.. > > Thanks for the quick review. I've made all the changes you suggested as well as: * Added ubuntu release dat

Re: lh_bootstrap_copy

2009-04-15 Thread Daniel Baumann
yban...@gmail.com wrote: > How can I clone my system ? CONFIG=clone lh_config --bootstrap copy lh_build note that this is *experimental* for both that above syntax will change (the CONFIG=clone thing is just needed because of an old leftover) and that it's fairly untested. you have been warned, d

Re: Little help with configuration needed.

2009-04-15 Thread Daniel Baumann
Ja wrote: > how do I prevent debian live from automatically logging in into "user" > account and whats the "user" account password? check manpage of live-initramfs. > Is it safe to delete this account and create new one to setup everything > correctly? if you disable autologin and sudo through

lh_bootstrap_copy

2009-04-15 Thread yban...@gmail.com
Hi All How can I clone my system ? I need help with command Many Thanks -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Little help with configuration needed.

2009-04-15 Thread Ja
Hello, I need little help with configuration... First of all... how do I prevent debian live from automatically logging in into "user" account and whats the "user" account password? Is it safe to delete this account and create new one to setup everything correctly? Is debian live safe as a serv

Re: [PATCH] Added Ubuntu mode.

2009-04-15 Thread Daniel Baumann
Cody A.W. Somerville wrote: > Hello Folks, Hi, generellay everything fine, just a few cosmetic issues.. diff --git a/functions/defaults.sh b/functions/defaults.sh index 2b2e3f7..dfe8d48 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -25,6 +25,10 @@ Set_defaults ()

[PATCH] Added Ubuntu mode.

2009-04-15 Thread Cody A.W. Somerville
Hello Folks, I've created a patch to add Ubuntu mode to live-helper. The patch mostly touches functions/defaults.sh but also makes a few small tweaks helpers/lh_chroot_sources which I'm hoping can be reverted in the future by removing the hard coded security suite names from helpers/lh_chroot_sou

Re: PHP as client

2009-04-15 Thread Tzafrir Cohen
On Wed, Apr 15, 2009 at 12:33:43PM +0200, Ja wrote: > Hi, > Persistent mode works, but I have kinda problem... I'm doing apt-get install > apache2, apt-get install php5 ... but... php doesnt work in client mode... i > mean when i write php it says there is no such a file... i was looking for > p

PHP as client

2009-04-15 Thread Ja
Hi, Persistent mode works, but I have kinda problem... I'm doing apt-get install apache2, apt-get install php5 ... but... php doesnt work in client mode... i mean when i write php it says there is no such a file... i was looking for php binary file everywhere and it's not there... what should I