Navigation Menu

Skip to content

Commit

Permalink
packages ubuntu: use specific vendor profile
Browse files Browse the repository at this point in the history
When executing make upload on recent debian/unstable, it causes an error
such as "E: bad-distribution-in-changes-file XXX".

It means that lintian doesn't know XXX because default profile is
set to "debian". In this case, it is better to use "ubuntu" profile.
  • Loading branch information
kenhys committed Nov 25, 2016
1 parent dd6eebe commit 8049335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ubuntu/upload.rb
Expand Up @@ -196,7 +196,7 @@ def upload(code_name, mysql_short_version, mysql_version)
"-i", "-e",
"s,MYSQL_VERSION\\|MARIADB_VERSION,#{mysql_version},",
"debian/control")
run_command("debuild", "-S", "-sa", "-pgpg2", "-k#{@pgp_sign_key}")
run_command("debuild", "--set-envvar=LINTIAN_PROFILE=ubuntu", "-S", "-sa", "-pgpg2", "-k#{@pgp_sign_key}")
if @use_pbuilder
run_command("pbuilder-dist", code_name, "build",
"../#{deb_package_name}_#{deb_version}.dsc")
Expand Down

0 comments on commit 8049335

Please sign in to comment.