For the snap, this is because data_dir in distro_info is hardcoded to
/usr/share/distro_info/ whichi corresponds to the version included in
core18 not the version that ships with the snap itself.

Version 20200427 (1754) of core18 contains the right data file with
information about groovy.

distro-info could be updated to allow an override of data_dir instead of
using a hard coded path.

Meanwhile you can either wait until latest core18 is released to stable
or upgrade core18 to latest/candidate.

** Changed in: ubuntu-qa-tools
       Status: New => Triaged

** Changed in: ubuntu-qa-tools
   Importance: Undecided => Medium

** Project changed: ubuntu-qa-tools => distro-info (Ubuntu)

** Summary changed:

- dl-ubuntu-test-iso in stable (rev 3) bustimicated
+ Cannot override data_dir [was: dl-ubuntu-test-iso in stable (rev 3) 
bustimicated]

** Description changed:

- I can't seem to run this tool..
+ in distro-info data_dir is hardcoded to /usr/share/distro-info and
+ cannot be relocated.
+ 
+ == Original description ==
+ I can't seem to run this tool.
  
  $ dl-ubuntu-test-iso --flavor=ubuntu --variant=desktop --arch=amd64 
--release=focal --build=pending --isoroot=/storage/iso
  distro_info is bustimacated
  
  $ snap run dl-ubuntu-test-iso
  distro_info is bustimacated
  
  $ dl-ubuntu-test-iso --help
  distro_info is bustimacated
  
  -----------------------------------------------
  
  $ snap list dl-ubuntu-test-iso
  Name                Version   Rev  Tracking       Publisher  Notes
  dl-ubuntu-test-iso  20200425  3    latest/stable  jibel      -
  
- 
- Maybe it's just user error and I need some direction in fixing up the command.
+ Maybe it's just user error and I need some direction in fixing up the
+ command.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1875444

Title:
  Cannot override data_dir [was: dl-ubuntu-test-iso in stable (rev 3)
  bustimicated]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distro-info/+bug/1875444/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to