[elbe-devel] bin-cdrom.iso

Andrey Skvortsov andrej.skvortzov at gmail.com
Thu Apr 20 22:48:26 CEST 2017


Hi,

is it possible to reuse previously generated bin-cdrom.iso on the next
build of slightly modified xml? Is it possible to use bin-cdrom.iso as
a some kind of apt cache.

I tried to use <cdrom>bin-cdrom.iso</cdrom>, but elbe doesn't upload
cdrom into VM. As a result there is an error about missing
bin-cdrom.iso image.

[------------------------------------------------------------------------------------------------------]
debootstrap log
---------------

getting output from cmd +dpkg --print-architecture+
running cmd +mkdir -p "/var/cache/elbe/8198d74b-5232-438c-a0ae-4dc9a35d4267/chroot/cdrom"+
------------------------------------------------------------------------------
------------------------------------------------------------------------------

running cmd +mount -o loop "bin-cdrom.iso" "/var/cache/elbe/8198d74b-5232-438c-a0ae-4dc9a35d4267/chroot/cdrom"+
------------------------------------------------------------------------------
mount: bin-cdrom.iso: failed to setup loop device: No such file or directory
------------------------------------------------------------------------------

Command failed with errorcode 32
running cmd +umount "/var/cache/elbe/8198d74b-5232-438c-a0ae-4dc9a35d4267/chroot/cdrom"+
------------------------------------------------------------------------------
umount: /var/cache/elbe/8198d74b-5232-438c-a0ae-4dc9a35d4267/chroot/cdrom: not mounted
------------------------------------------------------------------------------

Command failed with errorcode 32
Build failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 116, in execute
    skip_pbuild=self.skip_pbuilder)
  File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 231, in build
    build_sources = build_sources, clean = True )
  File "/usr/lib/python2.7/dist-packages/elbepack/rfs.py", line 53, in __init__
    self.debootstrap ()
  File "/usr/lib/python2.7/dist-packages/elbepack/rfs.py", line 140, in debootstrap
    self.cdrom_umount()
  File "/usr/lib/python2.7/dist-packages/elbepack/rfs.py", line 66, in cdrom_umount
    self.log.do ('umount "%s"' % cdrompath)
  File "/usr/lib/python2.7/dist-packages/elbepack/asciidoclog.py", line 72, in do
    raise CommandError(cmd, ret)
CommandError


Exception:
[------------------------------------------------------------------------------------------------------]

There is an option '--cdrom' for initvm command:
--cdrom=CDROM         iso image of Binary cdrom

Unfortunately it doesn't work with 'submit'. cdrom option is ignored.
What is the purpose of this option? FYI it's not mentioned in
documentation for initvm command.

-- 
Best regards,
Andrey Skvortsov


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20170420/632addc2/attachment.sig>


More information about the elbe-devel mailing list