Re: apt-proxy usage

2007-04-05 Thread Andrew Donnellan

On 4/5/07, Philippe MONROUX [EMAIL PROTECTED] wrote:

Hello,

Internet  is expensive  in my  paradise  (perhaps it's  the reason  it
is). So before I begin to  fetch packages...  Is it possible to use my
apt-proxy. I mean

ii apt-proxy 1.9.35-0.3  Debian archive proxy and partial mirror builder

Something like (if zandette is the name of my localhost):

,
| # $LIVE_MIRROR_BUILD: set the mirror to fetch packages from
| LIVE_MIRROR_BUILD=deb http://zandette:/debian etch main contrib
non-free
|
| # $LIVE_MIRROR_BUILD_SECURITY: set the security mirror to fetch packages
from
| LIVE_MIRROR_BUILD_SECURITY=http://zandette:/security etch/updates
main contrib non-free
|
| # $LIVE_MIRROR_IMAGE: set the mirror which ends up in the image
| LIVE_MIRROR_IMAGE=http://ftp.debian.org/debian/;
|
| # $LIVE_MIRROR_IMAGE_SECURITY: set the security mirror which ends up in
the image
| LIVE_MIRROR_IMAGE_SECURITY=http://security.debian.org/;
`


Yes, definitely. I have to use the same a lot as here in Australia
internet isn't expensive but just slow - downloading two or three
hundred megs for every Live CD I make isn't exactly my idea of fun.



And  a question about  software to  install. If  I want  xorg, wmaker,
iceweasel,emacs21-nox in a list. I presume I have to create (for example) :

/root/debian-live/config/chroot_localpackageslists/LivePackageList
with :
,
| emacs21-nox
| x11-core
| wmaker
| iceweasel
`

