license does not work in the snap installation.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Undecided
|
Unassigned | ||
snapd |
Triaged
|
High
|
Unassigned |
Bug Description
I tried the license example code at:
https:/
When I build the example code, I get the warning like:
liuxg@liuxg:
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_
liuxg@liuxg:
LICENSE parts prime snapcraft.yaml stage test-license_
liuxg@liuxg:
[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:
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/
Thanks & best regards,
XiaoGuo
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → High |
affects: | snappy → snapd |
Given LP: #1638303 I will mark this as Won't Fix