feature: delete 7400 build code.
This commit is contained in:
@@ -21,11 +21,6 @@ case $profile_id in
|
||||
$projectdir/package/kernel-ml-$kernel_version.rpm
|
||||
$projectdir/package/kernel-ml-devel-$kernel_version.rpm"
|
||||
;;
|
||||
"7400-MCN0-P01R01" | "7400-MCN123-P01R01")
|
||||
kernel_version="5.4.159-1.el7.elrepo.x86_64"
|
||||
append_package_to_install="$projectdir/package/kernel-lt-$kernel_version.rpm
|
||||
$projectdir/package/kernel-lt-devel-$kernel_version.rpm"
|
||||
;;
|
||||
*)
|
||||
kernel_version="error_profile_id"
|
||||
echo "Set kernel_version failed, error profile_id: $profile_id"
|
||||
@@ -45,12 +40,6 @@ case $profile_id in
|
||||
python3-docutils libnsl liburing hwloc-gui perl-open perl python2 js-d3-flame-graph xmlstarlet conntrack-tools crudini"
|
||||
|
||||
;;
|
||||
"7400-MCN0-P01R01" | "7400-MCN123-P01R01")
|
||||
base_package_to_install="@base @core @debugging @directory-client @guest-agents
|
||||
@hardware-monitoring @network-file-system-client @performance @remote-system-management
|
||||
grub2 epel-release efibootmgr ansible yum-utils ipmitool docker-ce docker-ce-cli
|
||||
containerd.io lrzsz python3 vconfig watchdog pcm git tmux fish rpm-build hwloc-gui"
|
||||
;;
|
||||
*)
|
||||
base_package_to_install="error_profile_id"
|
||||
echo "Set base_package_to_install failed, error profile_id: $profile_id"
|
||||
@@ -145,15 +134,6 @@ if [ ! -f "$target/etc/pam.d/password-auth-local" ]; then
|
||||
ln -vfs --relative $target/etc/pam.d/password-auth-local $target/etc/pam.d/password-auth
|
||||
fi
|
||||
|
||||
case $profile_id in
|
||||
"7400-MCN0-P01R01" | "7400-MCN123-P01R01")
|
||||
cp -rf $projectdir/rootconf/sysroot-usr/target/* $target/usr/lib/systemd/system
|
||||
mkdir -p $target/usr/lib/systemd/system/workload.target.wants
|
||||
;;
|
||||
*)
|
||||
echo "Profile_id: $profile_id not need workload.target"
|
||||
;;
|
||||
esac
|
||||
# ansible-playbook -i tsg-9140-scripts/install_config/tsg_9140_host tsg-9140-scripts/tsg_9140_deploy.yml
|
||||
yum -c "$yum_config" --installroot="$target" -y --setopt=$setopt clean all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user