Skip to content

Commit

Permalink
cluster-software-manager: Add cluster-wip-checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Bacon committed Feb 6, 2021
1 parent 23dc01f commit 4d682e0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
23 changes: 19 additions & 4 deletions Common/Sys-scripts/cluster-software-manager
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,9 @@ but there could be issues installing new packages alongside much older ones.
4.. Install packages
5.. Remove packages
6.. Install port/package from source
7.. Update WIP repo on all nodes
8.. Enable Linux compatibility
7.. Install WIP repo on all nodes
8.. Update WIP repo on all nodes
9.. Enable Linux compatibility (non-Linux clusters, of course)
Q.. Quit
EOM
Expand Down Expand Up @@ -230,8 +231,7 @@ EOM
07)
cat << EOM
This will update the work-in-progress frameworks on all nodes. To upgrade
an installed WIP package, first remove it and then install from source.
This will install the work-in-progress frameworks on all nodes.
EOM
read -p "Proceed? [y]/n " proceed
Expand All @@ -244,6 +244,21 @@ EOM
08)
cat << EOM
This will update the work-in-progress frameworks on all nodes, but will not
upgrade installed ports/packages. To upgrade an installed WIP package, first
remove it and then install it again from source.
EOM
read -p "Proceed? [y]/n " proceed
if [ 0$proceed != 0n ]; then
cluster-wip-update
fi
pause
;;

09)
cat << EOM
This will enable the FreeBSD Linux compatibility module on all nodes except
file servers. This will allow users to run closed-source Linux binaries.
Expand Down
1 change: 1 addition & 0 deletions Common/Sys-scripts/cluster-wip-checkout
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ FreeBSD)
auto-freebsd-wip-checkout git
cluster-run "touch /etc/make.conf && auto-set-conf-var USE_LOCAL_MK yes /etc/make.conf $0" all
cluster-run "auto-set-conf-var VALID_CATEGORIES+ wip /usr/ports/Mk/bsd.local.mk $0" all
cluster-run "pkg install -y git" all
cluster-wip-update
;;

Expand Down

0 comments on commit 4d682e0

Please sign in to comment.