[Bug 2045062] Re: ubuntu-image 3.1 fails to properly prepare gadget tree
Erich Eickmeyer
2045062 at bugs.launchpad.net
Tue Nov 28 21:43:57 UTC 2023
** Description changed:
I'm getting the following error:
- $ sudo ubuntu-image classic -w workdir/ -O output/ ubuntu-images/ubuntu-pi-arm64.yaml
+ $ sudo ubuntu-image classic -w workdir/ -O output/ ubuntu-images/ubuntu-pi-arm64.yaml
[0] parse_image_definition
[1] calculate_states
[2] make_temporary_directories
[3] determine_output_directory
[4] build_gadget_tree
[5] prepare_gadget_tree
[6] load_gadget_yaml
Error: Error copying gadget.yaml to workdir/gadget.yaml: unable to open workdir/unpack/gadget/meta/gadget.yaml: open workdir/unpack/gadget/meta/gadget.yaml: no such file or directory
The gadget.yaml file is expected to be located in a "meta" subdirectory of the provided built gadget directory.
name: ubuntu-image
summary: Create Ubuntu images
publisher: Canonical✓
store-url: https://snapcraft.io/ubuntu-image
contact: snaps at canonical.com
license: unset
description: |
- ubuntu-image is a tool used for creation of various Ubuntu preinstalled images, both classic and
- snap-based.
+ ubuntu-image is a tool used for creation of various Ubuntu preinstalled images, both classic and
+ snap-based.
commands:
- - ubuntu-image
+ - ubuntu-image
snap-id: 4RW78vIax8JW5S8HkYsa8lNbv68uPaYX
tracking: latest/stable
refresh-date: today at 10:10 PST
channels:
- latest/stable: 3.1 2023-11-28 (658) 40MB classic
- latest/candidate: 3.1 2023-11-28 (658) 40MB classic
- latest/beta: 3.1 2023-11-28 (658) 40MB classic
- latest/edge: 3.1+snap3 2023-11-28 (668) 41MB classic
- 2/stable: 2.2+snap10 2023-04-06 (322) 8MB classic
- 2/candidate: 2.2+snap10 2023-04-06 (322) 8MB classic
- 2/beta: 2.2+snap10 2023-04-06 (322) 8MB classic
- 2/edge: 2.2+snap10 2023-04-06 (322) 8MB classic
+ latest/stable: 3.1 2023-11-28 (658) 40MB classic
+ latest/candidate: 3.1 2023-11-28 (658) 40MB classic
+ latest/beta: 3.1 2023-11-28 (658) 40MB classic
+ latest/edge: 3.1+snap3 2023-11-28 (668) 41MB classic
+ 2/stable: 2.2+snap10 2023-04-06 (322) 8MB classic
+ 2/candidate: 2.2+snap10 2023-04-06 (322) 8MB classic
+ 2/beta: 2.2+snap10 2023-04-06 (322) 8MB classic
+ 2/edge: 2.2+snap10 2023-04-06 (322) 8MB classic
installed: 3.1 (658) 40MB classic
-
- Note for volunteer triagers: Despite being a snap, this is the requested
- place to report bugs for ubuntu-image.
** Package changed: ubuntu-image (Ubuntu) => ubuntu-image
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-image in Ubuntu.
https://bugs.launchpad.net/bugs/2045062
Title:
ubuntu-image 3.1 fails to properly prepare gadget tree
Status in Ubuntu Image:
New
Bug description:
I'm getting the following error:
$ sudo ubuntu-image classic -w workdir/ -O output/ ubuntu-images/ubuntu-pi-arm64.yaml
[0] parse_image_definition
[1] calculate_states
[2] make_temporary_directories
[3] determine_output_directory
[4] build_gadget_tree
[5] prepare_gadget_tree
[6] load_gadget_yaml
Error: Error copying gadget.yaml to workdir/gadget.yaml: unable to open workdir/unpack/gadget/meta/gadget.yaml: open workdir/unpack/gadget/meta/gadget.yaml: no such file or directory
The gadget.yaml file is expected to be located in a "meta" subdirectory of the provided built gadget directory.
name: ubuntu-image
summary: Create Ubuntu images
publisher: Canonical✓
store-url: https://snapcraft.io/ubuntu-image
contact: snaps at canonical.com
license: unset
description: |
ubuntu-image is a tool used for creation of various Ubuntu preinstalled images, both classic and
snap-based.
commands:
- ubuntu-image
snap-id: 4RW78vIax8JW5S8HkYsa8lNbv68uPaYX
tracking: latest/stable
refresh-date: today at 10:10 PST
channels:
latest/stable: 3.1 2023-11-28 (658) 40MB classic
latest/candidate: 3.1 2023-11-28 (658) 40MB classic
latest/beta: 3.1 2023-11-28 (658) 40MB classic
latest/edge: 3.1+snap3 2023-11-28 (668) 41MB classic
2/stable: 2.2+snap10 2023-04-06 (322) 8MB classic
2/candidate: 2.2+snap10 2023-04-06 (322) 8MB classic
2/beta: 2.2+snap10 2023-04-06 (322) 8MB classic
2/edge: 2.2+snap10 2023-04-06 (322) 8MB classic
installed: 3.1 (658) 40MB classic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2045062/+subscriptions
More information about the foundations-bugs
mailing list