Re: cloop read error
"paolo.perfetti" <[email protected]> Wed, 7 Dec 2005 15:54:48 +0100 (CET)
| Newsgroups | gmane.linux.morphix.general |
|---|---|
| Message-ID | <[email protected]> |
------=_20051207155448_80147
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
> Hi p5005,
hi Brendan
> Does the mainmodule load at all ?
Yes, now if i use my iso with only mainmod, there's no problem.
(yesterday i've forget to put cloop-utils in mainmod, is this the problem=
?)
> Are you building it from the LiveCD or building it on a different
> linux environment ? It looks like the cloop used to build the module
> is the wrong version, but the live-cd should have the correct cloop
> versions.
from the LiveCD
>
>> mmaker -t /mnt/sda1/tmp -g debian-bootstrap-sid.tgz default.xml \
>> default-module.mod
>
> Was the default repository on the templates changed from 192.168.0.1
> to a valid repository ?
sure, ftp.debian.org/debian (there is my module.xml as attachment)
>> To build minimodule i use minimod-gen.
>> this is my minimod tree:
>> #ls test-mini/morphix
>> REDME files loadmod.sh main_module mini_module
>
> There is a patched version of minimodule-gen on the Morphing-Morphix
> CD which includes as file in test-mini/morphix/files/ called
> minimodule.junk to make sure the module is above the minimum size.
Now when i build minimod using minimod-gen, there's no problem but when i
use this script:
######
DIR=3D/mnt/sda1/mini-module/test-mini/
MINIMODULE=3D/mnt/sda1/mini-module/test-mini.mod
#TMP=3D/mnt/sda1/tmp
SIZE=3D`du -s $DIR | awk '{ print $1}'`
: $((DIFF =3D 50 - $SIZE))
: $((DIFF =3D 2*DIFF))
if [ $SIZE -lt 50 ] ; then
dd if=3D/dev/urandom of=3D$DIR/morphix/files/padding.junk count=3D=
$SIZE
fi
mkisofs -U -R -V "Morphix Mini" -hide-rr-moved -cache-inodes \
-no-bak -pad $DIR | nice -5 create_compressed_fs - 65536 > $MINIMODULE
rm $DIR/morphix/files/padding.junk
######
...i obtain the same errors
i need to automize minimodule generation, so is difficult for me to use
minimod-gen. I look to source and i can't understand what minimodule-gen
does and i don't
bye, paolo
------=_20051207155448_80147
Content-Type: text/xml; name="demo-module.xml"
Content-Disposition: attachment; filename="demo-module.xml"
Content-Transfer-Encoding: quoted-printable
<comps>
<group>
<version>0.0.1</version>
=20
<id>ya-demo</id>=09
<name>demo module</name>
<description>modulo di default</description>
<type>mainmod</type>
<suite>unstable</suite>
<arch>i386</arch>
<!-- retrieve tags -->
<repositorylist>
<!-- <repository type=3D"plain">http://www.morphix.org/debian</reposi=
tory> -->
<repository type=3D"debian" nonfree=3D"true">http://ftp.debian.org/d=
ebian/</repository>=20
</repositorylist>
<packagelist>
<packagereq>cloop-utils</packagereq>
<packagereq>module-init-tools</packagereq>
<!--
<packagereq>ssh-server</packagereq>
<packagereq>dhcp-client</packagereq>
<packagereq>pcmcia-cs</packagereq>=20
<packagereq>pump</packagereq> -->
<!-- <packagedel></packagedel> -->
</packagelist>
<!--
<patchlist>
<patch></patch>
</patchlist>
-->
</group>
</comps>
------=_20051207155448_80147--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click