Merge pull request #632 from dmcgowan/rootfs-fixes

Fix rootfs digest computation
This commit is contained in:
Stephen Day 2017-03-16 12:04:49 -07:00 committed by GitHub
commit bb3fbded9c
3 changed files with 7 additions and 6 deletions

6
cmd/dist/rootfs.go vendored
View file

@ -23,12 +23,12 @@ var rootfsCommand = cli.Command{
Name: "rootfs",
Usage: "rootfs setups a rootfs",
Subcommands: []cli.Command{
rootfsUnpackCommand,
rootfsPrepareCommand,
rootfsInitCommand,
},
}
var rootfsPrepareCommand = cli.Command{
var rootfsUnpackCommand = cli.Command{
Name: "unpack",
Usage: "unpack applies layers from a manifest to a snapshot",
ArgsUsage: "[flags] <digest>",
@ -68,7 +68,7 @@ var rootfsPrepareCommand = cli.Command{
},
}
var rootfsInitCommand = cli.Command{
var rootfsPrepareCommand = cli.Command{
Name: "prepare",
Usage: "prepare gets mount commands for digest",
ArgsUsage: "[flags] <digest> <target>",