blob: 1099b1df079d2bd9e5ff938a1a1ff8fe594c73c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
. ${clst_sharedir}/targets/support/functions.sh
## START RUNSCRIPT
case $1 in
build_packages)
shift
export clst_packages="$*"
mkdir -p ${clst_chroot_path}/usr/livecd ${clst_chroot_path}/tmp
exec_in_chroot \
${clst_sharedir}/targets/${clst_target}/${clst_target}-chroot.sh
echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
;;
clean)
find ${clst_chroot_path}/usr/lib -iname "*.pyc" -exec rm -f {} \;
;;
esac
exit $?
|