If you are using the daily ISO, please report issues here to keep confusion down in other forums. Questions or issues with Molecule also here
Moderator: Moderators
by alexrenzi » Wed Oct 06, 2010 10:55
Hi, anyone have an idea about what can cause this error?
- Code: Select all
sabayon-alex xfce_netbook # molecule /home/alex/Desktop/alex/Sabayon/Projects/xfce_netbook/xfce_netbook.spec
>> (0/4) [Runner|xfce_netbook.spec] preparing execution
>> (1/4) [Runner|xfce_netbook.spec] executing molecule.specs.plugins.remaster_plugin.IsoUnpackHandler
>> [IsoUnpackHandler|xfce_netbook.spec] executing pre_run
>> [IsoUnpackHandler|xfce_netbook.spec] spawning: ['/bin/mount', '-o', 'loop,ro', '-t', 'iso9660', u'/home/alex/Sabayon/iso/Sabayon_Linux_5.3_x86_XFCE.iso', '/var/tmp/moleculeIQFSML']
>> [IsoUnpackHandler|xfce_netbook.spec] spawning: ['/bin/mount', '-o', 'loop,ro', '-t', 'squashfs', '/var/tmp/moleculeIQFSML/livecd.squashfs', '/var/tmp/moleculeC69zf1']
>> [IsoUnpackHandler|xfce_netbook.spec] iso unpacker running: /var/tmp/moleculeC69zf1 => /var/tmp/moleculewo4jChchroot/root
>> [IsoUnpackHandler|xfce_netbook.spec] executing post_run
>> [IsoUnpackHandler|xfce_netbook.spec] executing kill
>> (2/4) [Runner|xfce_netbook.spec] executing molecule.specs.plugins.remaster_plugin.ChrootHandler
>> [ChrootHandler|xfce_netbook.spec] executing pre_run
>> [ChrootHandler|xfce_netbook.spec] hooks running
>> [ChrootHandler|xfce_netbook.spec] executing kill
Traceback (most recent call last):
File "/usr/bin/molecule", line 45, in <module>
File "/usr/lib/molecule/molecule/handlers.py", line 64, in run
File "/usr/lib/molecule/molecule/specs/plugins/remaster_plugin.py", line 254, in run
File "/usr/lib/molecule/molecule/specs/plugins/builtin_plugin.py", line 346, in run
File "/usr/lib/molecule/molecule/specs/plugins/builtin_plugin.py", line 77, in _exec_inner_script
File "/usr/lib/molecule/molecule/utils.py", line 106, in exec_chroot_cmd
File "/usr/lib/python2.6/subprocess.py", line 470, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1132, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
>> [BuiltinHandler|xfce_netbook.spec] inner chroot hook failed: 256
>> [ChrootHandler|xfce_netbook.spec] executing kill
I don't understand what is the missing file.....
-
alexrenzi
- Baby Hen
-
- Posts: 18
- Joined: Wed Dec 02, 2009 11:29
by Thev00d00 » Wed Oct 06, 2010 14:32
Its trying to run a script that is not there, make sure you dont have any non existant scitps being called in your spec file.
You might want to post your spec file.
-

Thev00d00
- Generally Awesome (tm)
-
- Posts: 1467
- Joined: Wed Feb 21, 2007 15:52
- Location: United Kingdom
-
by alexrenzi » Wed Oct 06, 2010 16:00
this is the spec file:
- Code: Select all
# Sabayon Linux 5 x86 Molecule spec file
# squashfs, mkisofs needed
# pre chroot command, example, for 32bit chroots on 64bit system, you always have to append "linux32"
# this is useful for inner_chroot_script
# prechroot:
# Release string
release_string: CustomSabayon
# Release Version
release_version: 0.1
# Release Version string description
release_desc: x86 XFCE
# Define an alternative execution strategy, in this case, the value must be
# "iso_remaster"
execution_strategy: iso_remaster
# Path to source ISO file (MANDATORY)
source_iso: /home/alex/Sabayon/iso/Sabayon_Linux_5.3_x86_XFCE.iso
# Outer chroot script command, to be executed outside destination chroot before
# before entering it (and before inner_chroot_script)
#outer_chroot_script: /home/alex/Desktop/alex/Sabayon/Projects/xfce_netbook/remaster_pre.sh
#Inner chroot script command, to be executed inside destination chroot before packing it
# - kmerge.sh - setup kernel bins
inner_chroot_script: /home/alex/Sabayon/Projects/xfce_netbook/inner_chroot_script.sh
# Outer chroot script command, to be executed outside destination chroot before
# before entering it (and AFTER inner_chroot_script)
outer_chroot_script_after: /home/alex/Sabayon/Projects/xfce_netbook/remaster_post.sh
# Extra mkisofs parameters, perhaps something to include/use your bootloader
extra_mkisofs_parameters: -b isolinux/isolinux.bin -c isolinux/boot.cat
# Destination directory for the ISO image path (MANDATORY)
destination_iso_directory: /home/alex/Sabayon/final
#FOR CD IMAGE Destination ISO image name, call whatever you want.iso, not mandatory
destination_iso_image_name: Sabayon_Custom_x86_XFCE.iso
#FOR DVD IMAGE Output iso image title
#iso_title: Sabayon_Custom_x86_XFCE
# Merge directory with destination LiveCD root
# merge_livecd_root: /put/more/files/onto/CD/root
# List of packages that would be removed from chrooted system (comma separated)
# packages_to_remove: foo, foo2, foo3, foo4, foo5
# Custom shell call to packages removal (default is: equo remove)
# custom_packages_remove_cmd:
# List of packages that would be added from chrooted system (comma separated)
# packages_to_add: foo, foo2, foo3, foo4, foo5
# Custom shell call to packages add (default is: equo install)
# custom_packages_add_cmd:
# Custom command for updating repositories (default is: equo update)
# repositories_update_cmd:
# Determine whether repositories update should be run (if packages_to_add is set)
# (default is: no), values are: yes, no.
execute_repositories_update: yes
# Directories to remove completely (comma separated)
paths_to_remove:
/var/lib/entropy/client/database/amd64/sabayonlinux.org,
/boot/grub/grub.conf,
/root/.subversion,
/lib/udev-state/devices.tar.bz2,
/var/log/scrollkeeper.log, /var/log/genkernel.log,
/var/log/emerge.log, /usr/tmp/portage/*,
/root/.bash_history,
/usr/share/slocate/slocate.db,
/root/test-results.txt,
/root/test.sh,
/usr/portage/distfiles/*,
/usr/portage/packages/*,
/root/.revdep*,
/install-data/games/*,
/var/lib/entropy/store/*,
/var/log/entropy/*,
/var/lib/entropy/caches/*,
/var/lib/entropy/smartapps/amd64/*,
/var/lib/entropy/smartapps/amd64/*,
/var/lib/entropy/tmp/*,
/var/lib/entropy/packages*/*,
/var/tmp/entropy/*,
/*.txt,
/usr/portage/a*,
/usr/portage/b*,
/usr/portage/c*,
/usr/portage/d*,
/usr/portage/e*,
/usr/portage/f*,
/usr/portage/g*,
/usr/portage/h*,
/usr/portage/i*,
/usr/portage/j*,
/usr/portage/k*,
/usr/portage/licenses,
/usr/portage/lxde*,
/usr/portage/m*,
/usr/portage/n*,
/usr/portage/o*,
/usr/portage/packages,
/usr/portage/pe*,
/usr/portage/q*,
/usr/portage/r*,
/usr/portage/s*,
/usr/portage/t*,
/usr/portage/u*,
/usr/portage/v*,
/usr/portage/w*,
/usr/portage/x*,
/usr/portage/y*,
/usr/portage/z*,
/etc/ssh/ssh_host_*,
/var/run/screen*,
/entropy,
/tmp/equoerror.txt,
/var/cache/man,
/var/lib/entropy/glsa/*,
/opt/anaconda/usr/lib32,
/opt/anaconda/usr/share/anaconda/po,
/var/log/entropy/*.log,
/etc/mtab,
/boot/grub/grub.c*,
/tmp/.ICE-unix*,
/tmp/*.txt,
/tmp/.X*,
/boot/grub/device.map
# Directories to empty (comma separated)
paths_to_empty:
/home/sabayonuser/.thumbnails/,
/var/tmp,
/root/.ccache,
/var/tmp/portage,
/var/tmp/ccache,
/var/tmp/portage-pkg,
/var/tmp/binpkgs,
/var/lib/entropy/portage,
/var/lib/entropy/logs,
/var/lib/entropy/packages/amd64/4,
/var/cache/genkernel
There are only two scripts and they are in the right folder:
- Code: Select all
sabayon-alex xfce_netbook # ls
file inner_chroot_script.sh inner_chroot_script.sh.old remaster_post.sh remaster_pre.sh.old xfce_netbook.spec xfce_netbook.spec~
-
alexrenzi
- Baby Hen
-
- Posts: 18
- Joined: Wed Dec 02, 2009 11:29
Return to ISO Testing & Molecule
Who is online
Users browsing this forum: No registered users and 0 guests