3 source ${clst_sharedir}/targets/support/functions.sh
4 source ${clst_sharedir}/targets/support/filesystem-functions.sh
12 export clst_packages="$*"
14 ${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
21 # export root_fs_path="${clst_chroot_path}/tmp/mergeroot"
22 # install -d ${clst_image_path}
24 # ${clst_sharedir}/targets/embedded/embedded-fs-runscript.sh \
25 # ${clst_embedded_fs_type} || exit 1
26 # imagesize=`du -sk ${clst_image_path}/root.img | cut -f1`
27 # echo "Created ${clst_embedded_fs_type} image at \
28 # ${clst_image_path}/root.img"
29 # echo "Image size: ${imagesize}k"
33 # Sets up the build environment before any kernels are compiled
34 exec_in_chroot ${clst_sharedir}/targets/support/pre-kmerge.sh
38 # Cleans up the build environment after the kernels are compiled
39 exec_in_chroot ${clst_sharedir}/targets/support/post-kmerge.sh
44 export clst_kname="${1}"
45 # if we have our own linuxrc, copy it in
46 if [ -n "${clst_linuxrc}" ]
48 cp -pPR ${clst_linuxrc} ${clst_chroot_path}/tmp/linuxrc
50 exec_in_chroot ${clst_sharedir}/targets/support/kmerge.sh
51 delete_from_chroot tmp/linuxrc
56 ${clst_sharedir}/targets/support/target_image_setup.sh ${1}
60 # Now, finalize and tweak the livecd fs (inside of the chroot)
61 exec_in_chroot ${clst_sharedir}/targets/support/livecdfs-update.sh
66 # Here is where we poke in our identifier
69 ${clst_sharedir}/targets/support/bootloader-setup.sh ${1}
74 ${clst_sharedir}/targets/support/create-iso.sh ${1}