diff --git a/ucore/install-ucore-minimal.sh b/ucore/install-ucore-minimal.sh index c5384f9..ab25829 100755 --- a/ucore/install-ucore-minimal.sh +++ b/ucore/install-ucore-minimal.sh @@ -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 diff --git a/ucore/install-ucore.sh b/ucore/install-ucore.sh index 4bcd4b7..54c0be1 100755 --- a/ucore/install-ucore.sh +++ b/ucore/install-ucore.sh @@ -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