and in /root/debian-live/config/chroot :
,
| # $LIVE_PACKAGES: set the packages to install
| LIVE_PACKAGES=
|
| # $LIVE_PACKAGES_LISTS: set the package list to install
|
LIVE_PACKAGES_LISTS=/root/debian-live/config/chroot_localpackageslists/LivePackageList
`


AFAIK anything that gets placed in chroot_localpackageslists is
included, you don't need to edit any other config file.

--
Andrew Donnellan
ajdlinuxATgmailDOTcom (primary)ajdlinuxATexemailDOTcomDOTau (secure)
http://andrewdonnellan.com http://ajdlinux.wordpress.com
[EMAIL PROTECTED] hkp://subkeys.pgp.net 0x5D4C0C58
   http://linux.org.auhttp://debian.org
   Get free rewards - http://ezyrewards.com/?id=23484
   Spammers only === [EMAIL PROTECTED] ===

___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: the right place

2007-04-05 Thread Philippe MONROUX
Bonjour,

Eric Crastes [EMAIL PROTECTED] a �crit :

 Hi Philippe

 Live-Package is not developped any more !!
 You must use Live-helper now :
 http://archive.daniel-baumann.ch/debian/packages/live-helper/
 it's not already in the Debian Package list, but it work ...
 If need advise in french ;-) you can contact me directly

OK. Merci

-- 
ph


___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: apt-proxy usage

2007-04-05 Thread Chris Lamb
Andrew Donnellan [EMAIL PROTECTED] wrote:

 I have to use the same a lot as here in Australia
 internet isn't expensive but just slow - downloading two or three
 hundred megs for every Live CD I make isn't exactly my idea of fun.

Another solution is to keep your own copy of the Debian archive somewhere
on your local network.

My brother has a cronjob that updates a local copy when he should be
sleeping. The binary i386 archive changes about 200-300Mb a day
apparently, but the initial download is obviously rather steep.

-- 
 Chris Lamb, Cambridgeshire, UK  GPG: 0x634F9A20


signature.asc
Description: PGP signature
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: apt-proxy usage

2007-04-05 Thread Eric Crastes

Hello

With live-helper, in the configuration file common, you have a parameter :

# $LH_CACHE: control if downloaded packages should be cached
# (Default: enabled)
LH_CACHE=enabled

So downloaded package stay on your hard drive.
So when you create an image, if it need a package already in the cache, it
will not download it again !!
Only if a new version exist or you need a new package.

ericc



On 4/5/07, Chris Lamb [EMAIL PROTECTED] wrote:


Andrew Donnellan [EMAIL PROTECTED] wrote:

 I have to use the same a lot as here in Australia
 internet isn't expensive but just slow - downloading two or three
 hundred megs for every Live CD I make isn't exactly my idea of fun.

Another solution is to keep your own copy of the Debian archive somewhere
on your local network.

My brother has a cronjob that updates a local copy when he should be
sleeping. The binary i386 archive changes about 200-300Mb a day
apparently, but the initial download is obviously rather steep.

--
Chris Lamb, Cambridgeshire, UK  GPG: 0x634F9A20

___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: apt-proxy usage

2007-04-05 Thread Philippe MONROUX
Bonjour,

Eric Crastes [EMAIL PROTECTED] a ?crit :

 With live-helper, in the configuration file common, you have a parameter :

 # $LH_CACHE: control if downloaded packages should be cached
 # (Default: enabled)
 LH_CACHE=enabled

 So downloaded package  stay on your hard drive.   So when you create
 an image,  if it need  a package already  in the cache, it  will not
 download it again !!  Only if a  new version exist or you need a new
 package.

OK.  It  seems to  be the  good solution.  Because  to create  a local
mirror...we have to download it before !

Thanks

-- 
Philippe Monroux
55.3W -21.5S
http://perso.orange.fr/zigomaths/
http://www.gral.re


___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: apt-proxy usage

2007-04-05 Thread Daniel Baumann
Eric Crastes wrote:
 So downloaded package stay on your hard drive.
 So when you create an image, if it need a package already in the cache,
 it will not download it again !!
 Only if a new version exist or you need a new package.

right, and the cache is self cleaning (with apt-get autoclean).

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  [EMAIL PROTECTED]
Internet:   http://people.panthera-systems.net/~daniel-baumann/

___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Persistant Cows

2007-04-05 Thread Juergen Fiedler
I was wondering...
Does anyone have a good solution for keeping changes to a Debian Live
system persistent? I see that Casper offers a few options, the most
tempting being a casper-rw partition on the USB stick that I use to
boot Debian. The only problem is that it is flash storage and may not
deal well with being written to all the time.
I tried to create a jffs2 partition and add that to the unionfs
manually (unionctl / --add /mnt/root/cow  unionctl / --mode /cow ro);
the problem here is that a reasonably big jffs2 file system is rather
slow - too slow to be really useful.
Eventually, I will probably try to procure an HD based USB drive, but
in the meantime, I am a bit puzzled. Has anybody found a good way to
work around this while keeping the whole system portable?

Thanks,
 ~Juergen


signature.asc
Description: Digital signature
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: Persistant Cows

2007-04-05 Thread Jonathan Hall
http://wiki.flimzy.com/index.php/Debian_on_USB

I am using this system on 2 production LVS routers now, and on my home
router... it still has room for improvement, but it seems to work pretty
well :)


On Thu, 2007-04-05 at 19:41 +0200, Lluís Gras wrote:
  I was wondering...
  Does anyone have a good solution for keeping changes to a Debian Live
  system persistent? I see that Casper offers a few options, the most
  tempting being a casper-rw partition on the USB stick that I use to
  boot Debian. The only problem is that it is flash storage and may not
  deal well with being written to all the time.
  I tried to create a jffs2 partition and add that to the unionfs
  manually (unionctl / --add /mnt/root/cow  unionctl / --mode /cow ro);
  the problem here is that a reasonably big jffs2 file system is rather
  slow - too slow to be really useful.
  Eventually, I will probably try to procure an HD based USB drive, but
  in the meantime, I am a bit puzzled. Has anybody found a good way to
  work around this while keeping the whole system portable?
 
  Thanks,
   ~Juergen

 I've been working with similar setup, but with ext2 partition in usb
 stick, whithout journaling there are few writes to device.

 It's an option ;-)



 ___
 Debian-live-devel mailing list
 Debian-live-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Persistant Cows

2007-04-05 Thread Juergen Fiedler
On Thu, Apr 05, 2007 at 09:30:31PM +0200, Marco Amadori wrote:
 Alle 19:31, gioved?? 5 aprile 2007, Juergen Fiedler ha scritto:
  I was wondering...
  Does anyone have a good solution for keeping changes to a Debian Live
  system persistent? I see that Casper offers a few options, the most
  tempting being a casper-rw partition on the USB stick that I use to
  boot Debian.
 
 Use casper-sn, so a snapshot, it will write only once per session, at reboot, 
 resyncing the whole /cow onto it.

Doesn't that one work by copying the files from the snapshot to /cow?
I'm working with some systems that aren't too generously equipped with
RAM, so I don't want to put more stuff on the ramdisk than necessary.

Thanks,
 ~Juergen


signature.asc
Description: Digital signature
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: Persistant Cows

2007-04-05 Thread Tony Godshall

 I've been working with similar setup, but with ext2 partition in usb
 stick, whithout journaling there are few writes to device.


Also mount with noatime!  Otherwise any read is also a write!

Otherwise, yes, if you don't have swap and /var/tmp and /var/log and
/tmp and swap using the flash there aren't going to be that many
writes under normal use.  Plus modern flash can take many more writes
than the old stuff (except the cheapo read-only stuff that can only
take a dozen writes or so) and incorporates wear-leveling under the
covers.


It's an option ;-)

I'll give it a shot. Worst case, I'll have an excuse to get a new USB
drive. CyberGuys has a very nive one for less than $20 :)


Get several, and rsync the primary to the backups regularly so when
the primary dies you won't be too sad.  rsync -av --delete is a good
way to duplicate while minimizing writes.

One interesting note- while most flash devices wear out by surprise,
there are some premium ones that measure wear and can be queried as to
their remaining life!

___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


thanks for...

2007-04-05 Thread Philippe MONROUX
java-hook.sh

-- 
Philippe Monroux
55.3W -21.5S
http://perso.orange.fr/zigomaths/
http://www.gral.re


___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel