Global and local lists (for packages) in live-builder

2010-09-20 Thread Mark Schneider

Hi,

I work myself a lot with package lists when creating different debian 
live images.
I guess a lot of you do it in a similar way so far some well proved 
predefinded list would make creating of images faster.


1. Thanks a lot @ Daniel for implementing the local user specfic list of 
packages (a29).


2. As discussed during FrOSCamp 2010 (ETH) some additional lists 
included in live-builder
  would be helpful for live-builder users. I have defined some 
additional package list I need often:

 - latex and latex-light (for small images)
 - awesome
 - env-cn
 - env-ru
 - vbox-ose
 - net-utils
 - vnc-utils
 - sys-utils
 - dev-utils
 - debug-utils
 - pdf-tools
 - dev-qt4

 What lists would make sense to be included in live-builder from your 
point of view?

 Please add your own proposals and/or modify lists I used (s. above)

 I can manage this issue if you like. Thank you for your help and ideas.

3. @ Daniel: you have prepared such list like net-pxeboot already 
(FrOSCamp).

 Are you going to include it (and maybe some more) in a30?

Best regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++

texlive-base
texlive-binaries
# texlive-common
texlive-common
texlive-fonts-recommended-doc
texlive-fonts-recommended
texlive-metapost-doc
texlive-metapost
texlive-math-extra
texlive-pstricks-doc
texlive-pstricks
texlive-lang-polish
texlive-lang-french
texlive-lang-german
texlive-lang-italian
texlive-lang-latin
texlive-lang-portuguese
texlive-lang-spanish
texlive-lang-ukenglish

texlive-doc-base
texlive-doc-de
texlive-doc-en
texlive-doc-es
texlive-doc-fr
texlive-doc-it
texlive-doc-pl
texlive-doc-pt
texlive-doc-ru
texlive-doc-uk
texlive-doc-zh

texlive-generic-recommended
texlive-latex-base-doc
texlive-latex-base
texlive-latex-recommended
# texlive-latex-recommended-doc

texlive-extra-utils
texlive-font-utils
# texlive-fonts-extra-doc
# texlive-fonts-extra
texlive-formats-extra
texlive-generic-extra
texlive-humanities-doc
texlive-humanities
# texlive-latex-extra-doc
texlive-latex-extra
# texlive-latex3
texlive-latex3
texlive-publishers
# texlive-bibtex-extra
texlive-bibtex-extra

latex-cjk-xcjk
context
pandoc
texlive-xetex
ttf-oflb-asana-math

texlive-base
texlive-binaries
# texlive-common
texlive-common
texlive-fonts-recommended
texlive-metapost
texlive-math-extra
texlive-pstricks
texlive-lang-polish
texlive-lang-french
texlive-lang-german
texlive-lang-italian
texlive-lang-latin
texlive-lang-portuguese
texlive-lang-spanish
texlive-lang-ukenglish


texlive-generic-recommended
texlive-latex-base
texlive-latex-recommended

texlive-extra-utils
texlive-font-utils
# texlive-fonts-extra
texlive-fonts-extra
texlive-formats-extra
texlive-generic-extra
texlive-humanities
texlive-latex-extra
# texlive-latex3
texlive-latex3
texlive-publishers
# texlive-bibtex-extra
texlive-bibtex-extra

latex-cjk-xcjk
context
pandoc
texlive-xetex
ttf-oflb-asana-math

# /usr/share/live/build/lists/awesome - package list for live-build(7)

## LH: LXDE
#include 

awesome
awesome-extra

# /usr/share/live/build/lists/env-cn - package list for live-build(7)

zhcon
console-terminus
gucharmap
libt1-5

libscim8c2a
scim
scim-bridge-agent
scim-bridge-client-gtk
scim-gtk2-immodule
scim-modules-socket
scim-modules-table
scim-pinyin
scim-tables-zh

ttf-arphic-bsmi00lp
ttf-arphic-gbsn00lp
ttf-arphic-gkai00mp
ttf-arphic-ukai
ttf-arphic-uming

xfonts-intl-chinese
xfonts-intl-chinese-big
xfonts-mathml
xfonts-unifont
xfonts-wqy

ttf-lyx
ttf-opensymbol
ttf-sil-gentium
ttf-sil-gentium-basic
ttf-unifont
ttf-freefont

unifont

iceweasel-l10n-zh-cn
zh-autoconvert
libhz0

debian-zh-faq-s

# /usr/share/live/build/lists/env-ru - package list for live-build(7)

console-cyrillic
ttf-sil-charis
ttf-sil-doulos
ttf-sil-gentium
xfonts-cronyx-100dpi
xfonts-cronyx-75dpi
xfonts-cronyx-misc
xfonts-efont-unicode-ib
xfonts-efont-unicode

# /usr/share/live/build/lists/vbox-ose - package list for live-build(7)

virtualbox-ose-guest-dkms
virtualbox-ose-guest-utils
virtualbox-ose-guest-x11

# /usr/share/live/build/lists/net-utils - package list for live-build(7)

xchat
openssh-client

#bind9
#bind9-doc
#bind9utils

#isc-dhcp-server
#isc-dhcp-server-ldap
#dhcpdump

# /usr/share/live/build/lists/vnc-utils - package list for live-build(7)

tightvncserver
xtightvncviewer
rdesktop

# /usr/share/live/build/lists/sys-utils - package list for live-build(7)

debconf-utils
cdebconf
cdebconf-gtk

module-assistant
dkms
cryptsetup
htop
ntop
testdisk

mc
pastebinit

zsh
zshdb
zsh-doc

# /usr/share/live/build/lists/dev-utils - package list for live-build(7)

make
rsync

sbuild
build-essential
devscripts
dh-buildinfo

reportbug
installation-report

gddrescue

systemtap
systemtap-doc

# /usr/share/live/build/lists/dev-utils - package list for live-build(7)

gddrescue

systemtap
systemtap-doc

# /usr/share/live/build/lists/pdf-tools - package list for live-build(7)

epdfview
evince
mupdf-tools
mupdf
libdirectfb-1.2-9-dbg
libdirectfb-dev
libdir

Re: BOSS Live-installer - A GUI Live Installer for Debian and it's derivatives based on remastersys scripts

2010-09-22 Thread Mark Schneider

Vitaly schrieb:

В Вто, 21/09/2010 в 08:43 +0200, Daniel Baumann пишет:
  

for debian-live, we use the debian-installer in connection with
live-installer, a udeb that allows to install a debian system from a
filesystem image instead of debian packages. with
debian-installer-launcher, we do even have the possibility to launch
debian-installer from the desktop. this is the only implementation of an
installer we will support, i suggest you have a look at it.


And?
LiveCD Lenny are built without official installer.

LiveCD testing is constantly broken installer and problems.
No, I all understand.
I'm also writing installer. It's like an outlet for my anger.))
  


Vitaly,

Why do you write an own installer instead of helping to solve existing 
issues in the current debian-installer / live-installer?


Your experience would be sure a big help for the debian project.

Regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c99be8e.3030...@it-infrastrukturen.org



Re: Global and local lists (for packages) in live-builder

2010-09-22 Thread Mark Schneider

Ben,

Thank you very much for your answer, ideas and hints.

For benefit of others here are some excerpts what I answered on irc:
# ---
 SynrG, as you wrote a lot I can't simply answer with one
   sentence ;)
 1. I am missing some "global" lists .. too many lists don't
  disturb me at all. I don't need to use them.
  But it would be helpful for me to have some specific lists
 from other people (in case I would need them in the future)
 I try to save my time and time of other people with some
   additional lists that could be
   included in live-builder - it is just an idea to share your own
   knowledge and profit yourself from knowledge of others

 2. I don't think my lists are the most important and great ;)
  if some other people would have similar requirements and ideas
  why not include some most useful of them?

 3. I would like to keep even such lists like debian-science and 
debian-junior

 4. due to latex - if you are new to latex you don't have any
  idea what packages you need. As I would like to use the live
  image also as an install image (for offline installations)
  it would be a source for me what packages I need for latex 
  (e.g.) After few months you will forget some details


 I wrote above that you can use a live image as a customized install 
image
   for off-line installations
 I don't know any other solution than live-builder to create
   such customized install images
 if you make a "standard" install and install after some 
   additional packages you will need an internet access or just to

   play disc-jockey for installing packages what are normally on
   the second, third etc disc
 debian live is just for users with their different requirements 
# ---


Best regards
Mark


Ben Armstrong schrieb:
For the benefit of others that missed the earlier irc conversation, 
here are some excerpts:


07:19 < SynrG> take it up with the individual maintainers of each of 
those things. need a
   different subset of latex? there are latex maintainers. 
there's no reason such a
   list should be useful for live systems but *not* 
non-live systems
07:22 < SynrG> similarly with awesome, if an awesome-desktop 
metapackage is something people
   could agree on and would be generally useful, it should 
be in the archive ...
07:23 < SynrG> not languishing in the realm of debian-live where few 
people will ever find it
07:24 < SynrG> the lists we have either have broad applicability (our 
-desktop lists for
   example) to a large userbase and differ from the 
standard tasks only in that they

   also include stuff *specific to a live image* ...
07:26 < SynrG> or are lists addressing a need tied to a special 
working group within debian
   which itself has a goal to produce a live image 
('debian pure blends' like

   debian-science or debian-junior)
07:26 < SynrG> i guess 'studio' falls in this category too
07:28 < SynrG> or in the rare case address some 'appliance' niche 
specifically well-suited to

   live media (the 'rescue' list is what i'm thinking of)
07:29 < SynrG> the other lists there are very basic building blocks of 
the other lists

   (standard, standard-x11, minimal, for example)
07:30 < SynrG> so as you can see, the lists are a very narrowly chosen 
subset of the entire
   universe of possible lists. there is no desire to grow 
these lists beyond what we
   have there now, and i would argue in some cases we may 
even need to *reduce* what

   we have there ...
07:31 < SynrG> i am not certain there is any reason to continue to 
support the junior lists, for
   instance, since that project is orphaned and nobody has 
stepped up to take it

   further.
07:31 < SynrG> the only reason they've not been removed is (so far) 
nobody has had any
   complaints. but at the first sign of trouble, i'd drop 
them in an instant.
07:34 < SynrG> ironm: can we finally close this issue? the marvellous 
thing about debian-live is
   that *infinite* variations of lists are possible.  
*every* user thinks their own
   lists are the greatest and probably wants to share them 
with the world.  and we
   already link to other users of debian-live on the site 
so that people can borrow
   liberally from each others' lists, and that's not very 
hard for users to find

   (and keeps the maintenance of said ...
07:34 < SynrG> ... lists where it belongs: with the users who 
originated them)






--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c

Patch: Adding description to live manual about binary_local_packageslists

2010-09-23 Thread Mark Schneider

Hi,

please check and add my patch to the live manual as I am getting error 
(git push) and not able to do it myself.


Thanks/regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++

>From 51d032b8a562ba75fc5b5d7e3da119e972538a8a Mon Sep 17 00:00:00 2001
From: Mark Schneider 
Date: Thu, 23 Sep 2010 22:06:48 +0200
Subject: [PATCH] Adding description about binary_local-packageslists to live manual.

---
 manual/de/live-manual.ssm   |2 +-
 manual/de/user_customization-packages.ssi   |   19 ++-
 manual/en/live-manual.ssm   |2 +-
 manual/en/user_customization-packages.ssi   |   10 ++-
 manual/po/de/live-manual.ssm.po |4 +-
 manual/po/de/user_customization-packages.ssi.po |  149 +--
 manual/pot/live-manual.ssm.pot  |4 +-
 manual/pot/user_customization-packages.ssi.pot  |  149 +--
 8 files changed, 195 insertions(+), 144 deletions(-)

diff --git a/manual/de/live-manual.ssm b/manual/de/live-manual.ssm
index 4f4f5d7..55b522f 100644
--- a/manual/de/live-manual.ssm
+++ b/manual/de/live-manual.ssm
@@ -9,7 +9,7 @@
  :license: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file.
 
 @date:
- :published: 2010-09-19
+ :published: 2010-09-23
 
 @publisher: Debian Live Project 
 
diff --git a/manual/de/user_customization-packages.ssi b/manual/de/user_customization-packages.ssi
index 6c75a3b..d2134c9 100644
--- a/manual/de/user_customization-packages.ssi
+++ b/manual/de/user_customization-packages.ssi
@@ -164,12 +164,21 @@ Note: Package lists that are distributed with live-build reside in the
 *{Local packages lists}*
 
 You may supplement the supplied lists using local package lists stored in
-#{config/chroot_local-packageslists}#.
 
-Package lists that exist in this directory need to have a #{.list}# suffix
-in order to be processed. Local packages lists always override package lists
-distributed with live-build. This can cause undesired effects, we therefore
-recommend to use unique names for local packages lists.
+#{config/chroot_local-packageslists}#.  Package lists that exist in this
+directory need to have a #{.list}# suffix in order to be processed. Local
+packages lists always override package lists distributed with
+live-build. This can cause undesired effects, we therefore recommend to use
+unique names for local packages lists.
+
+*{Binary local packages lists}*
+
+You may need to use lists using binary local package lists stored in
+
+#{config/binary_local-packageslists}# in case you want to include some
+required .deb packages to media??s pool/ (without installing them) for
+offline installations. Such media can be used as a customized debian install
+image.
 
 *{Extending a provided package list using includes}*
 
diff --git a/manual/en/live-manual.ssm b/manual/en/live-manual.ssm
index 4f4f5d7..55b522f 100644
--- a/manual/en/live-manual.ssm
+++ b/manual/en/live-manual.ssm
@@ -9,7 +9,7 @@
  :license: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3 file.
 
 @date:
- :published: 2010-09-19
+ :published: 2010-09-23
 
 @publisher: Debian Live Project 
 
diff --git a/manual/en/user_customization-packages.ssi b/manual/en/user_customization-packages.ssi
index 838b348..58a1522 100644
--- a/manual/en/user_customization-packages.ssi
+++ b/manual/en/user_customization-packages.ssi
@@ -135,10 +135,18 @@ Note: Package lists that are distributed with live-build reside in the #{/usr/sh
 
 *{Local packages lists}*
 
-You may supplement the supplied lists using local package lists stored in #{con

Live user includes get another uid:gid on the live image than the original one in config/chroot_local-includes

2010-09-24 Thread Mark Schneider

Hi,

it looks for me like a bug (s. details below). I didn't check the lb code yet.
The uid:gid setting of included subdirs and it's content (999:999) will change 
to 1000:1000 on the live image.

# The content of the config subdir
# ---
ir...@t60p:~/lds6-amd64/config/chroot_local-includes/home/ironm$ ls -la | grep 
"^d"
drwxr-xr-x 3  999  999 4096 23. Sep 21:17 .
drwxr-xr-x 3 root root 4096 23. Sep 21:04 ..
drwx-- 3  999  999 4096 23. Sep 12:27 .icedove

# The content of chroot or a live image
# ---
r...@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# ls -al | grep icedove
drwx-- 3 ironm ironm 4096 24. Sep 19:23 .icedove
r...@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# grep ironm /etc/passwd
ironm:x:1000:1000:ironm,,,:/home/ironm:/bin/bash

regards,

Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9ccf40.5090...@it-infrastrukturen.org



Re: Live user includes get another uid:gid on the live image than the original one in config/chroot_local-includes

2010-09-24 Thread Mark Schneider

On 24.09.2010 20:41, Daniel Baumann wrote:

do not hijack threads by hitting 'reply' instead of 'new' when you start
a new topic. otherwise, your message gets hidden in another thread and
likely be overseen.
   

thanks .. a good hint


---lb_chroot_hacks---
[...]
case "${LB_INITRAMFS}" in
»···casper)
»···»···ID="999"
»···»···;;

»···live-initramfs|live-boot)
»···»···ID="1000"
»···»···;;
esac

if [ -d chroot/home/${LB_USERNAME} ]
then
»···chown -R --quiet ${ID}:${ID} chroot/home/${LB_USERNAME}
fi
[...]
---snap

   

r...@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# ls -al | grep icedove
drwx-- 3 ironm ironm 4096 24. Sep 19:23 .icedove
r...@t60p:/home/ironm/lds6-amd64/chroot/home/ironm# grep ironm /etc/passwd
ironm:x:1000:1000:ironm,,,:/home/ironm:/bin/bash
 

so? why are you thinking it's a bug? it fixed the stuff correctly for you.


this line above fix the content of "chroot/home/${LB_USERNAME}"
with the UID (1000)  of the user on the build host but not with the live 
user ID (999) what one would expect.


--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9cdceb.5060...@it-infrastrukturen.org



Re: Live user includes get another uid:gid on the live image than the original one in config/chroot_local-includes

2010-09-24 Thread Mark Schneider

On 24.09.2010 21:41, Daniel Baumann wrote:

On 09/24/2010 07:16 PM, Mark Schneider wrote:
   

this line above fix the content of "chroot/home/${LB_USERNAME}"
with the UID (1000)  of the user on the build host but not with the live
user ID (999) what one would expect.
 

there apparently seems to have been a wrong merge from casper in
live-config which reverted it to 999 instead of using 1000. this is
fixed now in git, thanks for indirectly spotting it.

   

Thank you very much!

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9ce655.4020...@it-infrastrukturen.org



live-builder Error: "mv: cannot stat `chroot/dev/random': No such file or directory"

2010-09-24 Thread Mark Schneider

Hi,

I am getting currently an error (s below) when trying to create a new 
live image (with added hook)

# ---

+ [ -d chroot/root/.gnupg ]
+ mkdir -p chroot/root/.gnupg
+ mv chroot/dev/random chroot/dev/random.orig
mv: cannot stat `chroot/dev/random': No such file or directory
+ ret=1
+ rm -f .lock
+ exit 1
LH='1'
# ---

The whole build.log ( I added set -x to lb_chroot_sources ): 
http://paste.debian.net/91543


Some details of the build host:
# ---
Linux t60p 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux
r...@t60p:/home/ironm# dpkg -l | grep live-build
ii  live-build 2.0~a29+git20100924.981e9c1-1~dileks.1 Debian Live - System 
Build Scripts
# ---

I am to tired to check the code now - thanks in advance for any hints.

Regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9d3455.3040...@it-infrastrukturen.org



Re: live-builder Error: "mv: cannot stat `chroot/dev/random': No such file or directory"

2010-09-25 Thread Mark Schneider
Just for a test I have upgegraded the distribution (apt-get upgrade) and 
removed
"--repositories live.debian.net" from the config line of lb but the 
error message is still there:

mv: cannot stat `chroot/dev/random': No such file or directory

Has one of you had already such problems?

I

On 25.09.2010 01:29, Mark Schneider wrote:

Hi,

I am getting currently an error (s below) when trying to create a new 
live image (with added hook)

# ---

+ [ -d chroot/root/.gnupg ]
+ mkdir -p chroot/root/.gnupg
+ mv chroot/dev/random chroot/dev/random.orig
mv: cannot stat `chroot/dev/random': No such file or directory
+ ret=1
+ rm -f .lock
+ exit 1
LH='1'
# ---

The whole build.log ( I added set -x to lb_chroot_sources ): 
http://paste.debian.net/91543


Some details of the build host:
# ---
Linux t60p 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 
GNU/Linux

r...@t60p:/home/ironm# dpkg -l | grep live-build
ii  live-build 2.0~a29+git20100924.981e9c1-1~dileks.1 Debian Live - 
System Build Scripts

# ---

I am to tired to check the code now - thanks in advance for any hints.

Regards
Mark




--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9d99b6.9070...@it-infrastrukturen.org



live-build3 a3 "--binary-pool true" error

2010-09-26 Thread Mark Schneider

Hi,

thank you for this option (s. subject).

"lb build" stopped however with the following error message:

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

3 ---

D: Executing: apt-key add -
OK
D: Executing: apt-get --yes update
Ign file: sid Release.gpg
Ign file:/live/image/debian/ sid/main Translation-en
Ign file:/root/local-packages/ ./ Translation-en
Get:1 file: ./ Release.gpg [316B]
Ign file: sid Release
Ign file: sid/main i386 Packages
Ign file: sid/main i386 Packages
Err file: sid/main i386 Packages
  File not found
Get:2 file: ./ Release [754B]
Ign file: ./ Packages
Ign file: ./ Packages
Get:3 http://live.debian.net sid-snapshots Release.gpg [489B]
Ign http://live.debian.net/ sid-snapshots/main Translation-en
Get:4 http://ftp.de.debian.org sid Release.gpg [835B]
Ign http://ftp.de.debian.org/debian/ sid/main Translation-en
Get:5 http://live.debian.net sid-snapshots Release [50.2kB]
Get:6 http://ftp.de.debian.org sid Release [104kB]
Get:7 http://live.debian.net sid-snapshots/main Sources [2456B]
Get:8 http://live.debian.net sid-snapshots/main i386 Packages [3345B]
Get:9 http://ftp.de.debian.org sid/main i386 Packages [6838kB]
Fetched 7000kB in 13s (529kB/s)
W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

E: Some index files failed to download, they have been ignored, or old ones 
used instead.
LH='1'
P: Begin unmounting filesystems...
# ---

I didn't check the lb3 code yet.

regards,

Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9fb5d2.70...@it-infrastrukturen.org



Patches included - Re: live-build3 a3 "--binary-pool true" error

2010-09-27 Thread Mark Schneider

Hi,

please check, test it yourself and apply this simple patches
until there is no better solution for the issue described below.
Please feel free to modify it if you prefer another coding style
or whatever - I don't mind if it still works.

patch-lb3-binary-pool_lb_binary_rootfs.diff
patch-lb3-binary-pool_lb_chroot_sources.diff

Thanks/regards
Mark

On 26.09.2010 23:06, Mark Schneider wrote:

Hi,

thank you for this option (s. subject).

"lb build" stopped however with the following error message:

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File 
not found


3 ---

D: Executing: apt-key add -
OK
D: Executing: apt-get --yes update
Ign file: sid Release.gpg
Ign file:/live/image/debian/ sid/main Translation-en
Ign file:/root/local-packages/ ./ Translation-en
Get:1 file: ./ Release.gpg [316B]
Ign file: sid Release
Ign file: sid/main i386 Packages
Ign file: sid/main i386 Packages
Err file: sid/main i386 Packages
  File not found
Get:2 file: ./ Release [754B]
Ign file: ./ Packages
Ign file: ./ Packages
Get:3 http://live.debian.net sid-snapshots Release.gpg [489B]
Ign http://live.debian.net/ sid-snapshots/main Translation-en
Get:4 http://ftp.de.debian.org sid Release.gpg [835B]
Ign http://ftp.de.debian.org/debian/ sid/main Translation-en
Get:5 http://live.debian.net sid-snapshots Release [50.2kB]
Get:6 http://ftp.de.debian.org sid Release [104kB]
Get:7 http://live.debian.net sid-snapshots/main Sources [2456B]
Get:8 http://live.debian.net sid-snapshots/main i386 Packages [3345B]
Get:9 http://ftp.de.debian.org sid/main i386 Packages [6838kB]
Fetched 7000kB in 13s (529kB/s)
W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File 
not found


E: Some index files failed to download, they have been ignored, or old 
ones used instead.

LH='1'
P: Begin unmounting filesystems...
# ---

I didn't check the lb3 code yet.

regards,

Mark




--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++

--- lb_chroot_sources_ORIG	2010-09-27 14:46:25.0 +0200
+++ lb_chroot_sources	2010-09-28 01:05:14.0 +0200
@@ -230,6 +230,10 @@
 
 			if Find_files chroot/root/local-packages/*.deb
 			then
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
 # If we bootstrapped a minimal chroot, we need
 # to install apt-utils before we have have
 # completed all the indices.
@@ -239,6 +243,11 @@
 		;;
 esac
 
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 # Check depends
 Check_package chroot/usr/bin/apt-ftparchive apt-utils
 
@@ -411,11 +420,28 @@
 			# Installing aptitude
 			if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
 			then
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
 Chroot chroot "apt-get ${APT_OPTIONS} update"
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
 Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
 			fi
 
+			if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+			then
+sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+			fi
 			Apt update
+			if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+			then
+sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+			fi
+
 			Apt upgrade
 			Apt dist-upgrade
 
@@ -423,7 +449,16 @@
 			if [ -n "${LB_KEYRING_PACKAGES}" ]
 			then
 Chroot chroot "apt-get --yes --force-yes install ${LB_KEYRING_PACKAGES}"
+
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
 Apt update
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
 			fi
 
 			if [ "${LB_CACHE_INDICES}" = "true" ]
@@ -641,7 +676,15 @@
 		fi
 
 		# Updating indices
+		if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+		then
+			sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+		fi
 		Apt update
+		if [ 

Re: Patches included - Re: live-build3 a3 "--binary-pool true" error

2010-09-27 Thread Mark Schneider
There is new error message in the install syslog (to HDD) so please hold 
on and *don't apply
patch-lb3-binary-pool_lb_binary_rootfs.diff* until I check it again! - 
thanks for your understanding.


The error indicates that the content of 
"/etc/apt/sources.list.d/live-media.list" on the live image
is correct for installing *offline* some additional packages from live 
mode to live mode

*but not* when installing from live mode to HDD (my interpretation yet).

Please correct me if I am wrong - thank you in advance for any hints.

regards,
Mark

PS. full syslog install content: http://paste.debian.net/92131

# ---

base-installer: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

# ---


On 27.09.2010 23:56, Mark Schneider wrote:

Hi,

please check, test it yourself and apply these simple patches
until there is no better solution for the issue described below.
Please feel free to modify it if you prefer another coding style
or whatever - I don't mind if it still works.

patch-lb3-binary-pool_lb_binary_rootfs.diff
patch-lb3-binary-pool_lb_chroot_sources.diff

Thanks/regards
Mark

On 26.09.2010 23:06, Mark Schneider wrote:

Hi,

thank you for this option (s. subject).

"lb build" stopped however with the following error message:

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File 
not found


3 ---

D: Executing: apt-key add -
OK
D: Executing: apt-get --yes update
Ign file: sid Release.gpg
Ign file:/live/image/debian/ sid/main Translation-en
Ign file:/root/local-packages/ ./ Translation-en
Get:1 file: ./ Release.gpg [316B]
Ign file: sid Release
Ign file: sid/main i386 Packages
Ign file: sid/main i386 Packages
Err file: sid/main i386 Packages
  File not found
Get:2 file: ./ Release [754B]
Ign file: ./ Packages
Ign file: ./ Packages
Get:3 http://live.debian.net sid-snapshots Release.gpg [489B]
Ign http://live.debian.net/ sid-snapshots/main Translation-en
Get:4 http://ftp.de.debian.org sid Release.gpg [835B]
Ign http://ftp.de.debian.org/debian/ sid/main Translation-en
Get:5 http://live.debian.net sid-snapshots Release [50.2kB]
Get:6 http://ftp.de.debian.org sid Release [104kB]
Get:7 http://live.debian.net sid-snapshots/main Sources [2456B]
Get:8 http://live.debian.net sid-snapshots/main i386 Packages [3345B]
Get:9 http://ftp.de.debian.org sid/main i386 Packages [6838kB]
Fetched 7000kB in 13s (529kB/s)
W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File 
not found


E: Some index files failed to download, they have been ignored, or 
old ones used instead.

LH='1'
P: Begin unmounting filesystems...
# ---

I didn't check the lb3 code yet.

regards,

Mark







--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca123b1.5060...@it-infrastrukturen.org



Re: Patches included - Re: live-build3 a3 "--binary-pool true" error

2010-09-29 Thread Mark Schneider
Due to the syslog of the installation with "DEBCONF_DEBUG=developer" 
there is a missing file on the image

(see below)

base-installer: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

Another issue is that if I make an offline installation all the "deb 
http:// " entries in the source-file should be commented out during 
the installation to avoid an error message (or at least the resulting 
errors ignored).


Any hints?

regards
Mark

# ---

Sep 29 18:47:39 debconf: -->  PROGRESS INFO 
base-installer/section/configure_apt_preferences
Sep 29 18:47:39 debconf:<-- 10 base-installer/section/configure_apt_preferences 
does not exist
Sep 29 18:47:39 debconf: -->  GET debian-installer/allow_unauthenticated
Sep 29 18:47:39 debconf:<-- 0 false
Sep 29 18:47:39 debconf: -->  PROGRESS SET 104
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 debconf: -->  PROGRESS INFO base-installer/section/configure_apt
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 base-installer: Using CD-ROM mount point /media/cdrom/
Sep 29 18:47:39 base-installer: Identifying..
Sep 29 18:47:39 base-installer: [4de406d970f7dda5c2aa21fdeb9c3954-2]
Sep 29 18:47:39 base-installer: Scanning disc for index files..
Sep 29 18:47:39 base-installer: Found 1 package indexes, 0 source indexes, 0 
translation indexes and 0 signatures
Sep 29 18:47:39 base-installer: Found label 'Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58'
Sep 29 18:47:39 base-installer: This disc is called:
Sep 29 18:47:39 base-installer: 'Debian GNU/Linux unstable _Sid_ - Official 
Snapshot i386 LIVE/INSTALL Binary 20100928-20:58'
Sep 29 18:47:39 base-installer: Copying package lists...
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... 0%^M
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... 1%^M
Sep 29 18:47:39 base-installer: ^MReading Package Indexes... Done^M
Sep 29 18:47:39 base-installer:
Sep 29 18:47:39 base-installer: Writing new source list
Sep 29 18:47:39 base-installer: Source list entries for this disc are:
Sep 29 18:47:39 base-installer: deb cdrom:[Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58]/ sid main
Sep 29 18:47:39 base-installer: Repeat this process for the rest of the CDs in 
your set.
Sep 29 18:47:39 debconf: -->  PROGRESS SET 105
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:39 debconf: -->  PROGRESS INFO base-installer/section/apt_update
Sep 29 18:47:39 debconf:<-- 0 OK
Sep 29 18:47:40 base-installer: Ign file: sid Release.gpg
Sep 29 18:47:40 base-installer: Ign file:/live/image/debian/ sid/main 
Translation-en
Sep 29 18:47:40 base-installer: Ign file: sid Release
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid Release.gpg
Sep 29 18:47:40 base-installer: Ign file: sid/main i386 Packages
Sep 29 18:47:40 base-installer: Ign file: sid/main i386 Packages
Sep 29 18:47:40 base-installer: Err file: sid/main i386 Packages
Sep 29 18:47:40 base-installer:   File not found
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58]/ sid/main 
Translation-en
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid Release
Sep 29 18:47:40 base-installer: Ign cdrom://[Debian GNU/Linux unstable _Sid_ - 
Official Snapshot i386 LIVE/INSTALL Binary 20100928-20:58] sid/main i386 
Packages/DiffIndex
Sep 29 18:47:40 base-installer: Get:1 http://live.debian.net sid-snapshots 
Release.gpg [489B]
Sep 29 18:47:40 base-installer: Ign http://live.debian.net/ sid-snapshots/main 
Translation-en
Sep 29 18:47:40 base-installer: Get:2 http://live.debian.net sid-snapshots 
Release [50.2kB]
Sep 29 18:47:40 base-installer: Get:3 http://live.debian.net sid-snapshots/main 
Sources [2456B]
Sep 29 18:47:41 base-installer: Get:4 http://live.debian.net sid-snapshots/main 
i386 Packages [3345B]
Sep 29 18:47:41 base-installer: Fetched 56.5kB in 0s (57.9kB/s)
Sep 29 18:47:41 base-installer: W
Sep 29 18:47:41 base-installer: :
Sep 29 18:47:41 base-installer: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found
Sep 29 18:47:41 base-installer:
Sep 29 18:47:41 base-installer: E
Sep 29 18:47:41 base-installer: :
Sep 29 18:47:41 base-installer: Some index files failed to download, they have 
been ignored, or old ones used instead.
Sep 29 18:47:41 base-installer:
Sep 29 18:47:41 base-installer: warning: apt update failed: 100
Sep 29 18:47:41 debconf: -->  PROGRESS SET 108
# ---




On 28.09.2010 01:07, Mark Schneider wrote:
There is new error message in the install syslog (to HDD) so please 
hold on and *don't apply
patch-lb3-binary-pool_lb_binary_rootfs.diff* unti

lb3 build error when "--source true" has been used

2010-09-29 Thread Mark Schneider

Hi,

source.debian.tar has no entries inside. the .iso image has been created.

Please check the build log below
# ---
.
.

Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source mtools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source syslinux
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source grub
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source memtest86+
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin creating source md5sum.txt...
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin building source tarball...
P: This may take a while.
tar: source/debian: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
LH='1'
P: Begin unmounting filesystems...
# ---


regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca3b4b4.3050...@it-infrastrukturen.org



live-build 2: Configuring 'grub-installer' failed with error code 30

2010-09-30 Thread Mark Schneider

Hi,

when installing to HDD (install from boot menu and using german) the 
installation can't end (loop).


Below I attach a part of the syslog from the install to HDD (created 
with DEBCONF_DEBUG=developer option)


When I get some more free time I can file a bug to the BTS.

regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++

# ---

Sep 30 18:51:34 grub-installer: dpkg: warning: ignoring request to remove 
grub-legacy which isn't installed.
Sep 30 18:51:34 debconf: -->  GET base-installer/install-recommends
Sep 30 18:51:34 debconf:<-- 0 true
Sep 30 18:51:34 debconf: -->  GET mirror/protocol
Sep 30 18:51:34 debconf:<-- 10 mirror/protocol doesn't exist
Sep 30 18:51:34 debconf: -->  GET debconf/priority
Sep 30 18:51:34 debconf:<-- 0 high
Sep 30 18:51:34 debconf: -->  GET debian-installer/locale
Sep 30 18:51:34 debconf:<-- 0 de_DE.UTF-8
Sep 30 18:51:34 in-target: debconf (developer): frontend started
Sep 30 18:51:34 in-target: debconf (developer): Trying to find a templates 
file..
Sep 30 18:51:34 in-target: debconf (developer): Trying 
/usr/bin/debconf-apt-progress.templates
Sep 30 18:51:34 in-target: debconf (developer): Trying 
/usr/share/debconf/templates/debconf-apt-progress.templates
Sep 30 18:51:34 in-target: debconf (developer): Couldn't find a templates file.
Sep 30 18:51:34 in-target: debconf (developer): frontend running, package name 
is
Sep 30 18:51:34 in-target: debconf (developer): starting 
/usr/bin/debconf-apt-progress --no-progress --logstderr -- apt-get -q -y 
--no-remove install grub-pc
Sep 30 18:51:35 in-target: debconf (developer):<-- GET debconf/priority
Sep 30 18:51:35 in-target: debconf (developer): -->  0 high
Sep 30 18:51:35 in-target: Paketlisten werden gelesen...
Sep 30 18:51:35 in-target:
Sep 30 18:51:35 in-target: Abhängigkeitsbaum wird aufgebaut...
Sep 30 18:51:35 in-target:
Sep 30 18:51:35 in-target: Statusinformationen werden eingelesen...
Sep 30 18:51:35 in-target:
Sep 30 18:51:35 in-target: grub-pc ist schon die neueste Version.
Sep 30 18:51:35 in-target: grub-pc wurde als manuell installiert festgelegt.
Sep 30 18:51:35 in-target: 0 aktualisiert, 0 neu installiert, 0 zu entfernen 
und 0 nicht aktualisiert.
Sep 30 18:51:35 in-target: debconf (developer):<-- STOP
Sep 30 18:51:35 debconf: -->  SUBST apt-setup/cdrom/media-change LABEL
Sep 30 18:51:35 debconf: Adding [LABEL] ->  []
Sep 30 18:51:35 debconf:<-- 0
Sep 30 18:51:35 kernel: [  303.772488] ISO 9660 Extensions: Microsoft Joliet 
Level 3
Sep 30 18:51:35 kernel: [  303.773057] ISO 9660 Extensions: RRIP_1991A
Sep 30 18:51:35 debconf: -->  INPUT high apt-setup/cdrom/media-change
Sep 30 18:51:35 debconf:<-- 0 question will be asked
Sep 30 18:51:35 debconf: -->  GO
Sep 30 18:51:44 debconf:<-- 0 ok
Sep 30 18:51:44 kernel: [  312.756644] ISO 9660 Extensions: Microsoft Joliet 
Level 3
Sep 30 18:51:44 kernel: [  312.757345] ISO 9660 Extensions: RRIP_1991A
Sep 30 18:51:44 debconf: -->  INPUT high apt-setup/cdrom/media-change
Sep 30 18:51:44 debconf:<-- 0 question will be asked
Sep 30 18:51:44 debconf: -->  GO
Sep 30 18:51:50 debconf:<-- 30 backup
Sep 30 18:51:50 debconf: -->  PROGRESS STEP 1
Sep 30 18:51:50 debconf:<-- 30 progress bar cancelled
Sep 30 18:51:50 main-menu[294]: (process:7122): File descriptor 3 (pipe:[3066]) 
leaked on lvdisplay invocation.
Sep 30 18:51:50 main-menu[294]: (process:7122):  Parent PID 7161: /bin/sh
Sep 30 18:51:50 main-menu[294]: (process:7122): File descriptor 4 (/dev/tty0) 
leaked on lvdisplay invocation.
Sep 30 18:51:50 main-menu[294]: (process:7122):  Parent PID 7161: /bin/sh
Sep 30 18:51:50 main-menu[294]: (process:7122): File descriptor 5 (/dev/tty0) 
leaked on lvdisplay invocation.
Sep 30 18:51:50 main-menu[294]: (process:7122):  Parent PID 7161: /bin/sh
Sep 30 18:51:50 main-menu[294]: (process:7122): File descriptor 6 (/dev/tty0) 
leaked on lvdisplay invocation.
Sep 30 18:51:50 main-menu[294]: (process:7122):  Parent PID 7161: /bin/sh
Sep 30 18:51:50 main-menu[294]: (process:7122):
Sep 30 18:51:50 main-menu[294]: (process:7122): Volume group "sda" not found
Sep 30 18:51:50 main-menu[294]: (process:7122):
Sep 30 18:51:50 main-menu[294]: (process:7122):
Sep 30 18:51:50 main-menu[294]: (process:7122): Skipping volume group sda
Sep 30 18:51:50 main-menu[294]: (process:7122):
Sep 30 18:51:50 main-menu[294]: (process:7122): perl: warning: Setting locale 
failed.
Sep 30 18:51:50 main-menu[294]: (process:7122): perl: warning: Please check 
that your locale settings:
Sep 30 18:51:50 main-menu[294]: (process:7122): LANGUAGE = (unset),
Sep 30 18:51:50 main-menu[294]: (process:7122): LC_ALL = (unset),
Sep 30 18:51:50 main-menu[294]: (process:7122): LANG = "C.UTF-8"
Sep 30 18:51:50 main-menu[294]: (process:7122): are supported and installed 
on your system.
Sep 30 18:51:50 main-menu[294]: (process:7122): perl: warning: Falling back to the 
standard locale ("C").
Sep 30 18:51:50 m

Bug#598935: live-build3 a4 exits with an error message when "binary-pool true" has been used

2010-10-03 Thread Mark Schneider

Subject: live-build3 a4 exits with an error message when "binary-pool true" has 
been used
Package: live-build
Version: 3.0~a4+20101002.083849
Severity: normal

*** Please type your report below this line ***

# Used live-packages
# ---
ii  live-boot3.0~a8+20101002.081637
Debian Live - System Boot Scripts
ii  live-boot-initramfs-tools3.0~a8+20101002.081637
Debian Live - System Boot Scripts (initramfs-tools back
ii  live-build   3.0~a4+20101002.083849
Debian Live - System Build Scripts
ii  live-config  3.0~a9+20101002.084242
Debian Live - System Configuration Scripts
ii  live-config-sysvinit 3.0~a9+20101002.084242
Debian Live - System Configuration Scripts (sysvinit ba
# ---

# Some important lines from the build.log
# ---
P: Deconfiguring file /etc/apt/sources.list
D: Executing: apt-key add -
OK
D: Executing: apt-get --yes update
Ign file: sid Release.gpg
Ign file:/live/image/debian/ sid/main Translation-en
Ign file:/root/local-packages/ ./ Translation-en
Ign file: sid Release
Ign file: sid/main Sources
Ign file: sid/main i386 Packages
Ign file: sid/main Sources
Ign file: sid/main i386 Packages
Err file: sid/main Sources
  File not found
Err file: sid/main i386 Packages
  File not found
Get:1 file: ./ Release.gpg [316B]
Get:2 file: ./ Release [754B]
Ign file: ./ Packages
Ign file: ./ Packages
Get:3 http://live.debian.net sid-snapshots Release.gpg [489B]
Ign http://live.debian.net/ sid-snapshots/main Translation-en
Get:4 http://live.debian.net sid-snapshots Release [50.2kB]
Get:5 http://live.debian.net sid-snapshots/main Sources [2688B]
Get:6 http://live.debian.net sid-snapshots/main i386 Packages [3724B]
Get:7 http://cdn.debian.net sid Release.gpg [835B]
Ign http://cdn.debian.net/debian/ sid/main Translation-en
Get:8 http://cdn.debian.net sid Release [104kB]
Get:9 http://cdn.debian.net sid/main Sources [3984kB]
Get:10 http://cdn.debian.net sid/main i386 Packages [6832kB]
Fetched 11.0MB in 19s (567kB/s)
W: Failed to fetch file:/live/image/debian/dists/sid/main/source/Sources.gz  
File not found

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

E: Some index files failed to download, they have been ignored, or old ones 
used instead.
LH='1'
P: Begin unmounting filesystems...
# ---

# Tested workaround patches.
The live-media.list file will be changed when running "apt-get update" during the 
"lb build" run as the local repo doesn't exist at this time
# ---
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3-binary-pool_lb_chroot_sources.diff
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3-binary-pool_lb_binary_rootfs.diff
# ---

-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap   1.0.23 Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii  cpio  2.11-4 GNU cpio -- a program to manage ar
ii  gettext-base  0.17-11GNU Internationalization utilities
pn  gnu-fdisk  (no description available)

Versions of packages live-build suggests:
ii  dosfstools3.0.9-1utilities for making and checking
ii  fakeroot  1.14.4-1   Gives a fake root environment
ii  genisoimage   9:1.1.10-1 Creates ISO-9660 CD-ROM filesystem
pn  memtest86+ | memtest86  (no description available)
pn  mtools  (no description available)
ii  parted2.3-1  The GNU Parted disk partition resi
pn  squashfs-tools | genext2fs |  (no description available)
ii  sudo  1.7.2p7-1  Provide limited super user privile
pn  syslinux | grub  (no description available)
pn  uuid-runtime  (no description available)
pn  win32-loader  (no description available)

-- no debconf information

regards,
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org


+++ Free infrastructure software for all. +++

--- lb_chroot_sources_ORIG	2010-09-27 14:46:25.0 +0200
+++ lb_chroot_sources	2010-09-28 01:05:14.0 +0200
@@ -230,6 +230,10 @@
 
 			if Find_files chroot/root/local-packages/*.deb
 			then
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
 # If we bootstrapped a minimal chroot, we need
 # to install apt-utils before we have have
 # completed all the indices.

Bug#598935: New patch for live buil 3.0a4 - live-build3 a4 exits with an error message when "binary-pool true" has been used

2010-10-03 Thread Mark Schneider
as the code of lb_chroot_sources in "live build 3.0 a4" has changed I 
have prepared a new patch


regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++

--- lb_chroot_sources_ORIG_NEW	2010-10-03 14:34:14.0 +0200
+++ lb_chroot_sources	2010-10-03 14:57:15.0 +0200
@@ -238,6 +238,11 @@
 
 			if Find_files chroot/root/local-packages/*.deb
 			then
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 # If we bootstrapped a minimal chroot, we need
 # to install apt-utils before we have have
 # completed all the indices.
@@ -246,6 +251,11 @@
 		Chroot chroot "apt-get update"
 		;;
 esac
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 
 # Check depends
 Check_package chroot/usr/bin/apt-ftparchive apt-utils
@@ -419,11 +429,31 @@
 			# Installing aptitude
 			if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
 			then
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 Chroot chroot "apt-get ${APT_OPTIONS} update"
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
 			fi
 
+			if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+			then
+sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+			fi
+
 			Apt update
+			if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+			then
+sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+			fi
+
 			Apt upgrade
 			Apt dist-upgrade
 
@@ -431,7 +461,17 @@
 			if [ -n "${LB_KEYRING_PACKAGES}" ]
 			then
 Chroot chroot "apt-get --yes --force-yes install ${LB_KEYRING_PACKAGES}"
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 Apt update
+if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+then
+	sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+fi
+
 			fi
 
 			if [ "${LB_CACHE_INDICES}" = "true" ]
@@ -649,8 +689,18 @@
 		fi
 
 		# Updating indices
+		if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+		then
+			sed -i 's|^\(deb[-]*[a-z]* file:/live/image/debian\)|#...@lb bu...@#\1|' chroot/etc/apt/sources.list.d/live-media.list
+		fi
+
 		Apt update
 
+		if [ -f chroot/etc/apt/sources.list.d/live-media.list ]
+		then
+			sed -i 's|^...@lb bu...@#||' chroot/etc/apt/sources.list.d/live-media.list
+		fi
+
 		# Cleaning apt package cache
 		rm -rf chroot/var/cache/apt
 		mkdir -p chroot/var/cache/apt/archives/partial


Re: Processed: Re: Bug#598935: live-build3 a4 exits with an error message when "--binary-pool true" has been used

2010-10-03 Thread Mark Schneider

On 03.10.2010 16:12, Daniel Baumann wrote:

severity 598935 minor
thanks

On 10/03/2010 03:27 PM, Debian Bug Tracking System wrote:
   

severity 598935 normal
   

first, don't set the severity without justification.
   


I mentioned it already (see below a copy) - only the "true" value of the 
"--binary-pool" option makes sense for people who need a local pool.

Why? - please read below as "normal" applies:
# ---

How would you rate the severity of this problem or report?

1 important  a bug which has a major effect on the usability of a 
package, without rendering it completely unusable to everyone.


2 normal a bug that does not undermine the usability of the whole 
package; for example, a problem with a particular option or menu item.


3 minor  things like spelling mistakes and other minor cosmetic 
errors that do not affect the core functionality of the package.


4 wishlist   suggestions and requests for new features.
# ---


second, don't mess with the severity, the destinction between
non-serious severities is entirely up to the descretion of the
maintainer, not of the submitter.
   
I can imagine that as a maintainer you are not happy about .. however 
nobody is perfect and it is a better way to correct the code than make 
long discussions about.


No one really needs to show who is the alpha ... it will not help the 
debian live project.


So I will stop the further discussion about this issue.

Those of debian live users who need this "--binary-pool true" option can 
find patches as follows:

http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3a4-binary-pool_lb_chroot_sources.diff
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3-binary-pool_lb_binary_rootfs.diff

I hope one day the issue will be solved in the original code.

Take care/stay cool.

regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca88fcc.6030...@it-infrastrukturen.org



Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-03 Thread Mark Schneider

Subject: live-build 3.0a4 exits with error when using option "--source true"
Package: live-build
Version: 3.0~a4+20101002.083849
Severity: minor

*** Please type your report below this line ***

Only the live image has been created. source.debian.tar doesn't have any 
entries.

# Used live-packages
# ---
ii  live-boot3.0~a8+20101002.081637
Debian Live - System Boot Scripts
ii  live-boot-initramfs-tools3.0~a8+20101002.081637
Debian Live - System Boot Scripts (initramfs-tools back
ii  live-build   3.0~a4+20101002.083849
Debian Live - System Build Scripts
ii  live-config  3.0~a9+20101002.084242
Debian Live - System Configuration Scripts
ii  live-config-sysvinit 3.0~a9+20101002.084242
Debian Live - System Configuration Scripts (sysvinit ba
# ---

# Some important lines from the build.log
# ---
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source squashfs-tools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source genext2fs
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source mtd-tools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source mtools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source syslinux
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source grub
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Executing: apt-get --yes --download-only source memtest86+
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file 
/var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: 
No such file or directory)
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin creating source md5sum.txt...
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin building source tarball...
P: This may take a while.
tar: source/debian: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
LH='1'
P: Begin unmounting filesystems...
# ---


-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap   1.0.23 Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii  cpio  2.11-4 GNU cpio -- a program to manage ar
ii  gette

Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-04 Thread Mark Schneider

On 04.10.2010 12:34, Daniel Baumann wrote:

On 10/04/2010 10:24 AM, Mark Schneider wrote:
   

What kind of information do you need? There is a reportbug "output"
included and should contain all details you need.
 

no, please see http://live.debian.net/manual/en/html/15.html.

   

I can repeat the test using a minimal config (due to your
recommendation) and unpatched version of lb 3.0a4 first in few days
(probably the next weekend)
 

umm, why are you reporting a bug against mainline if you're not using
mainline in the first place?
   


It is the 3.0 a4 main line with included patch (support for 
"--binary-pool true" option.
You know already this patch - 
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3a4-binary-pool_lb_chroot_sources.diff


I had already the same error messages *without this patch* in the past 
(can't remember what version I have used .. probably 3.0a1). I will 
retest it *without my patch* and lb 3.0a4 again.



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca9a1bf.5050...@it-infrastrukturen.org



Re: BOSS Live-installer - A GUI Live Installer for Debian and it's derivatives based on remastersys scripts

2010-10-04 Thread Mark Schneider

On 04.10.2010 11:32, Daniel Baumann wrote:

On 10/04/2010 11:22 AM, Vitaly wrote:
   

If everything is so wonderful
then what is stopping you to build a working image for the installer for
USB flash for lenny and testing ?
 

lenny is stable, so we will not build lenny images anymore (apart from
point releases), also it would require backports.

squeeze is not yet released, however, you can download daily built
images from http://live.debian.net/cdimage/ that include a working
installer, see e.g. http://www.youtube.com/user/danielbaumann82
   


Can you successfully install another language than the default one 
(English)? As far as I know there are still open issues with the 
installer in debian.


As I don't use Flash (and *I am not going to do so as it is a closed 
code software*) I am not able to watch this video. Do you have another 
(free) formats of these video files and could make them available? - 
Thank you in advance.


Regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca98647.9030...@it-infrastrukturen.org



Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-04 Thread Mark Schneider

On 04.10.2010 12:19, Daniel Baumann wrote:

retitle 598991 3.0: exits with error when using "--source true"
thanks

attached is a log. please provide the requested information, otherwise
i'm going to close the bug.

   
What kind of information do you need? There is a reportbug "output" 
included and should contain all details you need.


I can repeat the test using a minimal config (due to your 
recommendation) and unpatched version of lb 3.0a4 first in few days 
(probably the next weekend)


Regards,
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++




--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca98f50.3000...@it-infrastrukturen.org



Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-04 Thread Mark Schneider

On 04.10.2010 15:13, Daniel Baumann wrote:

On 10/04/2010 11:43 AM, Mark Schneider wrote:
   

You know already this patch -
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live/patch-lb3a4-binary-pool_lb_chroot_sources.diff
 

haven't looked at it.

   

I had already the same error messages *without this patch* in the past
(can't remember what version I have used .. probably 3.0a1). I will
retest it *without my patch* and lb 3.0a4 again.
 

please reread what you wrote so far in this bug report. how are we
supposed to initially know a) what random patches you might be using, b)
if the patches are not the cause or influencing it.

also, you've not provided information about your config-tree. so
basically, this bug report still is, apart from the fact that's not
reproducible and thus most likely is a local issue of your specific
configuration, a black box thinggie for us and we *need* to know such
stuff to deal with it. if that is a problem for you, don't report bug
reports against live-*.

live-* are not normal packages, reproducing and fixing bugs most of the
time needs a lot of information and takes a lot of time. your attitude
is not motivating to invest that effort and try to help yo


It would help all of us (and save a lot of time) when you could solve 
the issue with "--binary-pool true" in the original code of lb 3.0a4 
(instead of playing ping-pong)



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca9b915.7080...@it-infrastrukturen.org



Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-04 Thread Mark Schneider

On 04.10.2010 15:47, Daniel Baumann wrote:

On 10/04/2010 01:23 PM, Mark Schneider wrote:
   

It would help all of us (and save a lot of time) when you could solve
the issue with "--binary-pool true" in the original code of lb 3.0a4
 

how's that related to #598991
   
As I need local repo on my live images I *had to use this patch* (for 
"--binary-pool true") to be able to create a live image. I wrote you 
already that you have also the same error when using local hooks or 
local includes to include or create a "live-media.list" in 
/etc/apt/sources.list - for both current lb2 and lb 3 releases. *it is a 
general issue*


It is the only one patch I have used. Otherwise I would use the original 
code of lb 3.0a4.



(instead of playing ping-pong)
 

ok. enough. my patience is great but not endless. i'm removing
--binary-pool again and only add it back whenever i had the time to
finish it.
   
ftr: last week, mark asked for a feature like that on irc, i've right

away added it to please him, without having done the extensive testing
and said, there, try it, it should be working for the basic use case.

since then, there has not been one day where he did not harass people
about it. i don't want to deal with that anymore..
   


I am really *sorry* if you had such feeling. It was never my approach to 
"harass" anyone - also not you!

I can't confirm your last sentence however:
1. I didn't wrote bug reports, emails or IRC messages every day due to 
this issue

2. why do you think writing a bug report is "harassing" anyone?

Well - I will not comment it further anymore ... everybody has sure his 
own opinion.


regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ca9d33a.9000...@it-infrastrukturen.org



Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-09 Thread Mark Schneider

On 08.10.2010 15:43, Daniel Baumann wrote:

On 10/04/2010 11:43 AM, Mark Schneider wrote:
   

I had already the same error messages *without this patch* in the past
(can't remember what version I have used .. probably 3.0a1). I will
retest it *without my patch* and lb 3.0a4 again.
 

ping.
   


First I have retested it with most current 2.0.x (at least I hope so). 
If there is a newer verson I can repeat the test with it.


"lb build" stopped with the following error message:

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found


More details from build.log - http://paste.debian.net/94890

I have used local-includes for live-media.list:

../local-includes-i386/etc/apt/sources.list.d/live-media.list:#deb 
file:/live/image/debian squeeze main
../local-includes-i386/etc/apt/sources.list.d/live-media.list:deb 
file:/live/image/debian sid main

I have used *unpatched" live-build scripts as follows:
# ---

live-boot2.0.7+20101002.080803~60squeeze+1
live-boot-initramfs-tools2.0.7+20101002.080803~60squeeze+1
live-build   2.0.2+20101002.080418~60squeeze+1
live-config  2.0.8+20101002.081229~60squeeze+1
live-config-sysvinit 2.0.8+20101002.081229~60squeeze+1
live-helper  2.0.2+20101002.080418~60squeeze+1
# ---

My lb_config.sh:
# ---

#!/bin/sh
if [ $# != 1 ]; then
 echo "Usage: $0">&2
 exit 1
fi

mkdir -p ${1}/cache
#cp -R auto ${1}
cd ${1}

lb config --bootloader syslinux --syslinux-timeout 7 --syslinux-menu enabled 
--linux-flavours 486 --architecture i386 \
  --distribution sid --debian-installer-distribution daily 
--debian-installer live \
  --repositories "live.debian.net" --debian-installer-gui true 
--binary-indices false \
  --memtest memtest86+ --win32-loader true --source true \
  --packages "debian-installer-launcher xserver-xorg-video-all slim 
iceweasel" \
  --packages-lists "standard-x11 vbox-ose awesome dev-utils sys-utils 
net-utils vim pdf-tools " \
  --iso-preparer ironm --iso-publisher IT-Infrastrukturen.ORG 
--iso-application typo3mcore --iso-volume t3mcore-i386-$(date +%Y-%m-%d) \
  --hostname debian --username ironm --language "de" \
  --bootappend-live "locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich 
keyboard-layouts=de" \
  --bootappend-install "locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich 
keyboard-layouts=de"
# ---

My lb_buil.sh
# ---

#!/bin/sh
export LANG=C
export LC_ALL=C
if [ $# != 1 ]; then
 echo "Usage: $0">&2
 exit 1
fi
if [ $(id -u) != 0 ]; then
 echo "Error: You must be root to run this script!">&2
 exit 2
fi
if ! [ -d ${1} ]; then
  echo "Error: the directory does not exist!">&2
  exit 1
fi
cp binary_local-packageslists/* ${1}/config/binary_local-packageslists/
cp local-packageslists/* ${1}/config/chroot_local-packageslists/
cd local-includes-i386
cp -pR ./* ../${1}/config/chroot_local-includes/
cd ../${1}/config/chroot_local-packages
wget -Nc 
http://ftp.de.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_3_all.deb
cp ../../../local-packages-i386/* .
cd ../binary_local-udebs
cp ../../../binary_local-udebs-i386/* .
cd ../binary_local-debs
cp ../../../binary_local-debs-i386/* .
cd ../../
lb build --debug 2>&1 | tee build.log
# ---

Please don't tell me again I should use auto/conf.
I am comfortable with my scripts and will move first to auto/conf when I have 
more time.

In second step I will test the same config but using unpatched 3.0-a5.

regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++




--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb0648f.5040...@it-infrastrukturen.org



Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-09 Thread Mark Schneider

On 09.10.2010 14:48, Mark Schneider wrote:

On 08.10.2010 15:43, Daniel Baumann wrote:

On 10/04/2010 11:43 AM, Mark Schneider wrote:

I had already the same error messages *without this patch* in the past
(can't remember what version I have used .. probably 3.0a1). I will
retest it *without my patch* and lb 3.0a4 again.

ping.


First I have retested it with most current 2.0.x (at least I hope so). 
If there is a newer verson I can repeat the test with it.


"lb build" stopped with the following error message:

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File 
not found



More details from build.log - http://paste.debian.net/94890

I have used local-includes for live-media.list:

../local-includes-i386/etc/apt/sources.list.d/live-media.list:#deb 
file:/live/image/debian squeeze main
../local-includes-i386/etc/apt/sources.list.d/live-media.list:deb 
file:/live/image/debian sid main


I have used *unpatched" live-build scripts as follows:
# ---

live-boot2.0.7+20101002.080803~60squeeze+1
live-boot-initramfs-tools2.0.7+20101002.080803~60squeeze+1
live-build   2.0.2+20101002.080418~60squeeze+1
live-config  2.0.8+20101002.081229~60squeeze+1
live-config-sysvinit 2.0.8+20101002.081229~60squeeze+1
live-helper  2.0.2+20101002.080418~60squeeze+1
# ---

My lb_config.sh:
# ---

#!/bin/sh
if [ $# != 1 ]; then
 echo "Usage: $0">&2
 exit 1
fi

mkdir -p ${1}/cache
#cp -R auto ${1}
cd ${1}

lb config --bootloader syslinux --syslinux-timeout 7 --syslinux-menu 
enabled --linux-flavours 486 --architecture i386 \
  --distribution sid --debian-installer-distribution daily 
--debian-installer live \
  --repositories "live.debian.net" --debian-installer-gui true 
--binary-indices false \

  --memtest memtest86+ --win32-loader true --source true \
  --packages "debian-installer-launcher xserver-xorg-video-all 
slim iceweasel" \
  --packages-lists "standard-x11 vbox-ose awesome dev-utils 
sys-utils net-utils vim pdf-tools " \
  --iso-preparer ironm --iso-publisher IT-Infrastrukturen.ORG 
--iso-application typo3mcore --iso-volume t3mcore-i386-$(date 
+%Y-%m-%d) \

  --hostname debian --username ironm --language "de" \
  --bootappend-live "locales=de_DE.UTF-8 utc=no 
timezone=Europe/Zurich keyboard-layouts=de" \
  --bootappend-install "locales=de_DE.UTF-8 utc=no 
timezone=Europe/Zurich keyboard-layouts=de"

# ---

My lb_buil.sh
# ---

#!/bin/sh
export LANG=C
export LC_ALL=C
if [ $# != 1 ]; then
 echo "Usage: $0">&2
 exit 1
fi
if [ $(id -u) != 0 ]; then
 echo "Error: You must be root to run this script!">&2
 exit 2
fi
if ! [ -d ${1} ]; then
  echo "Error: the directory does not exist!">&2
  exit 1
fi
cp binary_local-packageslists/* ${1}/config/binary_local-packageslists/
cp local-packageslists/* ${1}/config/chroot_local-packageslists/
cd local-includes-i386
cp -pR ./* ../${1}/config/chroot_local-includes/
cd ../${1}/config/chroot_local-packages
wget -Nc 
http://ftp.de.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_3_all.deb 


cp ../../../local-packages-i386/* .
cd ../binary_local-udebs
cp ../../../binary_local-udebs-i386/* .
cd ../binary_local-debs
cp ../../../binary_local-debs-i386/* .
cd ../../
lb build --debug 2>&1 | tee build.log
# ---

Please don't tell me again I should use auto/conf.
I am comfortable with my scripts and will move first to auto/conf when 
I have more time.


In second step I will test the same config but using unpatched 3.0-a5.


As "lb build" stopped before comming to create the sources I will remove 
local-media.list in the next run.


This test is related to another issue ("apt-get update" in source code 
make troubles)


The test with 3.0-a5 gave the same troubles as the test above.

W: Failed to fetch 
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found

Details: http://paste.debian.net/94931

Used live scripts:
# ---
ii  live-boot3.0~a8+20101002.081637
ii  live-boot-initramfs-tools3.0~a8+20101002.081637
ii  live-build   3.0~a5+20101004.161858
ii  live-config  3.0~a9+20101002.084242
ii  live-config-sysvinit 3.0~a9+20101002.084242

# ---

regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb07ea6.3000...@it-infrastrukturen.org



Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-09 Thread Mark Schneider

On 08.10.2010 15:43, Daniel Baumann wrote:

On 10/04/2010 11:43 AM, Mark Schneider wrote:
   

I had already the same error messages *without this patch* in the past
(can't remember what version I have used .. probably 3.0a1). I will
retest it *without my patch* and lb 3.0a4 again.
 


The test (to build sources) with lb 3.0-a8 was successful (s. below)
# ---

r...@t60p:/home/ironm/LIVE/dls41-i386-sid# dpkg -l | grep "live.*3.0" | sed 
's/Debian.*$//'
ii  live-boot3.0~a8+20101002.081637
ii  live-boot-initramfs-tools3.0~a8+20101002.081637
ii  live-build   3.0~a5+20101004.161858
ii  live-config  3.0~a9+20101002.084242
ii  live-config-sysvinit 3.0~a9+20101002.084242
r...@t60p:/home/ironm/LIVE/dls41-i386-sid# ls -l
insgesamt 2513892
drwxr-xr-x  4 ironm ironm   4096  9. Okt 18:44 auto
drwxr-xr-x 12 root  root4096  9. Okt 19:26 binary
-rw-r--r--  1 root  root   842006528  9. Okt 19:26 binary-hybrid.iso
-rw-r--r--  1 root  root   49916  9. Okt 19:26 binary.list
-rw-r--r--  1 root  root   19687  9. Okt 19:13 binary.packages
-rw-r--r--  1 root  root 1239004  9. Okt 20:30 build.log
drwxr-xr-x  8 ironm ironm   4096  9. Okt 19:25 cache
drwxr-xr-x 20 root  root   65536  9. Okt 20:23 chroot
drwxr-xr-x 22 ironm ironm   4096  9. Okt 18:44 config
drwxr-xr-x  4 root  root4096  9. Okt 20:23 source
-rw-r--r--  1 root  root   87333  9. Okt 20:23 source.debian.list
-rw-r--r--  1 root  root   11182  9. Okt 20:23 source.debian-live.list
-rw-r--r--  1 root  root 2722868  9. Okt 20:30 source.debian-live.tar.gz
-rw-r--r--  1 root  root  1725449514  9. Okt 20:24 source.debian.tar.gz
# ---


I guess this Bug for lb 3.0 can be closed.

I will test the same config (--surces true") with lb 2.0 and give short 
feedback.

regards,
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++




--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb09b03.40...@it-infrastrukturen.org



Bug#598991: live-build 3.0a4 exits with error when using option "--source true"

2010-10-09 Thread Mark Schneider

On 09.10.2010 21:42, Ben Armstrong wrote:

On 09/10/10 09:48 AM, Mark Schneider wrote:
   

"lb build" stopped with the following error message:

W: Failed to fetch
file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not
found
 

What, in your config, would create a Packages.gz in this location?  I
could find no option in the supplied config that would do that.  So
unless I am missing something, there is an error in your config and not
a bug here.  That is, I would expect apt to attempt to generate indices
for everything listed in /etc/apt/sources* -- isn't this what is
supposed to happen?  And yes, I see you have --binary-indices false, but
that only governs the final disposition of indices when the image is
built and does not guarantee that apt won't be run during the binary
stage.  If your intent is to add apt sources that aren't actually valid
until the image is booted, then you must defer adding the sources lines
to the binary image config until the image is booted too.

Please fill me in on anything I may have missed that would invalidate my
analysis.

Ben
   


I didn't check the current lb code. As I have included lists of packages 
(in binary_local-packageslists)
to be placed into the local repo (without installing them in chroot-env) 
I was expecting that
lb would handle it to create such file (and I mean that it happens 
also). The problem is that
the whole "/live/image/debian/..." doesn't exist when you run "apt-get 
update" during "lb build".
In my patch (I *didn't use it* for this test) I was commenting out the 
active lines in "live-media.list"
before the lb code executed "apt-get update" and reverting it after as I 
don't know enough the flow
in Daniels code. I have checked it many times and it was always working 
for me (my patch).


This issue was just another one (s. subject line). I have had errors 
with "--source true" activated in the setting.
With lb 3.0-a5 havn't got any errors more. I am just creating a live 
image with lb 2.0 to retest it

as I had in the past also troubles with creating of the source file.

Thanks a lot for your analysis.

regards,
Mark

PS. just successfully finished creating live image with current lb 2.0 
(--source true) *without* any errors


--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++




--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb0b670.5060...@it-infrastrukturen.org



Understanding issues - Re: Bug#599879: live-helper: Live Builder does not create the user account

2010-10-12 Thread Mark Schneider

Jose,

it looks like you don't understand some issues how live builder works 
(s. above)


On 12.10.2010 12:56, Jose R R wrote:

it does not matter how you name the user, the user is still created at
runtime when you boot the image, not when you build it.
 

Assuming an user that I *especified* as: "name-of_user", below is how
I find it *and* I expect (if I understand the instructions
appropriately) to be created in the final image. This is how I would
check for its existence in the config/* resources:

$ find debian_live/config/ -type f | xargs grep -i name-of_user

debian_live/config/binary:# (Default: name-of_user)
debian_live/config/binary:LB_USERNAME="name-of_user"

Accordingly, if the "name-of_user" is not created in the final image,
as it happened in my initial attempts, then something is wrong -with
Debian Live scripts, the repositories, who-knows, etc.; but something
is wrong. I replied to Juan how the problem was resolved from my
perspective -in practical terms not in pedantic or theoretical ones.


If you user recursive grep in you build dir/ you will find as follows 
(example with "ironm" as username):

# ...

r...@t60p:/home/ironm/live/dls5-i386-sid# grep -R ironm ./*

./binary/isolinux/live.cfg: append initrd=/live/initrd1.img boot=live 
config locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de 
username=ironm  quiet
./binary/isolinux/live.cfg: append initrd=/live/initrd1.img boot=live 
config locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de 
username=ironm  noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal
# ---

The option "username=ironm" in live.cfg will cause creating of the live user 
during the boot proccess.

If you want to have more users (with existing home dirs/ on the live image and 
maybe some content inside them) you could use local hooks (with adduser inside) 
to place them on the live image. To include files onto live image you can use 
local_includes. For example: I do it on my live images to include .icedove 
config and some other stuff.




... then probably this is the wrong place to ask and resolve issues
since criticism of existing issues -for whatever reason- is highly
questioned. I should consider the SuSE Studio appliance builder, then?
http://susestudio.com/
   

please feel encourage to find the right tool for what you like to do. it
might very well not be debian-live, or it might, i don't know.
 

Thank you, I am beginning to consider alternatives.
   


I don't think you "will be happy" with closed source "suse studio".
I have been told that "grml" has a kind of good working live image 
builder however I didn't test it myself and don't know his limitations.


Regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb42b9f.3080...@it-infrastrukturen.org



Re: Bug#600283: live-build: binary.img not created, incorrect sources.list

2010-10-15 Thread Mark Schneider

Josselin,

it is an interesting and important issue (at least from my point of view).

I would recommend you however to upgrade to the current version of all 
lb 2.0.x packages and build again. It is difficult and time consuming 
for the developer to support older versions.


Looking forwards for your understanding ;)

regards
Mark


Am 15.10.2010 16:17, schrieb Josselin Mouette:

Package: live-build
Version: 2.0.2-1
Severity: serious
Justification: images don’t build without network access

I define a mirror for the bootstrap phase. A mirror (the same) for the
chroot phase. A mirror (still the same) for the binary phase. I make a
configuration for a usb-hdd build.

But in the end, live-build fails silently. The script finishes, and I
don’t get any binary.img.

Removing .stage/binary* and retrying gives another error message:

# lb binary
[snip]
P: Begin building root filesystem image...
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
   squashfs-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 114 kB of archives.
After this operation, 295 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
   squashfs-tools
E: There are problems and -y was used without --force-yes
P: Begin unmounting filesystems...

In chroot/etc/apt/sources.list, there is only one line:
deb http://ftp.us.debian.org/debian/ squeeze main
Since ftp.us is not reachable from the machine where it is building
(remember, I set a specific mirror precisely because of that), this
explains the error.

> From here, I tried a bit of voodoo: replaced the sources.list by hand,
run apt-get update in the chroot. No more luck, it still fails silently,
and AFAICT I’m not using a specific filesystem that specifically trashes
files named binary.img.

Running “lb binary” twice will even overwrite the sources.list again
(seriously? isn’t the contents of the chroot supposed to be fixed after
the chroot phase?)

No more luck with lb binary_usb:

# lb binary_usb
[snip]
P: Mounting /dev/loop1 with offset 0
Warning: The resulting partition is not properly aligned for best performance.
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0.000518781 s, 848 kB/s
P: Mounting /dev/loop1 with offset 512
mkfs.vfat 3.0.9 (31 Jan 2010)
Loop device does not match a floppy size, using default hd params
Can't open /proc/13761/fd/3: No such file or directory
Cannot initialize 'S:'
Bad target s:/ldlinux.sys
syslinux: failed to create ldlinux.sys

So, should I prepare for sacrificing a chicken now?


I’m seriously sick of the whole of live-build being changed in each
version. I used to be able to build working images with earlier versions
of 2.0. We’re supposed to be in a *deep freeze*, and not only did the
configuration format change again, but now it’s not even possible to do
the simplest things anymore.

   



--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cb86b64.80...@it-infrastrukturen.org



isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument

2010-11-20 Thread Mark Schneider

Hello

does one of you getting such error when trying to build a 
binary-hybrind.iso image bigger than 2GB?
"isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument" - 
details: http://paste.debian.net/100295

or below

Thank you in advance for any hints ;)

regards
Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++

# ---

Total translation table size: 2048
Total rockridge attributes bytes: 139529
Total directory bytes: 765952
Path table size(bytes): 5988
Max brk space used 10b000
1053902 extents written (2058 MB)
isohybrid: Warning: more than 1024 cylinders: 2059
isohybrid: Not all BIOSes will be able to boot this device
isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument
LH='1'
P: Begin unmounting filesystems...

r...@t60p:/home/ironm/LIVE#


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce7e664.9060...@it-infrastrukturen.org



Re: isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument

2010-11-20 Thread Mark Schneider

Am 20.11.2010 20:30, schrieb Daniel Baumann:

On 11/20/2010 04:16 PM, Mark Schneider wrote:
   

does one of you getting such error when trying to build a
binary-hybrind.iso image bigger than 2GB?
 

stop hijacking threads, thanks.

   

"isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument" -
details: http://paste.debian.net/100295
or below
 

this has been discussed with you already on irc. please avoid
'cross-posting'


Include in the live manual that it is not possible to create greater 
binary-hybrid iso images than 2GB - thanks!


Mark

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce81599.4060...@it-infrastrukturen.org



Re: isohybrid: binary-hybrid.iso: seek error - 6: Invalid argument

2010-11-20 Thread Mark Schneider

Am 20.11.2010 21:35, schrieb Daniel Baumann:

On 11/20/2010 07:38 PM, Mark Schneider wrote:
   

Include in the live manual that it is not possible to create greater
binary-hybrid iso images than 2GB - thanks!
 

in general you could do that yourself as you did commits on the manual
before, however, you can create images bigger than 2gb, so i prefere if
you would not add that.
   

I guess it first possible with the new "syslinux 4.03+dfsg-1".
4.02+dfsg-7 isohybrid.c didn't include the patch to fix this issue.

--
IT-Infrastrukturen.ORG

m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ce848dc.1040...@it-infrastrukturen.org



xen 4.1 (wheezy) and xen4.0 (squeeze) debian live images

2011-07-13 Thread Mark Schneider

Hello,

First a big thank you at Daniel and all other developers and testers for 
their excellent work on debian live.


I have successfully created debian live xen images with live builder 2 
(squeeze) and live builder 3 (weheezy).

Please take a look at the following link for download and further details:
http://www.it-infrastrukturen.com/fileadmin/linux/debian-live-xen/README.xen
# ---

rsync -avP 
rsync://www.it-infrastrukturen.ch/ftp/xen41-wheezy-amd64-live-gnome-binary-hybrid.iso
 .

rsync -avP 
rsync://www.it-infrastrukturen.ch/ftp/xen40-squeeze-amd64-live-gnome-binary-hybrid.iso
 .
# ---


It would be great if you could give me some feedback (in particular on 
systems with IOMMU BIOS option) as I am not able to get HVM with PCI 
passthrough working on HP DL385 g7 servers with AMD CPUs (see IOMMU and 
HVM entries in the link below)

http://www.it-infrastrukturen.com/fileadmin/linux/paste/xm_dmesg.xen41_on_DL385g7_NOK.txt

Please let me know if there would be some interest to place these images 
under http://live.debian.net/project/downstream/ including debian live 
config options.


Thank you in advance for any comments and/or hints.

Regards, Mark

--
m...@it-infrastrukturen.org

+++ Free infrastructure software for all. +++


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e1d9d47.3020...@it-infrastrukturen.org



troubles with kernel 3.0-rc6: + panic mount unionfs-fuse on /root/ failed with option -o cow ...

2011-07-14 Thread Mark Schneider

Hello,

Because the standard wheezy kernel 2.6.39-2 doesn't support some xen 
options (like xen-pciback.hide) I have tried to use kernel 3.0-rc6 on 
the live image instead.


The iso live image was created (on wheezy/current lb3) however there is 
an error (s. below) during the boot and  I am getting the BusyBox 
prompt. I have tested with "union=aufs" and "union=unionfs-fuse" boot 
options on the kernel boot line and have included the unionfs-fuse 
package on the live image.


Live iso images with kernel 2.6.39-2 boot correctly (union=aufs) and 
work as expected.


I have tested it on HP DL385g7 server and ThinkPad T60p notebook (same 
error).


# ---
live-boot will now start a shell. The error message was:

  mount unionfs-fuse on /root/ failed with option -o cow -o 
noinitgroups -o fault_permissions \
   -o allow_other -o use_info -o suid 
/cow/=RW://filesystem.squashfs/=RO



BusyBox v1.18.4 (Debian 1:1.18.4-2) built-in shell (ash)
# ---

With debug option activated (boot line) there is such line in the 
live-boot.log (in BusyBox):

# ---
+ panic mount unionfs-fuse on /root/ failed with option -o cow -o 
noinitgroups -o fault_permissions -o allow_other -o use_info -o suid 
/cow/=RW://filesystem.squashfs/=RO

# ---

Thank you in advance for any hints where to look or how to debug.

Regards, Mark

--
m...@it-infrastrukturen.org



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e1ebb99.80...@it-infrastrukturen.org



Creating of ubuntu live image (on oneiric 11.10) with lb 3.0-a45 fails with: E: Unable to locate package console-common

2012-03-11 Thread Mark Schneider

Hello,

I hope you can give some hints, please. I try to create ubuntu live 
images (*oneiric*) using *live-builder 3.0-a45* but even in the simplest 
possibe configuration I am getting an error like:

E: Unable to locate package console-common

Simple auto/config results in the following output of "lb config":
[2012-03-11 13:31:58] lb_config noauto --mode ubuntu --distribution oneiric

I can "see" console common on the oneiric console:
root@oneiric:/tmp/live# apt-cache search console-common
console-common - basic infrastructure for text console configuration

More complex configuration (attached file config-live-oneiric) doesn't 
work as well and gives the same error message.


There seems to be nothing special in binary.log (attached file binary.log).

What do I miss? Thank you in advance for any hints.

Regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org

root@oneiric:/tmp/live# cat auto/config
#!/bin/sh

lb config noauto \
--mode ubuntu \
--bootloader syslinux \
--architectures amd64 \
--linux-flavours generic \
--distribution oneiric \
--debian-installer live \
--iso-preparer ironm \
--iso-publisher IT-infrastrukturen.org \
--iso-application oneiric-live \
--iso-volume oneiric-amd64-$(date +%Y-%m-%d) \
--hostname oneiric \
--username sql \
--bootappend-live "locales=en_GB.UTF-8 utc=no timezone=Europe/Zurich 
keyboard-layouts=en" \
--bootappend-install "locales=en_GB.UTF-8 utc=no timezone=Europe/Zurich 
keyboard-layouts=en" \
"${@}"

[2012-03-11 13:20:38] lb_build noauto
[2012-03-11 13:20:38] lb_bootstrap 
P: Setting up cleanup function
[2012-03-11 13:20:38] lb_bootstrap_cache restore
P: Restoring bootstrap stage from cache...
[2012-03-11 13:20:38] lb_bootstrap_copy 
[2012-03-11 13:20:38] lb_bootstrap_cdebootstrap 
[2012-03-11 13:20:38] lb_bootstrap_debootstrap 
P: Begin bootstrapping system...
[2012-03-11 13:20:38] lb_testroot 
W: skipping bootstrap, already done
[2012-03-11 13:20:38] lb_bootstrap_cache save
P: Saving bootstrap stage to cache...
P: Begin unmounting filesystems...
P: Saving caches...
Reading package lists...
Building dependency tree...
[2012-03-11 13:20:39] lb_chroot 
P: Setting up cleanup function
[2012-03-11 13:20:39] lb_chroot_cache restore
[2012-03-11 13:20:39] lb_chroot_devpts install
[2012-03-11 13:20:39] lb_testroot 
P: Begin mounting /dev/pts...
[2012-03-11 13:20:39] lb_chroot_proc install
[2012-03-11 13:20:39] lb_testroot 
P: Begin mounting /proc...
[2012-03-11 13:20:39] lb_chroot_selinuxfs install
[2012-03-11 13:20:39] lb_testroot 
[2012-03-11 13:20:39] lb_chroot_sysfs install
[2012-03-11 13:20:39] lb_testroot 
P: Begin mounting /sys...
[2012-03-11 13:20:39] lb_chroot_debianchroot install
P: Configuring file /etc/debian_chroot
[2012-03-11 13:20:39] lb_chroot_dpkg install
P: Configuring file /sbin/start-stop-daemon
[2012-03-11 13:20:39] lb_chroot_tmpfs install
[2012-03-11 13:20:39] lb_chroot_sysv-rc install
P: Configuring file /usr/sbin/policy-rc.d
[2012-03-11 13:20:39] lb_chroot_upstart install
P: Configuring file /sbin/initctl
[2012-03-11 13:20:40] lb_chroot_hosts install
P: Configuring file /etc/hosts
[2012-03-11 13:20:40] lb_chroot_resolv install
P: Configuring file /etc/resolv.conf
[2012-03-11 13:20:40] lb_chroot_hostname install
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
[2012-03-11 13:20:40] lb_chroot_apt install
P: Configuring file /etc/apt/apt.conf
[2012-03-11 13:20:40] lb_chroot_archives chroot install
P: Configuring file /etc/apt/sources.list
Ign http://security.ubuntu.com oneiric-security InRelease
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Get:1 http://security.ubuntu.com oneiric-security Release.gpg [198 B]
Hit http://archive.ubuntu.com oneiric Release.gpg
Get:2 http://security.ubuntu.com oneiric-security Release [40.8 kB]
Get:3 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Hit http://archive.ubuntu.com oneiric Release
Get:4 http://archive.ubuntu.com oneiric-updates Release [40.8 kB]
Get:5 http://security.ubuntu.com oneiric-security/main Sources [33.7 kB]
Get:6 http://archive.ubuntu.com oneiric/main Sources [877 kB]
Get:7 http://security.ubuntu.com oneiric-security/restricted Sources [14 B]
Get:8 http://security.ubuntu.com oneiric-security/main amd64 Packages [87.9 kB]
Get:9 http://security.ubuntu.com oneiric-security/restricted amd64 Packages [14 
B]
Get:10 http://security.ubuntu.com oneiric-security/main i386 Packages [88.0 kB]
Get:11 http://security.ubuntu.com oneiric-security/restricted i386 Packages [14 
B]
Get:12 http://security.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:13 http://security.ubuntu.com oneiric-security/restricted TranslationIndex 
[70 B]
Get:14 http://security.ubuntu.com oneiric-security/main Translation-en [49.6 kB]
Get:15 http://security.ubuntu.com oneiric-security/restricte

Solved: Re: Creating of ubuntu live image (on oneiric 11.10) with lb 3.0-a45 fails with: E: Unable to locate package console-common

2012-03-11 Thread Mark Schneider

Am 11.03.2012 14:56, schrieb Daniel Baumann:

On 03/11/2012 02:28 PM, Mark Schneider wrote:
   

I try to create ubuntu live
images (*oneiric*) using *live-builder 3.0-a45* but even in the simplest
possibe configuration I am getting an error like:
E: Unable to locate package console-common
 

http://live.debian.net/gitweb?p=live-build.git;a=commitdiff;h=40a8a8ee7523240f4657b768909a9ed92fcfebc5
   

Thanks a lot. This patch has solved this issue.

--
m...@it-infrastrukturen.org
http://www.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f5cd80b.7090...@it-infrastrukturen.org



Fwd: Error lb3.0-a45 on ubuntu oneiric: Setting up syslinux-themes-ubuntu-oneiric / tar: /root/tmp: Cannot open: No such file or directory

2012-03-11 Thread Mark Schneider
Is there a problem with the debian-live mailingslist or was the attached 
file too big?


 Original-Nachricht 
Betreff: 	Error lb3.0-a45 on ubuntu oneiric: Setting up 
syslinux-themes-ubuntu-oneiric / tar: /root/tmp: Cannot open: No such 
file or directory

Datum:  Sun, 11 Mar 2012 18:32:37 +0100
Von:Mark Schneider 
An: debian-live@lists.debian.org, m...@it-infrastrukturen.org



Hello,

Just another issue on ubuntu oneiric (11.10):
Setting up syslinux-themes-ubuntu-oneiric (1) ...^M
tar: /root/tmp: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

I used the simples configuration for the test:
root@oneiric:/tmp/live# cat auto/config
#!/bin/sh

lb config noauto \
--mode ubuntu \
--distribution oneiric \
"${@}"


I tried also with the following config option: *--syslinux-theme 
"ubuntu-oneiric" *

#!/bin/sh

lb config noauto \
--mode ubuntu \
--distribution oneiric \
--syslinux-theme "ubuntu-oneiric" \
"${@}"

I have attached binary.log.

SettinG of symbolic link didn't help (s. below) .. due to: 
https://bugs.launchpad.net/ubuntu/+source/syslinux-themes-ubuntu/+bug/880119
root@oneiric:/tmp/live# ls -l 
chroot/usr/share/syslinux/themes/ubuntu-oneiric/

drwxr-xr-x 2 root root 540 2012-03-11 18:17 isolinux-live
lrwxrwxrwx 1 root root  13 2012-03-11 18:16 *syslinux-live -> 
isolinux-live**

*
What do I miss? Thank you in advance for any hints.

Regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org



binary.log.gz
Description: application/gzip


Re: Fwd: Error lb3.0-a45 on ubuntu oneiric: Setting up syslinux-themes-ubuntu-oneiric / tar: /root/tmp: Cannot open: No such file or directory

2012-03-11 Thread Mark Schneider

Am 11.03.2012 22:22, schrieb Daniel Baumann:

On 03/11/2012 07:40 PM, Mark Schneider wrote:
   

Just another issue on ubuntu oneiric (11.10):
Setting up syslinux-themes-ubuntu-oneiric (1) ...^M
tar: /root/tmp: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
 

please report bugs in the ubuntu distribution to the ubuntu project, not
to this mailinglist, there is nothing we can do about, thanks.
   
Sorry. I thought it is an issue of live-build 3.0-a45 when using it on 
ubuntu 11.10.


Even due to http://lists.debian.org/debian-live/2011/06/msg00152.html 
(s. below) I am getting other errors (s. further below)

# ---
root@oneiric:/tmp/live#
mkdir -p auto
ln -sf /usr/share/livecd-rootfs/live-build/auto/* auto/

export PROJECT=ubuntu SUITE=oneiric ARCH=amd64
# ---

Errors when running lb 3.0-a45 on ubuntu 11.10 (server)
# ---
Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/l/lzma/lzma_4.43-14ubuntu2_amd64.deb  
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No 
address associated with hostname)
Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/s/shared-mime-info/shared-mime-info_0.90-1ubuntu4_amd64.deb  
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No 
address associated with hostname)
Failed to fetch 
http://archive.ubuntu.com/ubuntu/pool/main/u/user-setup/user-setup_1.28ubuntu20_all.deb  
Something wicked happened resolving 'archive.ubuntu.com:http' (-5 - No 
address associated with hostname)

# ---

It is a strange error as I am able to resolve and access (using browser) 
archive.ubuntu.com


What do you think about placing some information in live manual where to 
find description how to create ubuntu live images (link to 
ubuntu.com/some_documents)?



Regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org




Open issue with syslinux support in lb3 / wheezy?

2012-03-14 Thread Mark Schneider

Hello,

Is there an issue with syslinux support in lb3 and wheezy?

Even with the simplest configuration the created binary-hybrid images 
don't boot when the "--syslinux-theme debian" config option is on.


I read manual already few times .. didn't find any hints about.

Thank you in advance for any hints.

Regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f60f400.1020...@it-infrastrukturen.org



lb3.0-a45 / syslinux support - additional binary hook for keyboard layout choice in boot menu

2012-03-27 Thread Mark Schneider

Hello

I use an additional binary hook (included links) and some templates to 
support the choice of more than one keyboard layout and some other 
options in the boot menu (for syslinux).


Short video:
http://rsync.it-infrastrukturen.org/debian-live/debian-live-boot-menu-keyboard-layout-choice-2012-03-25.ogv

Details: binary hook and templates:
http://rsync.it-infrastrukturen.org/debian-live/hooks-bootloaders-config-2012-03-19.tar.gz

Configuration tree for LXDE and awesome test images:
http://rsync.it-infrastrukturen.org/debian-live/config-live-lxde-public-2012-03-27.tar.gz
http://rsync.it-infrastrukturen.org/debian-live/config-live-awesome-public-2012-03-27.tar.gz

Binary hybrid test images for the config above:
http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-lxde.iso
http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-awesome.iso

I would be happy if it would help to improve syslinux options of lb3.

Big thank you at Daniel, Ben and all developers and Testers for this 
great tool and his documentation.


regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f71de41.9060...@it-infrastrukturen.org



Re: Unable to login to minimal build

2012-03-30 Thread Mark Schneider

Am 30.03.2012 14:28, schrieb Tim Gibbon:

I think this might also be related to this message:

http://lists.debian.org/debian-live/2012/03/msg00181.html

I've been building images successfully on Wheezy for the last 6 months using:

# lb --version
live-build, version 3.0~a45-1

The image builds successfully after being configured like so:

lb config \
--architecture i386 \
--binary-images hdd \
--distribution wheezy \
--archive-areas 'main contrib non-free' \
--bootappend-live "ip=eth0:192.168.1.23:255.255.255.0:192.168.1.1 persistent" \
--mirror-bootstrap "http://localhost:3142/ftp.uk.debian.org/debian/"; \
--distribution wheezy \
--hostname bobbins \
--tasks minimal

When I boot the image I now get prompted with a localhost.localdomain
login: prompt, instead of just being dropped to the bash prompt. The
usual username/password doesn't work:
user/live
I've tried adding the live-user to my bootappend-live above and still no joy.

Please could you tell me what I'm doing wrong?

tn


You don't do anything wrong I guess. I had the same issue yesterday and 
I was not able anymore to create images I did successfully few days ago. 
I use lb 3.0-a45-1 too.


I mean there is a regression bug (removed patch for live-boot or like that)

regards, Mark

--

m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f75ca60.8090...@it-infrastrukturen.org



Re: Unable to login to minimal build

2012-03-30 Thread Mark Schneider

Am 30.03.2012 16:59, schrieb Mark Schneider:

Am 30.03.2012 14:28, schrieb Tim Gibbon:

I think this might also be related to this message:

http://lists.debian.org/debian-live/2012/03/msg00181.html

I've been building images successfully on Wheezy for the last 6 
months using:


# lb --version
live-build, version 3.0~a45-1

The image builds successfully after being configured like so:

lb config \
--architecture i386 \
--binary-images hdd \
--distribution wheezy \
--archive-areas 'main contrib non-free' \
--bootappend-live "ip=eth0:192.168.1.23:255.255.255.0:192.168.1.1 
persistent" \

--mirror-bootstrap "http://localhost:3142/ftp.uk.debian.org/debian/"; \
--distribution wheezy \
--hostname bobbins \
--tasks minimal

When I boot the image I now get prompted with a localhost.localdomain
login: prompt, instead of just being dropped to the bash prompt. The
usual username/password doesn't work:
user/live
I've tried adding the live-user to my bootappend-live above and still 
no joy.


Please could you tell me what I'm doing wrong?

tn


You don't do anything wrong I guess. I had the same issue yesterday 
and I was not able anymore to create images I did successfully few 
days ago. I use lb 3.0-a45-1 too.


I mean there is a regression bug (removed patch for live-boot or like 
that)


To say it more clearly: I have created iso images *but* I was *not able 
to login in* at all.

(tested with lxde, text or awesome images). Boot line options were ignored.

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f75d276.1030...@it-infrastrukturen.org



broken wheezy packages? - Re: default username and password

2012-03-31 Thread Mark Schneider

Am 31.03.2012 07:30, schrieb Geert Stappers:

On Fri, Mar 30, 2012 at 02:46:32PM -0500, Richard Nelson wrote:
   

Greetings,

On Fri, Mar 30, 2012 at 2:19 PM, sai kalyan  wrote:
 

wheezy
linux image 486-pae and 686-pae

   

what is produce when you run:

lb -v


Also I put the dialog back on list.
 


In http://lists.debian.org/debian-live/2012/03/msg00200.html
is spoken of a regression bug.  I can't confirm it ( nor deny it)
This post is just to tell that more people exprience the same error.
   
I'm sorry for the confusion. It is *not* a regression bug in live boot, 
as live-boot or live-build didn't change during few last weeks (git) so 
there must be some broken packages in last wheezy updates (my guess).


Newly created images doesn't create entries for live user during the 
boot process and even boot command line options are visible in 
/etc/cmdline they are not used (just *only* for test I used a chroot 
hook to create live user entries in /etc/passwd and /etc/shadow and I 
was able to login in .. however with "/" as home).


regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f77bfce.5090...@it-infrastrukturen.org



Re: broken wheezy packages? - Re: default username and password

2012-04-01 Thread Mark Schneider

Am 01.04.2012 11:15, schrieb Tim Gibbon:

On Sun, Apr 1, 2012 at 3:39 AM, Mark Schneider
  wrote:
   
I'm sorry for the confusion. It is *not* a regression bug in live 
boot, as

live-boot or live-build didn't change during few last weeks (git) so there
must be some broken packages in last wheezy updates (my guess).

Newly created images doesn't create entries for live user during the boot
process and even boot command line options are visible in /etc/cmdline they
 

/proc/cmdline of course ...


are not used (just *only* for test I used a chroot hook to create live user
entries in /etc/passwd and /etc/shadow and I was able to login in .. however
with "/" as home).
 


You are right since the live build images built with:
root@danny:~# lb --version
live-build, version 2.0.12-
   

I use[d] lb3-a45-1 to build wheezy images (binary hybrid with syslinux)


To build a wheezy image also didn't work - couldn't login with
username/password.
lb config \
--architecture i386 \
--distribution wheezy \
--binary-image hdd \
--archive-areas 'main contrib non-free' \
--bootappend-live "ip=eth0:192.168.1.1:255.255.255.0:192.168.1.1 persistent" \
--mirror-bootstrap "http://localhost:3142/ftp.debian.org/debian/"; \
--syslinux-timeout 1 \
--syslinux-splash config/binary_syslinux/bobbins_splash.png \
--distribution wheezy \
--hostname bobbins \
--tasks minimal

I thought I was doing the right thing keeping lb stable on one machine
and lb unstable on the other. On the rare occasions that lb 3.x has
been broken, I've fallen back to lb 2.x. Sadly, in this case I am no
longer able to do that.
   
For quick tests in live mode and using RAM-disk I created the following 
wheezy live image with lb3-a45-1. It can create "itself" using RAM disk 
if you have enough RAM (I placed its own config tree in 
/home/live/live). There is also some description how to do it and a 
short script. The config includes also an additional binary hook and 
some syslinux templates to support the choice of more than one keyboard 
layout in boot menu.

Image with LXDE WM:
http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-lxde.iso
or with awesome WM:
http://rsync.it-infrastrukturen.org/debian-live/binary-hybrid-wheezy-amd64-syslinux-awesome.iso

regards, Mark

--
m...@it-infrastrukturen.org
http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f78462f.9070...@it-infrastrukturen.org



Re: Wheezy fails to execute config scripts from //filesystem.squashfs/lib/live/config

2012-10-01 Thread Mark Schneider

Hi Андрій

Am 01.10.2012 10:47, schrieb Андрій Шинкарчук:

Hello debian-live and Daniel Baumann especially.

I'm working under wheezy-based netboot image with a live-* packages
from sid for my network.

After recent changes in live-config (after Septeber 27th) i can build
netboot image, but it fails to execute config scripts during boot
process and thus create live user and autologin to it.
Image built on 27th of september boots fine, user creation and
autologon is succesfull. Images built on 28th, 30th of September and
1st of October failed both to create users and autologin.
I can confirm similar issue when trying to build "normal" live images 
for sid and wheezy on sid host.

The live user is not created during the boot process.

I used the following version of live build packages:
# ---
live-boot 3.0~b5-1
live-boot-initramfs-tools 3.0~b5-1
live-build 3.0~a61-1
live-config 3.0.7-1
live-config-sysvinit 3.0.7-1
# ---

I had to add the content of removed "#include 
" lists to a new list in 
"config/package-lists".


Just for test and as a workaround I used the following lines in rc.local 
ot the boot image:

# ---
sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' /proc/cmdline | xargs 
-iX /usr/sbin/addgroup X || :
sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' /proc/cmdline | xargs 
-iX /usr/sbin/useradd -g X -m -s "/bin/bash" -c "Debian live user" X || :
sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' /proc/cmdline | xargs 
-iX echo "X ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/X || :


mv /home/user/.[a-z]* /home/`sed 's/^.*username=\([a-z0-0][a-z0-9]*\) 
.*$/\1/' /proc/cmdline`/ || :
mv /home/user/* /home/`sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' 
/proc/cmdline`/ || :

rmdir /home/user

cat /root/.vimrc >> /home/`sed 's/^.*username=\([a-z0-0][a-z0-9]*\) 
.*$/\1/' /proc/cmdline`/.vimrc || :
sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' /proc/cmdline | xargs 
-iX chown -R X.X /home/X || :


# Setting password to "live":
sed 's/^.*username=\([a-z0-0][a-z0-9]*\) .*$/\1/' /proc/cmdline | xargs 
-iA sed -i 
'/^A:/s|^\(A\):\(.*\):\([0-9][0-9]*:.:[0-9][0-9]*:[0-9]:::$\)|\1:$6$/6.LjiDG$ZwpBsG67I9cRwbfjSwCf6afQ0MwM8Bm1tHgMJLOnTkp3ZoVDCI8/OEwB6yXb/XhF2TG1YbN6kZ.wyN65iB9Ry0:\3|' 
/etc/shadow || :


# ---

I see that there is a new "a62", however I can test it first today 
evening or tomorror.



Additional info:
filesystem.squashfs image mounts succesfully into
${croot}/${imagename} that is //filesystem.squashfs directory (yes,
leading double slash exactly, i see `Begin: Mounting
"/live/image/live/filesystem.squashfs" on "//filesystem.squashfs" via
"/dev/loop0" ... done` during boot process)
filesystem.squashfs image also contains /lib/live/config/-*
scripts (including user-setup and so on) and /lib/live/config.sh with
presets (i mounted filesystem.squashfs and checked)

live-config package version 3.0.7-1 in 30th and 1st images versus
3.0.6-1 in fine booting 27th image.

I made a conclusion that config scripts were not executed because of i
see `localhost.localdomain` tty* prompts instead of autologinned
`user` at `debian` host and besides it i can't see output of locales,
user-setup and other scripts during boot time while 27th image have
it.

I have also checked recent
http://live.debian.net/cdimage/release/7.0~a1/amd64/netboot/ images
(kde). KDE boots, but i receive multicolor-dotted display with a
square instead of cursor on both tty7 and on tty1-6 (AMD E350 APU
graphics - drivers not included?) and kdm's login prompt at
`localhost.localdomain` for test KVM guest. So issue is 100%
reproduced both with debian-live server builds and my own builds.

It looks like for me that some errors were made while moving from
/live to /lib/live or some other. I can give any additional data
and/or information or 27th image if you request it.

---

That is my auto/config if necessary

lb config noauto --clean --mode debian \
-b net \
--net-root-path "/srv/debian-live/" \
--net-root-server "192.168.1.1" \
--apt-recommends false --apt-indices false \
--distribution wheezy \
--archive-areas "main contrib non-free" \
--mirror-bootstrap http://ftp.ua.debian.org/debian/ \
--mirror-chroot-security http://ftp.ua.debian.org/debian-security/ \
--mirror-chroot-backports http://ftp.ua.debian.org/debian-backports/ \
--mirror-binary http://ftp.ua.debian.org/debian/ \
--mirror-binary-security http://ftp.ua.debian.org/debian-security/ \
--bootappend-live "locales=uk_UA.UTF-8,en_US.UTF-8 username=student
hostname=debian-live
user-default-groups=audio,cdrom,dip,floppy,video,plugdev,netdev,powerdev,scanner,bluetooth,fuse,kvm,libvirtd"
\
--ignore-system-defaults "${@}"

config/packages-list contains live.list.chroot with `live-manual-all
live-tools user-setup sudo live-config live-config-doc live-boot
live-boot-initramfs-tools live-boot-doc uuid-runtime` and
config/chroot_apt contains preferences with pin-priority for this
packages equal 600 from sid repo. Both live.list.binary and
live.list.chroot contains sid repo entry


Re: Decision 1 - Moving live mounts to subdirectory within /lib/live

2012-10-03 Thread Mark Schneider

Am 03.10.2012 09:51, schrieb Daniel Baumann:

Current Situation
-

1. filesystems mounted by live-boot

live-boot *mounts* the following things as of current sid:

   /lib/live/image: the live media mounted read-only
   /lib/live/rofs/filesystem.{squashfs,ext*,...}: the root fs image
   /lib/live/overlay: the copy-on-write content from aufs
   /lib/live/findiso: the loop-mounted iso image when using findiso
   /lib/live/persistence/*: persistent devices with copy-on-write overlay

[nb: i've you havent followed live-boot recently, /lib/live was formerly
in / as /live, but we've moved that to /lib/live in order to not pollute
the rootfs with a non-FHS top-level directory]


2. code content in /lib/live

/lib/live servs as the directory that contains all the runtime code of
debian-live:

   /lib/live/{boot.sh,boot/*}: live-boot
   /lib/live/{config.sh,config/*}: live-config
   /lib/live/debconfig/*}: live-debconfig
   /lib/live/installer: debian-installer-launcher's d-i chroot


Change
--

evidently, /lib/live is now too crowded. we would like to better
seperate the mounts from the code, in order to make it more inuitive to
see what part is what.

IMHO: At least for me it is not "too" crowded.
Whatever the final desicion will be: More important is to define the 
structure of directories, mountpoints etc *once* and keep it until the 
end of this release. I am comfortable with the current structure. 
Changes of such kind require modifications of some scripts/hooks I use 
on/for my live images.



therefore, we propose to move the mountpoints:

   /lib/live/image
   /lib/live/rofs/filesystem.{squashfs,ext*,...}
   /lib/live/overlay
   /lib/live/findiso
   /lib/live/persistence/*

from /lib/live to /lib/live/mount:

   /lib/live/mount/image
   /lib/live/mount/rofs/filesystem.{squashfs,ext*,...}
   /lib/live/mount/overlay
   /lib/live/mount/findiso
   /lib/live/mount/persistence/*

resulting in /lib/live looking like this at its top-level:

   /lib/live/{boot.sh,boot/*}: live-boot
   /lib/live/{config.sh,config/*}: live-config
   /lib/live/debconfig/*}: live-debconfig
   /lib/live/installer: debian-installer-launcher's d-i chroot
   /lib/live/mount: misc mountpoints of live-boot

there was consensus yesterday on irc to do move the mountpoints, and to
name the new directory /lib/live/mount. it's a functional name with no
abbreviation (we could have used the more intuitive /lib/live/mnt
otherwise), which is what we consistently do in live-* for everything
named proper.

Why not to use /mnt instead?


current git of live-* already reflects this change.


Thank you / regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/506c2b51.1020...@it-infrastrukturen.org



Re: Decision 2 - Name and number of /live/filesystem.* on live media

2012-10-03 Thread Mark Schneider

Am 03.10.2012 13:44, schrieb Daniel Baumann:

On 10/03/2012 12:47 PM, Michal Suchanek wrote:

How many layers would a live system with multitude of
squashfs images and multitude of persistence layers have?

in the gnome-desktop case, that would be 3
(base+standard+gnome-desktop), plus one for persistence (when using full
or only one-directory (home) persistence).

so.. in the default (=official images) cases, below 5. that should work,
right?
From my point of view it is a *good* idea to support multiply squashfs 
images.

Are there any disadvantages like higher RAM usage in the live system?


2) composing multiple squashfs images is not always practical.

we're not talking about 'allways', we're talking about 'defaults'.

talking about 'default' means, that you'll allways be able to change to
one squashfs image if that's suitable for your use case.

It is OK with the possibility to change to one squashfs image when required.

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/506c2db8.9080...@it-infrastrukturen.org



Re: Decision 1 - Moving live mounts to subdirectory within /lib/live

2012-10-03 Thread Mark Schneider

Am 03.10.2012 14:20, schrieb Ben Armstrong:

On 10/03/2012 09:10 AM, Mark Schneider wrote:

IMHO: At least for me it is not "too" crowded.
Whatever the final desicion will be: More important is to define the
structure of directories, mountpoints etc *once* and keep it until the
end of this release. I am comfortable with the current structure.
Changes of such kind require modifications of some scripts/hooks I use
on/for my live images.

What do you mean "until the end of this release"? 3.x has not been
released yet, and until it is, changes will continue to be made until we
have made it finally releaseworthy.

Sorry that changes require that you change scripts/hooks, but that's
just the reality of using pre-release software. We can't be shy of
making changes just to save pre-release users the bother of having to
adjust their configs.


Why not to use /mnt instead?

Read FHS. It doesn't allow for that. It is for a single temporary mount.

Ben


Thank you for you answer Ben. Please apologize for my different opinion 
and expectations.


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/506c2fc8.9050...@it-infrastrukturen.org



Broken iso live images on debian sid

2012-10-07 Thread Mark Schneider

Hello,

Even with the simplest configuration (or the following config: git clone 
git://live-systems.org/git/debian-lxde-desktop.git) live-buil creates on 
debian sid *broken* iso images which are not able to boot (after 
displaying the boot menu futher booting ends on initramfs prompt). I 
have executed some tests like described in the attached file 
(sid-lb-config.txt).


For some reason the versions of live builder packages packages on the 
created image are older than these ones on the build host (details in 
the attached sid-lb-config.txt file).


Do you have any idea, how to trace this issue? it is useless to check 
the BTS of debian refer to this issue, yet.


I am not sure if it is a bug in new sid packages, the new version of 
live builder3.x, my missunderstanding of the live manual or something else.


I hope that this message will save people some frustration with building 
of live images on debian sid ;)


Thank you in advance for any hints.

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org

# My build system (debian sid)
root@sid:~# uname -a
Linux sid 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux
root@sid:~# dpkg -l | sed -n '/[^x]live-[^m]/s/all.*$//p'
ii  live-boot 3.0~b6-1
ii  live-boot-initramfs-tools 3.0~b6-1
ii  live-build3.0~a64-1
ii  live-config   3.0.8-1
ii  live-config-sysvinit  3.0.8-1


# Files after running "lb config; lb build" with the simplest recommended test 
configuration
# (lb config noauto --clean --mode debian --ignore-system-defaults "${@}")

root@sid:/tmp/live/sid# ls -l
insgesamt 131088
drwxr-xr-x  2 root root40 Okt  7 15:15 auto
drwxr-xr-x  5 root root   120 Okt  7 15:21 binary
-rw-r--r--  1 root root   370 Okt  7 15:21 binary.contents
-rw-r--r--  1 root root 134217728 Okt  7 15:21 binary.hybrid.iso
-rw-r--r--  1 root root458958 Okt  7 15:21 binary.hybrid.iso.zsync
-rw-r--r--  1 root root  3547 Okt  7 15:20 binary.packages
drwxr-xr-x  7 root root   140 Okt  7 15:20 cache
drwxr-xr-x 22 root root   480 Okt  7 15:21 chroot
-rw-r--r--  1 root root  3176 Okt  7 15:19 chroot.packages.install
-rw-r--r--  1 root root  3547 Okt  7 15:19 chroot.packages.live
drwxr-xr-x 19 root root   480 Okt  7 15:15 config
drwxr-xr-x  4 root root80 Okt  7 15:15 local


# --

The system starts to boot displaying the boot menu like (even I specified in 
one more complex config "--distribution sid"):
# boot menu:

linux: 3.2.23-1

live-build3.0~a64-1
live-boot 3.0~a35-1
live-config   3.0~a43-1
live-tools3.0.3-1

# some boot error messages:
modprobe: module unknown not found in modules.dep
.
.

(initramfs)

# --

# Tested configurations (auto/config)
#!/bin/sh

set -e

lb config noauto --clean --mode debian --bootloader syslinux --architectures 
amd64 --distribution sid --binary-images iso-hybrid --chroot-filesystem 
squashfs "${@}"

# lb config noauto --clean --mode debian --bootloader syslinux --architectures 
amd64 --binary-images iso-hybrid --chroot-filesystem squashfs 
--ignore-system-defaults "${@}"

# lb config noauto --clean --mode debian --ignore-system-defaults "${@}"



Re: Broken iso live images on debian sid

2012-10-07 Thread Mark Schneider

Am 07.10.2012 17:04, schrieb Daniel Baumann:

you forgot to attach the build log.


sorry ... binary.log (s. attachment or the link below)
http://paste.debian.net/197346/

Thank you.

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org



binary.log.gz
Description: application/gzip


Re: Broken iso live images on debian sid

2012-10-07 Thread Mark Schneider

Thank you for your kind hints Ben,

Am 07.10.2012 20:19, schrieb Ben Armstrong:

On 07/10/12 12:42 PM, Mark Schneider wrote:

Am 07.10.2012 17:04, schrieb Daniel Baumann:

you forgot to attach the build log.


sorry ... binary.log (s. attachment or the link below)
http://paste.debian.net/197346/

You claim to be building sid images. You attached a build of a wheezy
image. Check your configuration.

Please note that 3.x defaults distribution to wheezy, since 3.x is
targeted at wheezy. Specify --distribution sid to build a sid image.
I did (see the line below). I created few times live images with 
different config files but no one worked.


lb config noauto --clean --mode debian --bootloader syslinux 
--architectures amd64 *--distribution sid* --binary-images iso-hybrid 
--chroot-filesystem squashfs "${@}"



Alternatively, if you only wanted sid so that you could include sid
live-* images, I recommend you build a wheezy image but include live-*
from sid as indicated in the live-manual section on APT pinning.
I will check again the APT pinning section of manual. Till last "bigger" 
changes in 3.x I didn't have any problems to build sid on sid and I 
didn't need any APT pinning.


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org



Re: Broken iso live images on debian sid

2012-10-07 Thread Mark Schneider

Am 07.10.2012 22:34, schrieb Mark Schneider:

Thank you for your kind hints Ben,

Am 07.10.2012 20:19, schrieb Ben Armstrong:

On 07/10/12 12:42 PM, Mark Schneider wrote:

Am 07.10.2012 17:04, schrieb Daniel Baumann:

you forgot to attach the build log.


sorry ... binary.log (s. attachment or the link below)
http://paste.debian.net/197346/

You claim to be building sid images. You attached a build of a wheezy
image. Check your configuration.

Please note that 3.x defaults distribution to wheezy, since 3.x is
targeted at wheezy. Specify --distribution sid to build a sid image.
I did (see the line below). I created few times live images with 
different config files but no one worked.


lb config noauto --clean --mode debian --bootloader syslinux 
--architectures amd64 *--distribution sid* --binary-images iso-hybrid 
--chroot-filesystem squashfs "${@}"

Well .. I see only wheezy in binary.log (no sid entries).


Alternatively, if you only wanted sid so that you could include sid
live-* images, I recommend you build a wheezy image but include live-*
from sid as indicated in the live-manual section on APT pinning.
I will check again the APT pinning section of manual. Till last 
"bigger" changes in 3.x I didn't have any problems to build sid on sid 
and I didn't need any APT pinning.


--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org



Meaning of --parent-distribution and --parent-distribution

2012-10-07 Thread Mark Schneider

Hello,

What is "*--parent-distribution*" and 
"*--parent-debian-installer-distribution*" for? I don't want to guess ...

There are appriopriate entries in conf/bootstrap file.

There is no description in manual. Thank you.

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org



Re: Broken iso live images on debian sid

2012-10-08 Thread Mark Schneider

Thank you very much Ben.

Am 08.10.2012 13:21, schrieb Ben Armstrong:

On 07/10/12 05:34 PM, Mark Schneider wrote:

I did (see the line below). I created few times live images with
different config files but no one worked.

Wheezy + live-* packages from sid has always worked well for me. So I
assume some user error, but it's not clear to me exactly what yet. I
just now built a minimal 'lb config --distribution sid' build and it
worked fine (i.e. icluded sid packages, not wheezy).


lb config noauto --clean --mode debian --bootloader syslinux
--architectures amd64 *--distribution sid* --binary-images iso-hybrid
--chroot-filesystem squashfs "${@}"

Please attach a copy of the exact auto/config used to generate the build
log you posted.
Just for testing I have set all values to "sid" however it didn't solve 
the issue with broken iso live image for sid.

# ---
lb config noauto --clean --mode debian --bootloader syslinux 
--architectures amd64 \
  --parent-distribution sid 
--parent-debian-installer-distribution sid \
  --distribution sid --debian-installer live 
--debian-installer-distribution sid \

  --binary-images iso-hybrid --chroot-filesystem squashfs "${@}"
# ---
When I don't set the value of these options to "sid" there are "wheezy" 
entries in binary.log.


The system starts to boot displaying the boot menu like (even I 
specified in one more complex config "--distribution sid"):

# boot menu:

linux: 3.2.30-1

live-build3.0~a64-1
live-boot 3.0~b6-1
live-config   3.0.8-1
live-tools3.0.12-1

Further booting of such sid image still ends on (initramfs) prompt. The 
*error message* I can see during the boot is:

*modprobe: module unknown not found in modules.dep*

There more details in attached files.

Do you know it anyone has already created (a working) live iso image for 
sid with the last version of live builder packages (as above) within 
last few days?




I will check again the APT pinning section of manual. Till last "bigger"
changes in 3.x I didn't have any problems to build sid on sid and I
didn't need any APT pinning.

I didn't say you need APT pinning to build sid on sid. I said if you
only wanted sid so you could include live-* images, it is better to
build a wheezy image and include live-* from sid.

If you changed an option affecting bootstrap (e.g. --distribution)
between builds, did you 'lb clean --purge' before the next build?
Yes. I have also checked config/bootstrap file (there were only sid 
entries .. no one for wheezy anymore)


What do I miss? Thank you in advance for any hints.

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org

# My build system (debian sid)
root@sid:~# uname -a
Linux sid 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux
root@sid:~# dpkg -l | sed -n '/[^x]live-[^m]/s/all.*$//p'
ii  live-boot 3.0~b6-1
ii  live-boot-initramfs-tools 3.0~b6-1
ii  live-build3.0~a64-1
ii  live-config   3.0.8-1
ii  live-config-sysvinit  3.0.8-1


# Files after running "lb config; lb build" with the following test 
configuration

root@sid:/tmp/live/sid# lb config
[2012-10-08 01:21:38] lb config
P: Executing auto/config script.
[2012-10-08 01:21:38] lb config noauto --clean --mode debian --bootloader 
syslinux --architectures amd64 --parent-distribution sid 
--parent-debian-installer-distribution sid --distribution sid 
--debian-installer live --debian-installer-distribution sid --binary-images 
iso-hybrid --chroot-filesystem squashfs
P: Considering defaults defined in /etc/live/build.conf
P: Updating config tree for a debian/amd64 system

root@sid:/tmp/live/sid# ls -l
insgesamt 210748
drwxr-xr-x  2 root root80 Okt  8 01:21 auto
drwxr-xr-x  9 root root   220 Okt  8 01:30 binary
-rw-r--r--  1 root root 21293 Okt  8 01:30 binary.contents
-rw-r--r--  1 root root 214958080 Okt  8 01:30 binary.hybrid.iso
-rw-r--r--  1 root root734926 Okt  8 01:30 binary.hybrid.iso.zsync
-rw-r--r--  1 root root194906 Okt  8 01:30 binary.log
-rw-r--r--  1 root root  3561 Okt  8 01:26 binary.packages
drwxr-xr-x 10 root root   200 Okt  8 01:29 cache
drwxr-xr-x 22 root root   480 Okt  8 01:30 chroot
-rw-r--r--  1 root root  3154 Okt  8 01:25 chroot.packages.install
-rw-r--r--  1 root root  3561 Okt  8 01:25 chroot.packages.live
drwxr-xr-x  2 root root   140 Okt  8 01:21 config

# --

The system starts to boot displaying the boot menu like (even I specified in 
one more complex config "--distribution sid"):
# boot menu:

linux: 3.2.30-1

l

Re: Broken iso live images on debian sid

2012-10-08 Thread Mark Schneider

Am 08.10.2012 13:33, schrieb Ben Armstrong:

On 08/10/12 08:21 AM, Ben Armstrong wrote:

If you changed an option affecting bootstrap (e.g. --distribution)
between builds, did you 'lb clean --purge' before the next build?

p.s. you know that in any case, after every change to auto/config you
need to 'lb clean' to clean up the old values in config/* files, right?
On further reflection, it seems likely to me you forgot this step.

I will repeat this step again.

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5072bcdc.3000...@it-infrastrukturen.org



Initial "lb config" and "lb clean --purge"

2012-10-08 Thread Mark Schneider

Hello.

If you start from "scratch" running of "lb config" will create on sid 
the directory structure with "empty" auto/ and default settings in config/


# ---
root@sid:/tmp/live/xxx# ls -l auto/ config/
auto/:
insgesamt 0

config/:
insgesamt 28
drwxr-xr-x 2 root root   40 Okt  8 14:48 archives
-rw-r--r-- 1 root root 4165 Okt  8 14:48 binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_debian-installer
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_grub
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_rootfs
drwxr-xr-x 2 root root   40 Okt  8 14:48 binary_syslinux
-rw-r--r-- 1 root root 4841 Okt  8 14:48 bootstrap
-rw-r--r-- 1 root root 1044 Okt  8 14:48 chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 chroot_apt
-rw-r--r-- 1 root root 3159 Okt  8 14:48 common
drwxr-xr-x 2 root root   40 Okt  8 14:48 hooks
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.binary_debian-installer
drwxr-xr-x 2 root root   40 Okt  8 14:48 includes.chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 package-lists
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages.binary
drwxr-xr-x 2 root root   40 Okt  8 14:48 packages.chroot
drwxr-xr-x 2 root root   40 Okt  8 14:48 preseed
-rw-r--r-- 1 root root  205 Okt  8 14:48 source
drwxr-xr-x 2 root root   40 Okt  8 14:48 templates
# ---

As there are no config, clean and build scripts in auto/ at this time, 
running "lb clean --purge" can *not* remove any config files from 
config/ (binary, bootstrap, chroot, common, source).


It is confusing for newcomers. They do "lb clean --purge" but it doesn't 
really remove config files from config/. I guess, that it would save a 
lot of questions on the list if initial "lb config" would create config, 
clean and build scripts in auto/.


Just my "two cents".

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5072cec9.6020...@it-infrastrukturen.org



An issue in sid - Re: Broken iso live images on debian sid

2012-10-08 Thread Mark Schneider

Am 08.10.2012 13:58, schrieb Ben Armstrong:

On 08/10/12 08:44 AM, Mark Schneider wrote:

linux: 3.2.30-1

See elsewhere in the debian-live list archives for this month about the
sid kernel metapackage being out of sync with the actual kernel and what
to do about it.
Thank you. It is the most important hint for me. It is just a current 
*unsolved* issue in sid.



Please also heed my earlier advice: "if all you wanted was live-* from
sid ..."


Further booting of such sid image still ends on (initramfs) prompt. The
*error message* I can see during the boot is:
*modprobe: module unknown not found in modules.dep*

I don't think building sid is for you. You seem to have lots of problems
with it and have not been tracking our discussions about how to fix
those issues. Please try building wheezy + live-* from sid as per the
live-manual.

I create wheezy images on wheezy and it works as expected.
Due to limited time resources I will probably wait for the solution of 
the sid issue and try to build new live images somewhere later.


Thank you very much for your help and patience Ben.

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5072d272.2030...@it-infrastrukturen.org



Re: live-build 3.x summary of top 3 issues this week

2012-10-09 Thread Mark Schneider

Thank you very much for this interesting and helpful summary Ben.

Am 08.10.2012 23:06, schrieb Ben Armstrong:

Dear users of live-build 3.x,

Please always check latest status on the debian-live list, as both the
wheezy and sid are moving targets. That means both the debian-live
software itself and the archives are constantly changing, so builds that
worked yesterday might not work today and vice-versa.

That being said, since I seem to spend a lot of my time when I help
users addressing the same issues, I thought I'd take some extra time
this Canadian Thanksgiving holiday to give you a brief summary of the
top 3 issues raised within the past week or so. This will save me as
much time as it will save you. ;)

Thanks for using debian-live. As always, if you encounter new issues,
please read and follow the Bugs section of the manual:

http://live.debian.net/manual-3.x/html/live-manual/bugs.en.html

It will save us a lot of time if you read the chapter carefully and
follow the advice within.

I have just read this chapter again (and followed steps inside).


And now, the top 3:

1. Most users will be building wheezy images (the default for 3.x). The
versions of live-boot and live-config in wheezy now lag considerably
behind because we're in a freeze, meaning several issues have already
been fixed. Once we're certain the new versions will be acceptable to
the release team, we'll request unblock requests for them.
Meanwhile, we suggest you use the sid versions via this recipe in the
APT pinning section of live-manual:

http://live.debian.net/manual-3.x/html/live-manual/customizing-package-installation.en.html#476

2. The handling of 'lb config --initramfs auto' (the default) was broken
in live-build and was just discovered and fixed a short while ago with
the upload of live-build 3.0~a65-1. Sorry, I don't know in which release
this bug was introduced. Until it hits your mirror you can also find it at:

http://live.debian.net/archive/packages/live-build/

3. The linux-image-flavour metapackages in sid up until a very short
while ago were out of sync with wheezy (i.e. point at the old abi# "3"
instead of the new one "4". This happens from time to time. When it
does, this can be worked around by ignoring those metapackages and
specifying the package name stub for the kernel as in:

lb config --distribution sid --linux-images linux-image-3.2.0-4
I didn't find the "*--linux-images* " option in the code (and I have got 
an error message when trying to use it).

A similar named option I have found was *--linux-packages*


By the time you read this, the new metapackages should be at your
mirror, so sid builds will no longer have this problem and the
workaround will no longer be needed.
I have tested yesterday and today a65. It looks like there is still this 
"out of sync" bug in sid (details below). After getting sure what is 
wrong I would raport a bug on the appropriate debian or kernel list (I 
am not sure if it is still the "out of sync" bug in sid or maybe 
something else).


root@sid:/tmp/live/sid# dpkg -l | sed -n '/[^x]live-[^m]/s/  *all.*$//p'
ii  live-boot 3.0~b6-1
ii  live-boot-initramfs-tools 3.0~b6-1
ii  live-build3.0~a65-1
ii  live-config   3.0.8-1
ii  live-config-sysvinit  3.0.8-1

root@sid:/tmp/live/sid# dpkg -l | sed -n '/bootstrap/s/  *all.*$//p'
ii  debootstrap   1.0.42

root@sid:/tmp/live/sid# uname -a
Linux sid 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux


# 
--

# boot menu of the created live image:

linux: 3.2.30-1

live-build3.0~a65-1
live-boot 3.0~b6-1
live-config   3.0.8-1
live-tools3.0.12-1

# some boot error messages:
Loading, please wait...
/init: .: line 220: can't open '/scripts/live'
[3.216819] Kernel panic - not syncing: Attempted to kill init!
[3.216889] Pid: 1, comm: init Not tainted 3.2.0-4-amd64 #1 Debian 
3.2.30-1

[3.216960] Call Trace:
[3.217016]  [] ? panic+0x95/0x1a5
[3.217082]  [] ? do_exit+0x95/0x6fc
.
.
The system hangs (doesn't react on any kyeboard entries, even Ctrl-Alt-Del)


# 
--


# Tested configurations (auto/config)
#!/bin/sh

set -e

lb config noauto --clean --mode debian --bootloader syslinux 
--architectures amd64 \
  --debug --parent-distribution sid 
--parent-debian-installer-distribution sid \
  --distribution sid --debian-installer live 
--debian-installer-distribution sid \

  --binary-images iso-hybrid --chroot-filesystem squashfs "${@}"


I have also the binary.log in case you would like to look inside (I run 
lb build with the **--debug** option)


It would be helpful for me if someone else could confi

Re: Note: xorriso will not produce ISO/HFS hybrids for powerpc

2012-12-17 Thread Mark Schneider

Am 17.12.2012 22:17, schrieb Daniel Baumann:

On 12/17/2012 10:03 PM, Thomas Schmitt wrote:

If sincere interest arises in HFS (without "+") and Debian arch "powerpc", then 
one
could at least begin to make a plan there.

personally, i couldn't care less about powerpc, to me it's a dead arch.
if there would be (more than one) user demand, that might be different,
but currently.. there's not even that. personally, i think it's a waste
of time. ymmv.

I still would like to use live build to create debian live images for my 
PowerPC based MAC mini boxes.


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50cfa2c9.5090...@it-infrastrukturen.org



Re: Note: xorriso will not produce ISO/HFS hybrids for powerpc

2012-12-17 Thread Mark Schneider

Hello Thomas,

Am 17.12.2012 22:03, schrieb Thomas Schmitt:

(Where can i see an genisoimage produced Debian Live image for
  powerpc ?)
rsync -avP 
rsync://www.it-infrastrukturen.ch/ftp/debian-live-sid-awesome-latex-PowerPC.iso 
.


This DVD image is however "a bit" outdated.


lacking the hardware to test if the images would actually work, there
never hasn't been any, sorry.

We face the same problem, obviously. :))



you can ask for porter access on one of the debian machines if you want to.

It would mean boot experiments.
I already shot the foot of George Danchev and myself by pre-maturely
asking for tests with HFS+ on debian-cd. It soon turned out that we
could not get it to boot with qemu-system-ppc. (Further it had to be
adapted to a hardcoded value in Linux kernel mount code.)

We need somebody who is willing to press the reset button (or turn
the yale key in the on-off-reset lock ?).
On a machine that boots the "stable" Debian "powerpc" ISOs.

I am subscribed to debian-cd mailing list. If sincere interest
arises in HFS (without "+") and Debian arch "powerpc", then one
could at least begin to make a plan there.
Does live build claim to support all hardware supported in standard 
debian distribution?


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50cfa65c.6030...@it-infrastrukturen.org



Re: Grub error when bootstrap copy from wheezy

2012-12-22 Thread Mark Schneider

Am 22.12.2012 17:51, schrieb Daniel Baumann:

On 12/22/2012 05:09 PM, Debian User wrote:

I am getting the following error when trying bootstrap copy from wheezy

we do not support --bootstrap copy anymore in lb 3.x since quite a
while, it has proven to be no good.

if you're still using lb 2.x (which has --bootstrap copy), you'll need
to upgrade to lb 3.x in order to build wheezy images anyway, lb 2.x does
not support wheezy.


Perhaps it would help live builder users to avoid problems just adding 
such info (like above) into the manual (lb 3.x and lb 2.x) about all 
such issues and limitations.


For people who want to move from lb 2.x to 3.x some hints how to 
"migrate" would be also helpful.


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50d5f4d2.5030...@it-infrastrukturen.org



Re: Does debian live recompile from source?

2013-02-03 Thread Mark Schneider

Am 03.02.2013 23:28, schrieb Brian Gunlogson:
I need to modify a package that exists in Debian already, by patching 
its source code.


Must I rebuild my source package into a binary package BEFOREHAND and 
then tell debian-live to install the compiled .deb? Or does debian 
live support recompiling my source package itself?
You have to create .deb packages from modified sources yourself and to 
use these new packages to create the live image.
It is possible to use your own repositories with new packages or to put 
them into "config/packages.chroot" or "config/packages.binary" (depends 
on that what you want).


regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org



--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510ee84a.6010...@it-infrastrukturen.org



Re: customize boot menu

2013-03-18 Thread Mark Schneider

Am 18.03.2013 19:03, schrieb kinimo...@centrum.cz:

I´d like to customize syslinux boot menu items - after booting Live CD I have 
too many items in menu - Live, Live failsave, live 686, live 686 failsave, Text 
install, Expert install, memtest and I think others (they can´t be read because 
they are over the screen displayed).
  
In templates (in /usr/share/live/build/templates/syslinux/common/live.cfg) I found only 3 variables - {$LINUX_LIVE} {$LINUX_INSTALL} {$MEMTEST}.
  
I would appreciate any advice, I´m newbie in this issue and do not understand that so much.


Hello Kini

It may give you some ideas:
http://rsync.it-infrastrukturen.org/debian-live/debian-live-boot-menu-keyboard-layout-choice.mp4
http://rsync.it-infrastrukturen.org/debian-live/hooks-bootloaders-config.tgz

http://rsync.it-infrastrukturen.org/ofbiz-live/OFBiz_debian_live_BigFish_boot_1280x1024.mp4
http://rsync.it-infrastrukturen.org/

Git repository with some debian live more complex configuration profiles 
for different kind of live images

http://git.it-infrastrukturen.org/

regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/51477ab4.8050...@it-infrastrukturen.org



Re: io GNU/Linux 2014.01 (64-bit) iso up :) (screencast too)

2014-01-11 Thread Mark Schneider


Am 11.01.2014 07:54, schrieb MK aka El Doctor:

Uploaded a new live DVD/USB, if you want to give it a try ;)

https://www.youtube.com/watch?v=bT0GsHNnZHs
http://manu.kebab.free.fr/iognulinux.html
https://sourceforge.net/projects/io-gnu-linux/


# Prepare an usb flash drive (for exemple /dev/sdc) (Will erase disk)

wget -c 
http://sourceforge.net/projects/io-gnu-linux/files/io-live-hybrid-3.12.6-amd64--2014.01.09-23.53.iso/download
 -O io-live-hybrid-3.12.6-
amd64--2014.01.09-23.53.iso

cp io-live-hybrid-3.12.6-amd64--2014.01.09-23.53.iso /dev/sdc

Does this image base on jessie/sid or wheey?

Kind regards, Mark

--
m...@it-infrastrukturen.org

http://rsync.it-infrastrukturen.org


--
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52d143d6.60...@it-infrastrukturen.org