[molecules] fix BeagleBoard xM and PandaBoard molecule scripts

This commit is contained in:
Fabio Erculiani
2013-05-30 10:46:36 +02:00
parent 029cc9d7f4
commit b36a548e7f
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -21,4 +21,4 @@ image_mb: 3800
# External script that will generate the image file.
# The same can be copied onto a MMC by using dd
%env image_generator_script: ${SABAYON_MOLECULE_HOME:-/sabayon}/scripts/beagleboard_xm_image_generator_script.sh
%env image_generator_script: ${SABAYON_MOLECULE_HOME:-/sabayon}/scripts/pandaboard_image_generator_script.sh
@@ -8,6 +8,5 @@ export SABAYON_MOLECULE_HOME
export DTB_FILES="${1}"
shift
# rootfs and bootfs tarball is generated by beaglebone image
export MAKE_TARBALL="0"
exec "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard.sh "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard_beagleboard_xm_chroot_hook.sh "$@"
export MAKE_TARBALL="1"
exec "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard.sh "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard_beagleboard_chroot_hook.sh "$@"
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
# Path to molecules.git dir
SABAYON_MOLECULE_HOME="${SABAYON_MOLECULE_HOME:-/sabayon}"
export SABAYON_MOLECULE_HOME
exec "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard.sh "${SABAYON_MOLECULE_HOME}"/scripts/mkloopcard_beagleboard_chroot_hook.sh "$@"