From 958e68dbe6fb87f394b58640d87d5372271fdc59 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 19 Nov 2024 16:56:35 +0100 Subject: [PATCH] deps: bump go-losetup to latest v2 release We were stuck in 2017 (v1.0.0-20170407175016-fc9adea44124). Related: https://github.com/go-debos/debos/issues/522 --- actions/image_partition_action.go | 2 +- go.mod | 2 +- go.sum | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/actions/image_partition_action.go b/actions/image_partition_action.go index a9288e33..bee910e0 100644 --- a/actions/image_partition_action.go +++ b/actions/image_partition_action.go @@ -167,7 +167,7 @@ import ( "github.com/docker/go-units" "github.com/go-debos/fakemachine" "github.com/google/uuid" - "gopkg.in/freddierice/go-losetup.v1" + "github.com/freddierice/go-losetup/v2" "log" "os" "os/exec" diff --git a/go.mod b/go.mod index f81cc5de..e7d35a14 100644 --- a/go.mod +++ b/go.mod @@ -6,12 +6,12 @@ require ( github.com/14rcole/gopopulate v0.0.0-20180821133914-b175b219e774 // indirect github.com/alessio/shellescape v1.4.2 github.com/docker/go-units v0.5.0 + github.com/freddierice/go-losetup/v2 v2.0.1 github.com/go-debos/fakemachine v0.0.10 github.com/go-task/slim-sprig/v3 v3.0.0 github.com/google/uuid v1.6.0 github.com/jessevdk/go-flags v1.6.1 github.com/sjoerdsimons/ostree-go v0.0.0-20201014091107-8fae757256f8 github.com/stretchr/testify v1.9.0 - gopkg.in/freddierice/go-losetup.v1 v1.0.0-20170407175016-fc9adea44124 gopkg.in/yaml.v2 v2.4.0 ) diff --git a/go.sum b/go.sum index 11adb4d9..3ddba264 100644 --- a/go.sum +++ b/go.sum @@ -7,6 +7,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/freddierice/go-losetup/v2 v2.0.1 h1:wPDx/Elu9nDV8y/CvIbEDz5Xi5Zo80y4h7MKbi3XaAI= +github.com/freddierice/go-losetup/v2 v2.0.1/go.mod h1:TEyBrvlOelsPEhfWD5rutNXDmUszBXuFnwT1kIQF4J8= github.com/go-debos/fakemachine v0.0.10 h1:z1ghnWFvQXGOWUIhTVINVmuUq4/idUBcBwF33vXdIek= github.com/go-debos/fakemachine v0.0.10/go.mod h1:ebPDs2GaUrsUtEdnlOEJrsAOg6EZBfFQwafMp/XRKrM= github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI= @@ -37,13 +39,12 @@ github.com/surma/gocpio v1.1.0/go.mod h1:zaLNaN+EDnfSnNdWPJJf9OZxWF817w5dt8JNzF9 github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8= github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/freddierice/go-losetup.v1 v1.0.0-20170407175016-fc9adea44124 h1:aPcd9iBdqpFyYkoGRQbQd+asp162GIRDvAVB0FhLxhc= -gopkg.in/freddierice/go-losetup.v1 v1.0.0-20170407175016-fc9adea44124/go.mod h1:6LXpUYtVsrx91XiupFRJ8jVKOqLZf5PrbEVSGHta/84= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=