Re: List of Live CD based on Debian Live

2007-03-04 Thread Andreas Schockenhoff
Hi,

On Saturday 03 March 2007 23:46, Marco Ghirlanda wrote:
 Had in idea today talking to another dev of live cd about DL.
 Why don't we put on the wiki links to the live cd done with DL with a
 short description, the link and a screenshot?
 In my case, I would put also my conf file if possible. My project is
 www.artistx.org
Very nice.

Can you put the configuration file in the Wiki? I am interested in 
advanced examples. 

May be you like to make a nice alternate boot and splash screen for 
debian live? 

 I think it maybe a good way of getting the thing outside to people.
 In a way DL is WAY better than current projects for making live cd's.
In my eyes it is rapidly going better and better. And I think it is the 
only live CD that non experts can build?

bye Andreas 

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


Re: lh_installapt patch

2007-03-04 Thread Daniel Baumann
Kai Hendry wrote:
 aptitude was mistyped. And it needed to be forced to install the
 keyring.

thanks, fixed in svn, upload of .24 happens in a few minutes.

 Keep up the good work!

thanks, i'll try :)

-- 
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


LIVE_BOOTAPPEND

2007-03-04 Thread Cédric Lucantis
Hi,

one more variable which is not exported and then ignored: LIVE_BOOTAPPEND. 
(actually it's only exported in Main() if you use the --bootappend command 
line; I'd say all these exports are useless as they are redundant with those 
in Defaults())
The attached patch just adds it in defaults.sh

-- 
Cédric Lucantis
Index: src/scripts/02defaults.sh
===
--- src/scripts/02defaults.sh	(révision 335)
+++ src/scripts/02defaults.sh	(copie de travail)
@@ -372,5 +372,5 @@
 
 	# Variables that do not have defaults but need to be exported to
 	# allow other helpers to use their values
-	export LIVE_BOOTSTRAP_CONFIG LIVE_PRESEED LIVE_INCLUDE_CHROOT
+	export LIVE_BOOTSTRAP_CONFIG LIVE_PRESEED LIVE_INCLUDE_CHROOT LIVE_BOOTAPPEND
 }
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: LIVE_BOOTAPPEND

2007-03-04 Thread Daniel Baumann
Cédric Lucantis wrote:
 one more variable which is not exported and then ignored: LIVE_BOOTAPPEND. 
 (actually it's only exported in Main() if you use the --bootappend command 
 line; I'd say all these exports are useless as they are redundant with those 
 in Defaults())

game of today: who finds another one? :)

 The attached patch just adds it in defaults.sh

thanks, also applied in svn.

-- 
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


Processing of live-package_0.99.24-1_i386.changes

2007-03-04 Thread Archive Administrator
live-package_0.99.24-1_i386.changes uploaded successfully to localhost
along with the files:
  live-package_0.99.24-1.dsc
  live-package_0.99.24.orig.tar.gz
  live-package_0.99.24-1.diff.gz
  live-package_0.99.24-1_all.deb

Greetings,

Your Debian queue daemon

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


live-package_0.99.24-1_i386.changes ACCEPTED

2007-03-04 Thread Debian Installer

Accepted:
live-package_0.99.24-1.diff.gz
  to pool/main/l/live-package/live-package_0.99.24-1.diff.gz
live-package_0.99.24-1.dsc
  to pool/main/l/live-package/live-package_0.99.24-1.dsc
live-package_0.99.24-1_all.deb
  to pool/main/l/live-package/live-package_0.99.24-1_all.deb
live-package_0.99.24.orig.tar.gz
  to pool/main/l/live-package/live-package_0.99.24.orig.tar.gz


Override entries for your package:
live-package_0.99.24-1.dsc - source misc
live-package_0.99.24-1_all.deb - optional misc

Announcing to debian-devel-changes@lists.debian.org
Closing bugs: 412325 


Thank you for your contribution to Debian.

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


Bug#412325: marked as done (make-live doesn't include custom chroot)

2007-03-04 Thread Debian Bug Tracking System
Your message dated Sun, 04 Mar 2007 13:02:06 +
with message-id [EMAIL PROTECTED]
and subject line Bug#412325: fixed in live-package 0.99.24-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

