Don't copy (toplevel) DEBIAN directory to build dir

Bug #1465668 reported by John Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snappy
Fix Released
Medium
Unassigned

Bug Description

Currently if the user has a DEBIAN file, or symlink to a file, in the toplevel directory of a package, build will fail.

If it's a directory or a symlink to a directory, build will use that directory and copy its contents into the package as is (other than overwriting manifest, control, etc).

If it's a directory with e.g. manifest inside being a symlink to some other file, that other file is overwritten (if permissions allow).

Some or all of this is a bug. Way to avoid is to not copy DEBIAN, either by adding it to the exclude list (which would stop from copying anything called DEBIAN anywhere in the tree), or an explicit check for it (which would let the user still have other things called DEBIAN, for whatever reason).

Related branches

Michael Vogt (mvo)
Changed in snappy:
status: New → Triaged
importance: Undecided → Medium
John Lenton (chipaca)
Changed in snappy:
status: Triaged → In Progress
Changed in snappy:
status: In Progress → Fix Committed
Leo Arias (elopio)
Changed in snappy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.