From: Thierry Parmentelat Date: Thu, 6 Dec 2007 08:55:20 +0000 (+0000) Subject: (*) groups distro-dependent files in build/config. X-Git-Tag: myplc-4.0-15~15 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c7e9ad5a295d1778355717f407b20d51cdf8ec47;p=myplc.git (*) groups distro-dependent files in build/config. (*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes) (*) distro-dependent files are (mostly) optional, defaults to planetlab (*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g .. (*) mkfedora supports junk: and precious: in pkgs file this is from the former bootcd/prep.sh - to reduce footprint Notes. (*) this is untested (*) mkfedora still supports -x (exclude) on the command line and in pkgs file however I suspect this feature is never used (*) mkfedora is still a separate command - could/should be merged into buld.common (*) myplc/build.functions could/should be merged into build.common as well --- diff --git a/build.functions b/build.functions index 44dd1f0..ce6751f 100644 --- a/build.functions +++ b/build.functions @@ -46,34 +46,6 @@ set -e # Be verbose set -x -# Make a basic chroot at the specified location given the specified -# configuration. -make_chroot_from_lst() { - root=$1; shift - fcdistro=$1; shift - - packages=$(pl_getPackagesOptions2 $fcdistro "$@") - groups=$(pl_getGroupsOptions2 $fcdistro "$@") - - pl_setup_chroot $root $packages $groups -} - -# Move specified directories out of the chroot and into a "data" -# directory that will be bind mounted on /data inside the chroot. -#move_datadirs() { -# root=$1 -# data=$2 -# shift 2 -# pl_move_dirs $root $data /data "$@" -#} - -# Make loopback filesystem from specified location -#make_image() { -# root=$1 -# image=$2 -# pl_make_image $root $image 100000000 -#} - function yum_conf_to_build_host () { BUILD_HOST=$(hostname) cat <