Re: Linux image packages going to depend on python

2009-11-30 Thread Frank Lin PIAT
On Sun, 2009-11-29 at 20:56 +0100, Frank Lin PIAT wrote: > On Sun, 2009-11-29 at 13:56 +0100, Marco d'Itri wrote: > > On Nov 28, Bastian Blank wrote: > > > > > The Linux image packages needs to do some modifications to core > > > configuration files like fstab in the future to allow newer kernels

Re: Linux image packages going to depend on python

2009-11-30 Thread Thilo Six
Noah Meyerhans wrote the following on 30.11.2009 17:42 > On Sun, Nov 29, 2009 at 02:15:41PM -0600, Manoj Srivastava wrote: >> Perhaps you should consider making the script just create a >> ./fstab.new file, and not overwriting /etc/fstab? makes it easier to >> test the script out withou

Re: Linux image packages going to depend on python

2009-11-30 Thread Noah Meyerhans
On Sun, Nov 29, 2009 at 02:15:41PM -0600, Manoj Srivastava wrote: > Perhaps you should consider making the script just create a > ./fstab.new file, and not overwriting /etc/fstab? makes it easier to > test the script out without altering current setup. Keeping a copy of the original fil

Re: Depends/Recommends?: Linux image packages going to depend on python

2009-11-29 Thread Russ Allbery
Neil Williams writes: > Russ Allbery wrote: >> Yeah, but doing string manipulation in C is fairly painful and >> difficult to maintain in the long run. I suspect that shell, sed, and >> awk, despite its disadvantages, would still be easier and clearer than >> using C for this sort of transforma

Re: Depends/Recommends?: Linux image packages going to depend on python

2009-11-29 Thread Neil Williams
On Sun, 29 Nov 2009 12:32:22 -0800 Russ Allbery wrote: > Raphael Geissert writes: > > Osamu Aoki wrote: > > >> Why not keep the main maintainer script to be /bin/sh and use > >> python within optional compoent. I mean: > > > In any case C could be used to avoid any other sort of dependency. >

Re: Depends/Recommends?: Linux image packages going to depend on python

2009-11-29 Thread Russ Allbery
Raphael Geissert writes: > Osamu Aoki wrote: >> Why not keep the main maintainer script to be /bin/sh and use python >> within optional compoent. I mean: > In any case C could be used to avoid any other sort of dependency. Yeah, but doing string manipulation in C is fairly painful and difficul

Re: Depends/Recommends?: Linux image packages going to depend on python

2009-11-29 Thread Raphael Geissert
Osamu Aoki wrote: > > Why not keep the main maintainer script to be /bin/sh and use python > within optional compoent. I mean: > In any case C could be used to avoid any other sort of dependency. Regards, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net -- To UNSUBSC

Re: Linux image packages going to depend on python

2009-11-29 Thread Manoj Srivastava
Hi, On Sun, Nov 29 2009, Frank Lin PIAT wrote: > Find attached an initial attempt to use shell only. Let me know if you > are interested. > > The script is configurable, so a sysadmin can decide to re-rewrite fstab > using DM/LVM names rather than UUID, or volume LABEL, or legacy /dev/hd* > names

Re: Linux image packages going to depend on python

2009-11-29 Thread Frank Lin PIAT
On Sun, 2009-11-29 at 13:56 +0100, Marco d'Itri wrote: > On Nov 28, Bastian Blank wrote: > > > The Linux image packages needs to do some modifications to core > > configuration files like fstab in the future to allow newer kernels to > > work. To do this and the planned further extension I intend

Re: Linux image packages going to depend on python

2009-11-29 Thread Petter Reinholdtsen
[Manoj Srivastava] > This is fine. /etc/fstab is used by mountall.sh, mount, and > swapon explicitly I believe fsck and dump tools also use it to decide when to check and back up the file systems. :) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-devel-requ...@lis

Re: Linux image packages going to depend on python

2009-11-29 Thread Ben Hutchings
On Sun, 2009-11-29 at 13:52 +0100, Andreas Metzler wrote: > Florian Weimer wrote: > > * Manoj Srivastava: > >> It seems to be that a better approach is to inform the user, and > >> let the admin make the changes needed. > > > This is probably true. After all, it could make more sense to

Re: Linux image packages going to depend on python

2009-11-29 Thread Marco d'Itri
On Nov 28, Bastian Blank wrote: > The Linux image packages needs to do some modifications to core > configuration files like fstab in the future to allow newer kernels to > work. To do this and the planned further extension I intend to make all > linux image packages depend on python. This is not

Re: Linux image packages going to depend on python

2009-11-29 Thread Andreas Metzler
Florian Weimer wrote: > * Manoj Srivastava: >> It seems to be that a better approach is to inform the user, and >> let the admin make the changes needed. > This is probably true. After all, it could make more sense to change > from hd* to UUIDs or labels instead of from hd* to sd*, to c

Re: Linux image packages going to depend on python

2009-11-29 Thread Florian Weimer
* Manoj Srivastava: > It seems to be that a better approach is to inform the user, and > let the admin make the changes needed. This is probably true. After all, it could make more sense to change from hd* to UUIDs or labels instead of from hd* to sd*, to compensate for the lack of stab

Depends/Recommends?: Linux image packages going to depend on python

2009-11-28 Thread Osamu Aoki
On Sat, Nov 28, 2009 at 11:00:21PM +, Ben Hutchings wrote: > On Sat, 2009-11-28 at 16:43 -0600, Manoj Srivastava wrote: > > On Sat, Nov 28 2009, Neil Williams wrote: > > > > > On Sat, 28 Nov 2009 18:56:01 +0100 > > > Patrick Matthäi wrote: > > > > > >> Am 28.11.2009 18:52, schrieb Bastian Bla

Re: Linux image packages going to depend on python

2009-11-28 Thread Steve Langasek
On Sat, Nov 28, 2009 at 06:52:42PM +0100, Bastian Blank wrote: > Hi folks > The Linux image packages needs to do some modifications to core > configuration files like fstab in the future to allow newer kernels to > work. To do this and the planned further extension I intend to make all > linux ima

Re: Linux image packages going to depend on python

2009-11-28 Thread Manoj Srivastava
On Sat, Nov 28 2009, Ben Hutchings wrote: > On Sat, 2009-11-28 at 16:43 -0600, Manoj Srivastava wrote: >> On Sat, Nov 28 2009, Neil Williams wrote: >> >> > On Sat, 28 Nov 2009 18:56:01 +0100 >> > Patrick Matthäi wrote: >> > >> >> Am 28.11.2009 18:52, schrieb Bastian Blank: >> >> > Hi folks >> >>

Re: Linux image packages going to depend on python

2009-11-28 Thread Ben Hutchings
On Sat, 2009-11-28 at 16:43 -0600, Manoj Srivastava wrote: > On Sat, Nov 28 2009, Neil Williams wrote: > > > On Sat, 28 Nov 2009 18:56:01 +0100 > > Patrick Matthäi wrote: > > > >> Am 28.11.2009 18:52, schrieb Bastian Blank: > >> > Hi folks > >> > > >> > The Linux image packages needs to do some m

Re: Linux image packages going to depend on python

2009-11-28 Thread Manoj Srivastava
On Sat, Nov 28 2009, Neil Williams wrote: > On Sat, 28 Nov 2009 18:56:01 +0100 > Patrick Matthäi wrote: > >> Am 28.11.2009 18:52, schrieb Bastian Blank: >> > Hi folks >> > >> > The Linux image packages needs to do some modifications to core >> > configuration files like fstab in the future to all

Re: Linux image packages going to depend on python

2009-11-28 Thread Neil Williams
On Sat, 28 Nov 2009 18:56:01 +0100 Patrick Matthäi wrote: > Am 28.11.2009 18:52, schrieb Bastian Blank: > > Hi folks > > > > The Linux image packages needs to do some modifications to core > > configuration files like fstab in the future to allow newer kernels to > > work. To do this and the plan

Re: Linux image packages going to depend on python

2009-11-28 Thread Patrick Matthäi
Am 28.11.2009 18:52, schrieb Bastian Blank: Hi folks The Linux image packages needs to do some modifications to core configuration files like fstab in the future to allow newer kernels to work. To do this and the planned further extension I intend to make all linux image packages depend on pytho

Linux image packages going to depend on python

2009-11-28 Thread Bastian Blank
Hi folks The Linux image packages needs to do some modifications to core configuration files like fstab in the future to allow newer kernels to work. To do this and the planned further extension I intend to make all linux image packages depend on python. The python package is already part of the