Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
e0fb4115
Commit
e0fb4115
authored
Jan 18, 2021
by
Igor Pecovnik
Browse files
Add ZFS install
parent
b71327d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian-config-jobs
View file @
e0fb4115
...
...
@@ -1132,6 +1132,14 @@ function jobs ()
fi
;;
"ZFS"
)
if
!
is_package_manager_running
;
then
if
!
check_if_installed zfs-dkms
;
then
debconf-apt-progress
--
apt-get
-y
install
zfs-dkms dkms python3-distutils python3-lib2to3 zfsutils-linux
fi
fi
;;
# Edit boot environment
#
...
...
debian-config-submenu
View file @
e0fb4115
...
...
@@ -82,6 +82,11 @@ while true; do
[[
-z
${
mark
}
]]
&&
[[
-f
/etc/apt/sources.list.d/armbian.list
]]
&&
LIST+
=(
"Other"
"Switch to other kernels"
)
LIST+
=(
"SSH"
"Reconfigure SSH daemon"
)
zpoolstatus
=
"
$(
zpool status </dev/stdin 2>&1
)
"
testvercomp
"
$(
uname
-r
|
sed
's/-.*//'
)
"
"3.10.0"
">"
kernelok
=
$?
[[
-z
$(
echo
$zpoolstatus
|
grep
'not loaded'
)
&&
$kernelok
==
0
&&
"
$(
dpkg
--print-architecture
)
"
!=
"armhf"
]]
&&
LIST+
=(
"ZFS"
"Enable ZFS support"
)
LIST+
=(
"Firmware"
"Run apt update & apt upgrade"
)
if
[[
"
$SHELL
"
!=
"/bin/bash"
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment