Problems building a customized Iso

203 views
Skip to first unread message

HappyFragga

unread,
Jan 23, 2012, 3:50:51 PM1/23/12
to webc-...@googlegroups.com
I tried building a customized Iso with a static IP.
But i have several Problems with that.
First, the mentioned Path in "http://webconverger.org/networking/" is not exactly correct, the Path to interfaces ist 'webconverger/config/includes.chroot/etc/network/interfaces' instead of 'webconverger/config/chroot_local-includes/etc/network/interfaces'
Also, the mentioned "live-helper" does not exist on my Debian-Machine. I only have "live-builder" available.

With live-builder i have some other issues
Executing "lb config" in 'webconverger/auto' ends in this:
>P: Considering defaults defined in /etc/live/build.conf
>P: Updating config tree
>mkdir: kann Verzeichnis „config“ nicht anlegen: Die Datei existiert bereits

Ignoring that and continuing with "lb build" in 'webconverger' starts the building but results in:

>Setting up live-boot (2.0.15-1) ...
>update-rc.d: warning: live-boot start runlevel arguments (none) do not match LSB Default-Start values (S)
>P: Begin copying chroot includes...
>5 blocks
>P: Begin applying chroot local patches...
>P: Begin executing hooks...
>mount: warning: chroot/root/config seems to be mounted read-write.
>cp: Aufruf von stat für „config/hooks/007-remove-udev-persistent-rules.chroot“ nicht möglich: Datei oder Verzeichnis nicht gefunden
>P: Begin unmounting filesystems...
>P: Saving caches...
>Reading package lists...
>Building dependency tree...
>Reading state information...

Are there any Ideas, what i could do to fix this?

Best regards
HappyFragga


Matthijs Kooijman

unread,
Jan 25, 2012, 7:33:48 AM1/25/12
to webc-...@googlegroups.com
Hi HappyFragga,

> First, the mentioned Path in "http://webconverger.org/networking/" is not
> exactly correct, the Path to interfaces ist '
> webconverger/config/includes.chroot/etc/network/interfaces' instead of '
> webconverger/config/chroot_local-includes/etc/network/interfaces'

Right, this changed in recent alpha builds (perhaps the page should be
updated? I can't edit it, it's locked).

> Also, the mentioned "live-helper" does not exist on my Debian-Machine. I
> only have "live-builder" available.

This has been changed for quite some time, so should also be updated.

> With live-builder i have some other issues
> Executing "lb config" in 'webconverger/auto' ends in this:

I think you should run lb config from the "webconverger" directory, not
from "webconverger/auto".

> >P: Begin executing hooks...
> >mount: warning: chroot/root/config seems to be mounted read-write.
> >cp: Aufruf von stat für
> „config/hooks/007-remove-udev-persistent-rules.chroot“ nicht möglich: Datei
> oder Verzeichnis nicht gefunden

Looking at the code, I can't really explain this error. You might want
to try fixing the previous point (running lb config) and see if that
solves the error as well.

What version of live-build are you using (check with lb --version)?

(for the future, you might want to run with LANG=C or provide
translations for non-English error messages, to make it easier for
people to answer your question)

Gr.

Matthijs

signature.asc

Kai Hendry

unread,
Jan 25, 2012, 11:47:23 PM1/25/12
to webc-...@googlegroups.com
On 25 January 2012 20:33, Matthijs Kooijman <matt...@stdin.nl> wrote:
> Right, this changed in recent alpha builds (perhaps the page should be
> updated? I can't edit it, it's locked).

Hi Matthijs, I've added you as a Wiki admin with your matthijskooijman
Google account. :) I have not yet figured out a smoother way of
assigning wiki write privileges to community members. Last time it was
world writable, it got spammed. Repeatedly. :/

However I think I've made the necessary changes:
grep -rl chroot_local-includes . | xargs sed -i
's,chroot_local-includes,includes.chroot,g'


>> „config/hooks/007-remove-udev-persistent-rules.chroot“ nicht möglich: Datei
>> oder Verzeichnis nicht gefunden


Hmm, I'm assuming with
http://anonscm.debian.org/gitweb/?p=debian-live/config-webc.git;a=tree;f=webconverger/config/hooks;

/usr/share/live/build/hooks/007-remove-udev-persistent-rules.chroot
exists on your filesystem. Though with HappyFragga, it's not on his
filesystem IIUC.


Kind regards,

HappyFragga

unread,
Jan 26, 2012, 1:20:56 AM1/26/12
to webc-...@googlegroups.com
Hy

I'm using "live-build, version 3.0~a42-1"

I tried some more around and had first the Problem, Kai mentiond.
I manually created '/usr/share/live/build/hooks/007-remove-udev-persistent-rules.chroot'. It was so to speak there, only named 008-remove-udev-persistent-rules.chroot so i copied an renamed it, so that it fits.
After that, the build-Process went further and ended with:


>P: Begin applying chroot local patches...
>P: Begin executing hooks...
>W: skipping chroot_hooks, already done
>P: Begin executing hacks...
>/usr/bin/env: update-initramfs: No such file or directory

>P: Begin unmounting filesystems...
>P: Saving caches...
>Reading package lists...
>Building dependency tree...

I now tried it with 'lb binary syslinux' which was added recently in the Develop-Page of the wiki
This ended with:

>P: Begin creating manifest...
>cp: Aufruf von stat für „chroot.packages.live“ nicht möglich: Datei oder Verzeichnis nicht gefunden (File or Folder does not exist)

>P: Begin unmounting filesystems...
>P: Saving caches...
>Reading package lists... Done
>Building dependency tree      
>Reading state information... Done


I guess, i'm getting further with every step :)

Thanks for your help

Kai Hendry

unread,
Jan 26, 2012, 3:36:38 AM1/26/12
to webc-...@googlegroups.com
Are you building on Debian?

HappyFragga

unread,
Jan 26, 2012, 11:50:05 AM1/26/12
to webc-...@googlegroups.com
Yes, i'm using a Debian-Testing-System

Kai Hendry

unread,
Jan 29, 2012, 6:21:22 AM1/29/12
to webc-...@googlegroups.com
You don't need `lb binary syslinux` anymore with a42. I've finally
upgraded live-build on the build server http://webconverger.org/hetty/

I encourage to run vimdiff with your build log and for example
http://build.webconverger.org/webconverger.2012-01-28.txt

From there maybe you can see what's going wrong.


Persevere... or use webconverger.com/buy ;)

Kind regards,

HappyFragga

unread,
Feb 6, 2012, 3:25:19 AM2/6/12
to webc-...@googlegroups.com
I finally had the time and chance too try it again.
When i now execute 'git clone http://git.debian.org/git/debian-live/config-webc.git', he starts downloading but after everything is finished, it doesn't look in any way the way, it looked before.
Theres no 'webconverger'-folder or anything like that. 'config-webc' contains a subfolder ".git" and a Readme:

>The repo has MOVED to <https://github.com/Webconverger/Debian-Live-config>
>Apologies for the inconvience.
>Many thanks for the past Alioth hosting Debian!
>Kai Hendry, <hen...@webconverger.com> 2012-02-03, Kuala Lumpur.

So how do i continue from here on?

Kai Hendry

unread,
Feb 6, 2012, 5:00:08 AM2/6/12
to webc-...@googlegroups.com
On 6 February 2012 16:25, HappyFragga <happy....@gmail.com> wrote:
>>The repo has MOVED to <https://github.com/Webconverger/Debian-Live-config>
> So how do i continue from here on?

Visit https://github.com/Webconverger/Debian-Live-config for the new git URL?

Dan Scott

unread,
Feb 6, 2012, 1:05:05 PM2/6/12
to webc-...@googlegroups.com

For what it's worth, I had no trouble building a custom ISO last week
following the instructions for the first time (which happened after
the repo move, I think). I started by getting Debian Unstable
installed in a VM, then built the ISO inside the VM.

Kudos, Kai, for making the process pretty much painless!

Reply all
Reply to author
Forward
0 new messages