#!/bin/bash

. run_profile.txt
. $base_dir/plans/commands/common.fns

SUT=`hostname -s`
kernel_info

log_dir="$run_dir/logs/$SUT"
mkdir -p $log_dir

echo "Using: package_installer -fb -l $log_dir \"$patches\" -t linux-$kernel_id $pkg_path"
if [ "$patches" ]; then
    patches="-p $patches"
    package_installer -fb -l $log_dir "$patches" -t linux-$kernel_id $pkg_path
else
    package_installer -fb -l $log_dir -t linux-$kernel_id $pkg_path
fi


