Commit 4d8330ec authored by satmandu's avatar satmandu Committed by GitHub

Crew Package Dev workaround (#5606)

* Add workaround for package development

* uprev
parent b362c08d
......@@ -682,6 +682,14 @@ end
def prepare_package (destdir)
Dir.chdir destdir do
# Avoid /usr/local/share/info/dir{.gz} file conflict:
# The install-info program maintains a directory of installed
# info documents in /usr/share/info/dir for the use of info
# readers. This file must not be included in packages other
# than install-info.
# https://www.debian.org/doc/debian-policy/ch-docs.html#info-documents
FileUtils.rm "#{CREW_DEST_PREFIX}/share/info/dir" if File.exist?("#{CREW_DEST_PREFIX}/share/info/dir")
# compress manual files
compress_doc "#{CREW_DEST_PREFIX}/man"
compress_doc "#{CREW_DEST_PREFIX}/info"
......@@ -713,7 +721,7 @@ def prepare_package (destdir)
puts f.lightred
pp = p
end
abort
abort unless ENV['CREW_CONFLICTS_ONLY_ADVISORY'] == '1'
end
# create directory list
......
# Defines common constants used in different parts of crew
CREW_VERSION = '1.8.1'
CREW_VERSION = '1.8.2'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment