Re: ArtistX 0.6 question: rewrite wiki and manual

2008-10-07 Thread Marco Amadori
On Monday 06 October 2008 22:05:27 Marco Ghirlanda wrote:

 1) if I use the config/chroot file for installing a lot of software
 (2000) I will get a xargs error about cp not able to copy because of an
 Argument list too long. So I enable the interactive build and apt-get
 from inside the chroot.

You should really use a custom package file list, not specify packages like 
that!

Write your file list in config/chroot_local-packageslist and enabled it with 
--packages-list=your_list_filename lh_config option.

 2) One thing it took me a long time to fix is that installing the
 motion software will prevent Debian Live from creating the ArtistX
 user with GID 1000, since motion is creating exactly the same GID for
 its user. What can be done? Ask the motion Debian packager to change the
 GID?

Sure, system users should have gids  1000 (useradd -r), so this is a bug of 
motion packager IMHO.

Anyway, you could fix this with a hook script that just seds some strings 
from /etc/{passwd,group, shadow} and chown that user's $HOME meanwhile.

 4) I don't know how to write a script so I'm out of luck for istant NTFS
 support, which needs the user ArtistX to be added to the fuse group.

debconf preseeding could be pesky at first times, I know :-)

 5) The installer is not working:

Here it works, really :-)

 I enable the live installer, but when
 I try both Graphical and Text install I get a message after cdrom
 detection saying that the kernel modules could not be found, so the
 installation cannot continue. 

Are you using daily installer? I'm using it since 1 month for sid's builds and 
everything work as expected or even better.

 That's all guys, hope it's useful infos for Debian Live newbies/not so
 advanced users like me :-)

Nobody borns skilled.

 I will turn all this into a tutorial, if you wish.

Sure! We lack tutorials as well as good documentation.

-- 
ESC:wq


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ArtistX 0.6 question: rewrite wiki and manual

2008-10-06 Thread Marco Ghirlanda

Hi all, time to report back!

ArtistX 0.6 seems running fine, it was a 3 day attempt but at the end I 
got it. :-)


Here's what I did (I'm preparing the tutorial):

A) create graphics customizations:

- create a 640x480 splash.png image for the isolinux background, put 
into config/binary_local-includes/isolinux/data/
- customize the README.html, README.mirrors.html  cdrom files and 
put them into config/binary_local-includes/
- create a 1024x768 background-color.png image for the splashy 
background, put into 
config/chroot_local-includes/etc/splashy/themes/moreblue-orbit
- create a 1024x768 moreblue-orbit-wallpaper.svg (infact is a jpeg just 
renamed to .svg), put into 
config/chroot_local-includes/usr/share/images/desktop-base/


B) create a starting ISO (adding only splashy, splashy themes, kcontrol, 
konqueror, tango-icons-theme as a start to customize more after):


1) lh_config in an ARTISTX_0.6 directory somewhere on my Desktop
2) change config accordingly to my parameters (I'll try to keep online 
the config dir, which is the best place on Debian Live website? - or I 
could upload it on ArtistX website and link there). I change many 
things, most notably enabling the interactive build for later 
customizations.

3) lh_build
4) running live I install GNOME and KDE themes, enable the Debian Menu 
(otherwise many apps wont show in the normal Gnome menu and customize 
the Desktop (except for the background), copy /home/artistx/ into /tmp , 
compress it, send it to my building machine and put relevant files 
(.gnome2, .kde, .config, .local ...) it into 
config/chroot_local-includes/etc/skel/


C) create the final ISO

1) lh_build
2) when it has finished installing Gnome (gnome-full list) or Kde 
(kde-full list) it brings me to the prompt where I apt-get install all 
multimedia software

3) apt-get clean
4) update-menus
5) update-rc.d -f service-name remove to remove unnecessary starting 
services (like mysql or apache2 brought in by other software)

6) exit to start the building process

That's all, few problems:

1) if I use the config/chroot file for installing a lot of software 
(2000) I will get a xargs error about cp not able to copy because of an 
Argument list too long. So I enable the interactive build and apt-get 
from inside the chroot.
2) One thing it took me a long time to fix is that installing the 
motion software will prevent Debian Live from creating the ArtistX 
user with GID 1000, since motion is creating exactly the same GID for 
its user. What can be done? Ask the motion Debian packager to change the 
GID?
3) For some reason the file used for splashy background and Desktop 
background seems to default to the MoreBlue-Orbit theme
4) I don't know how to write a script so I'm out of luck for istant NTFS 
support, which needs the user ArtistX to be added to the fuse group.
5) The installer is not working: I enable the live installer, but when 
I try both Graphical and Text install I get a message after cdrom 
detection saying that the kernel modules could not be found, so the 
installation cannot continue. I think this is something regarding some 
modules debs name being too long for the ISO standard and being 
converted to shorter names just before .iso creation (after squash file 
creation). To whom should I report?


That's all guys, hope it's useful infos for Debian Live newbies/not so 
advanced users like me :-)

I will turn all this into a tutorial, if you wish.

Ciao all,

Marco


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ArtistX 0.6 question: rewrite wiki and manual

2008-09-29 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Sep 29, 2008 at 10:41:19AM +0200, Marco Ghirlanda wrote:
 Hi All,
 I'm in the process of building the new ArtistX [...]

 1) how to use external apt sources and make sure they will go into the 
 final iso? Need to add only debian-multimedia.org packages.

As far as I understand, that's what the settings LH_MIRROR_* in
config/bootstrap are for:

  LH_MIRROR_BOOTSTRAP # to bootstrap the build

  LH_MIRROR_CHROOT
  LH_MIRROR_CHROOT_SECURITY # to acutally load the packages during build

  LH_MIRROR_BINARY
  LH_MIRROR_BINARY_SECURITY # what the built system refers to (i.e. its
# sources.list)

Please someone correct me if I'm way off :-)

 2) how to add the user artistx to various groups for making effective the 
 installation of software like ntfs3g or other packages that require that 
 the user is added to groups he is not part of.

The live user gets added at boot time of the live system (*not* at build
time). This surprised me too :-)

So to add it to some groups, you'll have to hook into that. Possibly
you'll have to (programmatically) modify the adduser script in the
target's system initramfs, as in the second recipe in the FAQ:

  
http://wiki.debian.org/DebianLive/FAQ#head-5bb88fb88b407750f2f8ca0c02ca59b18e163bca

Looks a bit scary ;-)

Maybe some hook script would be nice here? Why is the live user
generated so late in the process (i.e. at boot time instead of at build
time)?

Don't know about your third question.

Regards
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFI4J4xBcgs9XrR2kYRAp3dAJ9aAMDDWUMH+Sy/Y6FzWUKhwT8izgCfYaBy
OK+2mvIhB5ongmaRzUAeJtE=
=eyZf
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ArtistX 0.6 question: rewrite wiki and manual

2008-09-29 Thread Marco Ghirlanda

Thanks everybody for the replies.
I didn't understand so much the hook thing. Should I add a script that 
basically repeats usermod commands but where (which dir)? And when will 
be run? (I mean at which point of the iso creation or booting?)
Groups are really important for many application, is there a simple way 
of adding my user to a list of groups? Without this I get lots of 
complains from people about not supporting ntfs and such things.


After I sort this out I will to write relevant infos and possibly upload 
to the documentation or send it to the right person to publish it 
(Daniel?).

Again thanks everybody (especially the developers),

Marco


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]