---BeginMessage---
Package: live-package
Version: 0.99.23-1

lh_includechroot doesn't see LIVE_INCLUDE_CHROOT because it is not exported by 
02defaults.

Please consider :

--- 02defaults.sh.old   2007-02-21 22:10:15.0 +0100
+++ 02defaults.sh   2007-02-25 14:28:20.0 +0100
@@ -366,4 +366,10 @@
# Variables that do not have defaults but need to be exported to
# allow other helpers to use their values
export LIVE_BOOTSTRAP_CONFIG
+   export LIVE_INCLUDE_CHROOT
 }


Cheers

-- 
Mathieu

---End Message---
---BeginMessage---
Source: live-package
Source-Version: 0.99.24-1

We believe that the bug you reported is fixed in the latest version of
live-package, which is due to be installed in the Debian FTP archive:

live-package_0.99.24-1.diff.gz
  to pool/main/l/live-package/live-package_0.99.24-1.diff.gz
live-package_0.99.24-1.dsc
  to pool/main/l/live-package/live-package_0.99.24-1.dsc
live-package_0.99.24-1_all.deb
  to pool/main/l/live-package/live-package_0.99.24-1_all.deb
live-package_0.99.24.orig.tar.gz
  to pool/main/l/live-package/live-package_0.99.24.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann [EMAIL PROTECTED] (supplier of updated live-package package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.7
Date: Sun,  3 Mar 2007 12:25:00 +0100
Source: live-package
Binary: live-package
Architecture: source all
Version: 0.99.24-1
Distribution: unstable
Urgency: low
Maintainer: Debian Live debian-live-devel@lists.alioth.debian.org
Changed-By: Daniel Baumann [EMAIL PROTECTED]
Description: 
 live-package - utility to build Debian Live systems
Closes: 412325
Changes: 
 live-package (0.99.24-1) unstable; urgency=low
 .
   * New upstream release:
 - adds LIVE_INCLUDE_CHROOT to the manual exported variables as reported by
   Mathieu Geli [EMAIL PROTECTED] (Closes: #412325).
Files: 
 95f0156e9d9b0e3e68cd9a4bee99083b 693 misc optional live-package_0.99.24-1.dsc
 65ca11953b90547ba0e22a8121d0a995 1739729 misc optional 
live-package_0.99.24.orig.tar.gz
 0a3a5fd8f5128707337d3851b454811a 4281 misc optional 
live-package_0.99.24-1.diff.gz
 cc8357c78cee2b41f0e163194f1dfda3 1712404 misc optional 
live-package_0.99.24-1_all.deb

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF6sHg+C5cwEsrK54RAgFwAJ48apNMDSHeA1pCFhrm92a4/A1ZVwCfT1lY
dX8jA4xWOnZM55YXIEx/z/E=
=/f4j
-END PGP SIGNATURE-

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

Wishes Granted: live cd, gtk/text D-I, debian.exe, memtest

2007-03-04 Thread Scott Edwards
I for one have longed for a all in one CD that will boot a live system. It's 
great for repair jobs, or just the what if, as we all know.  Also, the new 
GTK netboot is s sexy, even die hard command line geeks will dig it. 

For brevity, I will *assume* you can connect all these dots.  Don't be 
afraid to read it more then once to let it sink in. (I'm a scatter brain at 
this hour, I wanted sleep 5h ago)  So what did I build?  I built a base 
make-live image with these added features: 


Grub Bootloader: (* = default)
* Debian Live (naturally) - base (no gui. try a gui if you wish...)
TODO: D-L with amd64 kernel
Memtest86
Debian-Installer GTK i386
Debian-Installer Text i386
Debian-Installer GTK amd64
Debian-Installer Text amd64 


Also on the CD:
Windows32/64 Debian-Installer autorun
Debian logo for the CD (swirl.ico from win32-loader in autorun)
Grub for DOS 

Ok, I'm not sure if bug #412301 is fixed at the time of this writing, but I 
ran a shorter variant of using the shell as your all in one hook.  In the 
end, it turns out I really didn't need it, as you'll see later if you review 
all this.  Feel free to modify this to taste to use a GUI and your favorite 
window manager etc. 


$ sudo make-live --hook sh
... some time later
casper# 

Install grub, but do not probe for a harddisk - hah it's live, what 
harddisk? :) 

I think you can install the amd64 kernel + module here.  This should allow 
TODO in the grub menu to work.  I have no amd64 system, so I have to beg 
for access on a nearby system :).  Rumor has it you can run amd64 kernel and 
use a i386 userland, but I haven't tested... 

My copy of the grub menu.lst (and the 120mb cd I'm talking about here) is at 
http://www.goodbye-windows.com/downloads/  If you inspect the menu.lst, 
you'll see I disregarded some use of update-grub, because we had to get it 
right once, and it'll stay this way on CD.  Do not use the savedefault 
option. you can't write back :)  The lastest known good Win32 based loader 
is debian-20070303-161637.exe.  If it yells this os isn't supported, 
consider backing out, or be prepared to use a workaround (see below). 

URLs to fetch todays GTK (and textmode failsafe) installers for amd64 and 
i386: 


http://people.debian.org/~joeyh/d-i/images/daily/
netboot/gtk/debian-installer/i386/initrd.gz 


http://people.debian.org/~aba/d-i/images/daily/
netboot/gtk/debian-installer/amd64/initrd.gz 

If in doubt, the linux file in the same directory is the kernel to use 
with these. However, it /should/ be the same as sid. download if in doubt, 
but my last attempt showed the md5 sums are identical. 

It's important to sync chroot/boot/ over into binary/boot/ 

$ sudo rsync -av chroot/boot/ binary/boot/ 

We need the stage2 loader for eltorito. 

$ sudo cp chroot/usr/lib/grub/i386-pc/stage2_eltorito binary/boot/ 

Then we make the CD: 

$ sudo mkisofs -R -J -b boot/grub/stage2_eltorito -no-emul-boot 
-boot-load-size 4 -boot-info-table -o dual-live-di.iso binary/ 

I tried testing in qemu, but it was unable to boot this image.  I tested 
vmware-server (It's now $0, but not FOSS) which boots the CD, and booted all 
targets without issue. 

## Win32-loader notes: 


autorun.inf: [dos]
open=\tools\win32-loader.exe
icon=\tools\swirl.ico 


Grab the icon:
$ sudo wget http://www.goodbye-windows.com/favorite.ico -O 
binary/tools/swirl.ico 

Be advised that Win95+98 need to use grub.exe+grub.pif in c:\ as a 
workaround until win32-loader is updated.  Launch grub.pif to restart in dos 
realmode when grub.exe is called. 

WinMe (without great and excessive pain) will not support how win32-loader 
uses grub.exe (dos realmode). 

Also, win32-loader does not support Vista at this time.  The only known 
workaround is to drop back to any other supported Windows release.  It 
appears the Vista bootloader (see technet/msdn for bcdedit.exe) launches 
Windows PE binaries (eg, memtest.exe and winload.exe).  Grub for DOS does 
not support this. (help welcome) 

And that's that.  If I had a 64bit system, I could test amd64 better... 

Enjoy =-) 



Scott Edwards
Daxal Communications - http://www.daxal.com/?from=debian+live


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


Bug#394334: make-live: Should clean up after itself

2007-03-04 Thread Hadar

Hi,

trap solves this problem.
When the script exits with an error during the chroot phase, the script goes
to a clean function that also umount /proc.
I made some tests but the patch is probably not flawless...

Cheers,
Hadar


On 10/20/06, Bas Wijnen [EMAIL PROTECTED] wrote:


Package: live-package
Version: 0.99.10-1

When make-live finishes, it leaves debian-live/chroot/lib/init/rw/
mounted.
It also often does this when it is aborted.  Also, debian-live/chroot/proc
is
mounted if the hook script is aborted (that is, if it exits non-0).

Any mounts in the chroot should be properly cleaned up on exit (no matter
how,
except of course via a KILL signal).

Thanks,
Bas

--
I encourage people to send encrypted e-mail (see http://www.gnupg.org).
If you have problems reading my e-mail, use a better reader.
Please send the central message of e-mails as plain text
   in the message body, not as HTML and definitely not as MS Word.
Please do not use the MS Word format for attachments either.
For more information, see http://pcbcn10.phys.rug.nl/e-mail.html

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFORRmFShl+2J8z5URAnWRAJ9wA2xmpHRWHiucw8jTVE4jdwbbXQCfRCgr
N8EFZrXZfGZSg+j/JaIwm40=
=Ru7f
-END PGP SIGNATURE-


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


--- /usr/share/make-live/scripts/13chroot.sh	2007-03-04 14:55:40.0 +0200
+++ /home/hadar/dev/13chroot.sh	2007-03-04 15:24:04.0 +0200
@@ -9,10 +9,8 @@
 # This is free software, and you are welcome to redistribute it
 # under certain conditions; see COPYING for details.
 
-Chroot ()
+Preconfigrure()
 {
-	if [ ! -f ${LIVE_ROOT}/.stage/chroot ]
-	then
 		# Configure chroot
 		lh_patchchroot apply
 		lh_patchrunlevel apply
@@ -27,6 +25,9 @@
 		lh_setupapt custom initial
 		lh_configapt apply-proxy
 		lh_configapt apply-recommends
+}
+Install()
+{
 
 		# Install aptitude
 		lh_installapt
@@ -59,26 +60,46 @@
 
 		lh_manifest
 
-		lh_cleanapt
 
-		# Workaround binfmt-support /proc locking
-		umount ${LIVE_CHROOT}/proc/sys/fs/binfmt_misc  /dev/null || true
+}
+Clean()
+{
+	lh_cleanapt
+
+	# Workaround binfmt-support /proc locking
+	umount ${LIVE_CHROOT}/proc/sys/fs/binfmt_misc  /dev/null || true
 
-		# Unmount proc
-		umount ${LIVE_CHROOT}/proc
+	# Unmount proc
+	umount ${LIVE_CHROOT}/proc
 
-		# Deconfigure network
-		lh_patchnetwork deapply
+	# Deconfigure network
+	lh_patchnetwork deapply
 
-		# Deconfigure chroot
-		lh_patchrunlevel deapply
-		lh_patchchroot deapply
+	# Deconfigure chroot
+	lh_patchrunlevel deapply
+	lh_patchchroot deapply
+}
 
-		# Touching stage file
-		touch ${LIVE_ROOT}/.stage/chroot
-	fi
 
-	# Check depends
+Chroot ()
+{
+	if [ ! -f ${LIVE_ROOT}/.stage/chroot ]
+	then
+		#make sure to clean up even when things fails
+		trap Clean EXIT
+		
+		Preconfigrure
+		Install
+		Clean
+		
+		#untrap
+		trap  EXIT
+	fi
+	
+	# Touching stage file
+	touch ${LIVE_ROOT}/.stage/chroot
+	
+		# Check depends
 	if [ `grep dosfstools ${LIVE_ROOT}/packages.txt` ]
 	then
 		KEEP_DOSFSTOOLS=true
@@ -103,4 +124,5 @@
 	then
 		KEEP_SYSLINUX=true
 	fi
+	
 }
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

how to make a really small debian on usb

2007-03-04 Thread Cheng Liangyu

Hello everyone, I'm new here.
   I use debian/sid, and have installed the live-package.

   I edited the configuer file /etc/make-live.conf with usb/mini/sid,
then run make-live.
# make-live
   It stopped with error below:
/usr/sbin/lh_configapt: line 26:
/root/debian-live/chroot/etc/apt/apt.conf.d/00make-live_recommends.conf: No
such file or directory
   But there was no directory named apt.conf.d in
/root/debian-live/chroot/etc/apt/,
so I made the apt.conf.d dir,  unmount the proc-live fs, and run
make-live again.
# mkdir /root/debian-live/chroot/etc/apt/apt.conf.d/
# umount /root/debian-live/chroot/proc
# make-live
This time it worked, and generated a img file successfully.
   Is it a bug?

   And I want to make a really small debian on usb with GUI.
I think I should use buzybox instead of coreutils, and fluxbox.(and use upx
compress the binary?)
   How to do this?

   Last question, is it possible to build a debian on usbkey with fat32
format (such as RIP Linux)?
So I can use its rest space in WindowsXP.
Sorry for poor English.
___
Debian-live-devel mailing list
Debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel