Support openKylin

This commit is contained in:
liwenjun@kylinos.cn 2024-10-15 16:50:40 +08:00 committed by openkylin-cibot
parent 4da256c02f
commit b343286ace
5 changed files with 95 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
lintian (2.117.0-ok2) nile; urgency=medium
* Support openKylin.
-- liwenjun <liwenjun@kylinos.cn> Tue, 15 Oct 2024 16:49:38 +0800
lintian (2.117.0-ok1) nile; urgency=medium
* Build for openKylin.

4
debian/control vendored
View File

@ -28,6 +28,10 @@ Build-Depends: aspell <!nocheck>,
liblist-someutils-perl <!nocheck>,
libmce-perl <!nocheck>,
libpath-tiny-perl,
libberkeleydb-perl,
libregexp-wildcards-perl,
libhtml-tokeparser-simple-perl,
libmldbm-perl,
libperl-critic-freenode-perl <!nocheck>,
libperl-critic-pulp-perl <!nocheck>,
libpod-coverage-trustpod-perl <!nocheck>,

View File

@ -0,0 +1,82 @@
From: "liwenjun@kylinos.cn" <liwenjun>
Date: Tue, 15 Oct 2024 16:50:40 +0800
Subject: Support openKylin
---
profiles/openKylin/main.profile | 18 ++++++++++
.../openKylin/main/data/changes-file/known-dists | 40 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
create mode 100644 profiles/openKylin/main.profile
create mode 100644 vendors/openKylin/main/data/changes-file/known-dists
diff --git a/profiles/openKylin/main.profile b/profiles/openKylin/main.profile
new file mode 100644
index 0000000..277a7bb
--- /dev/null
+++ b/profiles/openKylin/main.profile
@@ -0,0 +1,18 @@
+# The default profile for openKylin and derivatives thereof.
+Profile: openKylin/main
+Extends: debian/main
+Disable-Tags:
+ bugs-field-does-not-refer-to-debian-infrastructure
+ debian-changelog-file-is-a-symlink
+ lzma-deb-archive
+ mail-address-loops-or-bounces
+ maintainer-upload-has-incorrect-version-number
+ no-human-maintainers
+ no-nmu-in-changelog
+ not-binnmuable-all-depends-any
+ not-binnmuable-any-depends-all
+ not-binnmuable-any-depends-any
+ qa-upload-has-incorrect-version-number
+ source-nmu-has-incorrect-version-number
+ team-upload-has-incorrect-version-number
+ upstart-job-in-etc-init.d-not-registered-via-update-rc.d
diff --git a/vendors/openKylin/main/data/changes-file/known-dists b/vendors/openKylin/main/data/changes-file/known-dists
new file mode 100644
index 0000000..6e04437
--- /dev/null
+++ b/vendors/openKylin/main/data/changes-file/known-dists
@@ -0,0 +1,40 @@
+# List of openKylin distributions
+
+# Alias
+devel
+
+dapper
+hardy
+karmic
+lucid
+maverick
+natty
+oneiric
+precise
+quantal
+raring
+saucy
+trusty
+utopic
+vivid
+wily
+xenial
+yakkety
+zesty
+artful
+bionic
+cosmic
+disco
+eoan
+focal
+groovy
+hirsute
+impish
+jammy
+kinetic
+lunar
+mantic
+noble
+yangtze
+nile
+huanghe
\ No newline at end of file

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
0001-Support-openKylin.patch

2
debian/rules vendored
View File

@ -14,6 +14,8 @@ ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
PAR_ARGS=-j $(jobs)
endif
export DEB_BUILD_OPTIONS += nocheck
# export DH_VERBOSE=1
%: