fix: make probe open blockdevice in readonly mode

Update `go-blockdevice` library.

Readwrite mode doesn't work when there are readonly devices like `iso`.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
This commit is contained in:
Artem Chernyshev 2021-09-22 15:07:19 +03:00
parent 96bccdd3b6
commit 452893c260
No known key found for this signature in database
GPG Key ID: 9B9D0328B57B443F
2 changed files with 3 additions and 3 deletions

2
go.mod
View File

@ -72,7 +72,7 @@ require (
github.com/spf13/cobra v1.2.1
github.com/stretchr/testify v1.7.0
github.com/talos-systems/crypto v0.3.2
github.com/talos-systems/go-blockdevice v0.2.4-0.20210825155946-d9811569588b
github.com/talos-systems/go-blockdevice v0.2.4-0.20210922122752-e367f9dc7fa9
github.com/talos-systems/go-cmd v0.1.0
github.com/talos-systems/go-debug v0.2.1
github.com/talos-systems/go-kmsg v0.1.1

4
go.sum
View File

@ -1039,8 +1039,8 @@ github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG
github.com/talos-systems/crypto v0.3.2 h1:I+MC9ql6K29EMlbPzdSeHZInSRWdze1FX1qGGrlom8Q=
github.com/talos-systems/crypto v0.3.2/go.mod h1:xaNCB2/Bxaj+qrkdeodhRv5eKQVvKOGBBMj58MrIPY8=
github.com/talos-systems/go-blockdevice v0.2.3/go.mod h1:qnn/zDc09I1DA2BUDDCOSA2D0P8pIDjN8pGiRoRaQig=
github.com/talos-systems/go-blockdevice v0.2.4-0.20210825155946-d9811569588b h1:/Tlvc7iho7Q4pHR6CAbtnLNx/SSkvUqMqARYAe4Jllk=
github.com/talos-systems/go-blockdevice v0.2.4-0.20210825155946-d9811569588b/go.mod h1:qnn/zDc09I1DA2BUDDCOSA2D0P8pIDjN8pGiRoRaQig=
github.com/talos-systems/go-blockdevice v0.2.4-0.20210922122752-e367f9dc7fa9 h1:youTpqU4Pi6cX0naqXM42oHrZT4zhvfLoV2mXIEXHdk=
github.com/talos-systems/go-blockdevice v0.2.4-0.20210922122752-e367f9dc7fa9/go.mod h1:qnn/zDc09I1DA2BUDDCOSA2D0P8pIDjN8pGiRoRaQig=
github.com/talos-systems/go-cmd v0.0.0-20210216164758-68eb0067e0f0/go.mod h1:kf+rZzTEmlDiYQ6ulslvRONnKLQH8x83TowltGMhO+k=
github.com/talos-systems/go-cmd v0.1.0 h1:bqPeL0ksproFyTOlvMisdUXc7uAf0aqJ5Q6waSGv32s=
github.com/talos-systems/go-cmd v0.1.0/go.mod h1:kf+rZzTEmlDiYQ6ulslvRONnKLQH8x83TowltGMhO+k=