license does not work in the snap installation.

Bug #1606283 reported by XiaoGuo, Liu on 2016-07-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I tried the license example code at:

When I build the example code, I get the warning like:

liuxg@liuxg:~/snappy/desktop/snapcraft/integration_tests/snaps/license$ snapcraft
Preparing to pull nothing
Pulling nothing
Preparing to build nothing
Building nothing
Staging nothing
Priming nothing
DEPRECATED: 'license' defined in snapcraft.yaml
Snapping 'test-license' |
Snapped test-license_0.1_amd64.snap
liuxg@liuxg:~/snappy/desktop/snapcraft/integration_tests/snaps/license$ ls
LICENSE parts prime snapcraft.yaml stage test-license_0.1_amd64.snap
liuxg@liuxg:~/snappy/desktop/snapcraft/integration_tests/snaps/license$ sudo snap install *.snap
[sudo] password for liuxg:

Name Version Rev Developer Notes
test-license 0.1 x1

When I try to install it, the license file does not get prompted for acceptation. When I build it for the second time, I get the error like:

liuxg@liuxg:~/snappy/desktop/snapcraft/integration_tests/snaps/license$ snapcraft
Skipping pull nothing (already ran)
Skipping build nothing (already ran)
Skipping stage nothing (already ran)
Skipping prime nothing (already ran)
DEPRECATED: 'license' defined in snapcraft.yaml
[Errno 17] File exists: 'LICENSE' -> '/home/liuxg/snappy/desktop/snapcraft/integration_tests/snaps/license/prime/meta/license.txt'

Thanks & best regards,

Sergio Schvezov (sergiusens) wrote :

Given LP: #1638303 I will mark this as Won't Fix

Changed in snapcraft:
status: New → Won't Fix
Michael Vogt (mvo) on 2016-11-29
Changed in snappy:
status: New → Triaged
importance: Undecided → High
Sergio Schvezov (sergiusens) wrote :

Isn't this being replaced by the more general ToS?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers