aboutsummaryrefslogtreecommitdiff
blob: c4572ff9b9c72a348790de4ae069ab96cf9601e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

source ${clst_shdir}/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_shdir}/${clst_target}/chroot.sh
		echo "${clst_packages}" > ${clst_chroot_path}/tmp/packages.txt
		;;
esac
exit $?