blob: 5069777c6308673cbde769197beb06be98a9dac8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
. ${clst_sharedir}/targets/support/functions.sh
case $1 in
enter)
${clst_CHROOT} ${clst_chroot_path}
;;
run)
shift
export clst_grp_type=$1
shift
export clst_grp_target=$1
shift
export clst_grp_packages="$*"
exec_in_chroot ${clst_sharedir}/targets/grp/grp-chroot.sh
;;
preclean)
exec_in_chroot ${clst_sharedir}/targets/grp/grp-preclean-chroot.sh
;;
clean)
exit 0
;;
*)
exit 1
;;
esac
exit $?
|