avoid warnings inside initrd
This commit is contained in:
parent
6a193c585a
commit
2870e28ec9
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ RELEASE=3.3
|
||||
# source form https://github.com/zfsonlinux/
|
||||
|
||||
ZFSVER=0.6.3-1.2
|
||||
PKGREL=1~wheezy
|
||||
PKGREL=2~wheezy
|
||||
PKGVER=0.6.3-${PKGREL}
|
||||
|
||||
SPLDIR=spl-spl-${ZFSVER}
|
||||
|
@ -1,3 +1,11 @@
|
||||
zfs-linux (0.6.3-2~wheezy) unstable; urgency=low
|
||||
|
||||
* use /sbin/modprobe to avoid warning inside initrd
|
||||
|
||||
* fix warning about undefined values inside initrd
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 14 Jan 2015 19:03:04 +0100
|
||||
|
||||
zfs-linux (0.6.3-1~wheezy) unstable; urgency=low
|
||||
|
||||
* first version for Proxmox VE
|
||||
|
@ -15,6 +15,7 @@ pre_mountroot()
|
||||
|
||||
if [ -r '/etc/default/zfs' ]
|
||||
then
|
||||
ZFS_INITRD_PRE_MOUNTROOT_SLEEP=0
|
||||
. '/etc/default/zfs'
|
||||
if [ "$ZFS_INITRD_PRE_MOUNTROOT_SLEEP" -gt '0' ]
|
||||
then
|
||||
@ -47,7 +48,7 @@ mountroot()
|
||||
wait_for_udev
|
||||
|
||||
# Load the module now to get consistent automatic pool import behavior.
|
||||
modprobe zfs
|
||||
/sbin/modprobe zfs
|
||||
|
||||
# Check the kernel command line for overrides.
|
||||
ZFS_RPOOL="${rpool#rpool=}"
|
||||
|
Loading…
Reference in New Issue
Block a user