;;
shell)
+ shift
# enter a shell inside LFS chroot
# may be used to change kernel settings
prepareenv
- entershell
+ entershell $@
;;
batch)
# build the distro in background
case "$2" in
+ cron)
+ cron_run
+ ;;
start)
batch_start $3
;;
esac
;;
+buildspy|bs)
+ # control buildspy
+ case "$2" in
+ start)
+ build_spy start
+ ;;
+ stop)
+ build_spy exit
+ ;;
+ *)
+ usage
+ ;;
+ esac
+ ;;
+
ccache)
# ccache options
case "$2" in
esac
;;
+config)
+ # config options
+ case "$2" in
+ kernel)
+ prepareenv
+ entershell bash /usr/src/src/scripts/edit-kernel-config
+ ;;
+ *)
+ usage
+ ;;
+ esac
+ ;;
+
distcc|distccd)
# distcc(d) commands
case "$2" in
putsource
;;
list)
- software_list | tee -a $BASEDIR/doc/packages-list.txt
+ pkg_list_packages | tee -a $BASEDIR/doc/packages-list.txt
;;
esac
;;
exit 1
fi
;;
- rootfiles)
- check_rootfiles $3
- ;;
sanity)
check_sanity $3
;;
gc)
git_gc
;;
+ shortlog|slog)
+ git_shortlog
+ ;;
put-key)
ssh_cert $*
;;
list|show|ls)
pkg_list_packages
;;
+ file*)
+ for i in $BASEDIR/lfs/*; do
+ pkg_files $i
+ done
+ ;;
info)
shift 2
format_desc() {
echo " * ${group}"
done
;;
+ raw)
+ pkg_info $3
+ ;;
+ wikiinfo)
+ shift 2
+ pkg_info_wiki $@
+ ;;
+ wikilist)
+ pkg_list_packages_wiki
+ ;;
+ *)
+ usage
+ ;;
esac
;;
getsource
;;
+rootfiles|rf)
+ case "$2" in
+ check|ch)
+ rootfiles_check $3
+ ;;
+ commit|ci|update|up)
+ rootfiles_commit
+ ;;
+ copy|cp)
+ shift 2
+ rootfiles_copy $@
+ ;;
+ fix)
+ rootfiles_check --fix
+ ;;
+ *)
+ usage
+ ;;
+ esac
+ ;;
+
vm|qemu)
case "$2" in
boot|start|run)