Skip to content

Commit

Permalink
improve: sanoid should install on minimal if zfs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmmcgee committed Aug 4, 2024
1 parent 7912772 commit 2d0cafc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ucore/install-ucore-minimal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ if [[ "-zfs" == "${ZFS_TAG}" ]]; then
depmod -A ${KERNEL_VERSION}
fi

## CONDITIONAL: install sanoid if ZFS
if [[ "-zfs" == "${ZFS_TAG}" ]]; then
rpm-ostree install sanoid
fi

## CONDITIONAL: install NVIDIA
if [[ "-nvidia" == "${NVIDIA_TAG}" ]]; then
# repo for nvidia rpms
Expand Down
5 changes: 0 additions & 5 deletions ucore/install-ucore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ set -ouex pipefail

RELEASE="$(rpm -E %fedora)"

## CONDITIONAL: install sanoid if ZFS
if [[ "-zfs" == "${ZFS_TAG}" ]]; then
rpm-ostree install sanoid
fi

# install packages.json stuffs
export IMAGE_NAME=ucore
/ctx/packages.sh
Expand Down

0 comments on commit 2d0cafc

Please sign in to comment.