Add apt-ostree Debian package

Apt-ostree is a hybrid image/package management system
that leverages Ostree.

Test Plan
PASS Build/install Debian package.
PASS Build ISO
PASS Run install
PASS Run apt-ostree version.

Story: 2010867
Task: 48556

Depends-On: https://review.opendev.org/c/starlingx/tools/+/894566

Change-Id: I2bd6104660e4b384b5bc7d83d09332ef68888438
Signed-off-by: Charles Short <charles.short@windriver.com>
This commit is contained in:
Charles Short 2023-09-11 13:30:02 -04:00
parent bd32299149
commit 9ce981bc35
9 changed files with 118 additions and 0 deletions

View File

@ -0,0 +1,5 @@
apt-ostree (0.1-1) UNRELEASED; urgency=medium
* Initial release.
-- Chuck Short <charles.short@windriver.com> Tue, 25 Jul 2023 10:51:26 -0400

View File

@ -0,0 +1,43 @@
Source: apt-ostree
Section: admin
Priority: optional
Maintainer: StarlingX Developers <starlingx-dev@lists.starlingx.io>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
python3-setuptools,
python3-all,
python3-pbr,
python3-click,
python3-oslotest
Standards-Version: 4.6.2
Homepage: https://opendev.org/starlingx/apt-ostree
Package: python3-apt-ostree
Architecture: all
Depends:
${python3:Depends},
${misc:Depends},
python3-apt,
python3-click,
python3-rich,
bubblewrap,
reprepro,
Suggests:
python-apt-ostree-doc,
Description: Hybrid Image/Package management system
Hybrid image/package management system.
.
This package installs the library for Python 3.
Package: python-apt-ostree-doc
Section: doc
Architecture: all
Depends:
${sphinxdoc:Depends},
${misc:Depends},
Description: Hybrid Image/package management system documentation
Hybrid package management system.
.
This is the common documentation package.

View File

@ -0,0 +1,42 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: apt-ostree
Source: https://opendev.org/starlingx/apt-ostree
Files: *
Copyright: (c) 2023 Wind River Systems, Inc
Others (See individual files for more details)
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.
# If you want to use GPL v2 or later for the /debian/* files use
# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
Copyright: 2023 Wind River Systems, Inc
License: Apache-2
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
https://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian-based systems the full text of the Apache version 2.0 license
can be found in `/usr/share/common-licenses/Apache-2.0'.

View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1
export PYBUILD_NAME=apt-ostree
%:
dh $@ --buildsystem=pybuild

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1 @@
extend-diff-ignore = "^[^/]*[.]egg-info/"

View File

@ -0,0 +1,11 @@
---
debname: apt-ostree
debver: 0.1
dl_path:
name: apt-ostree-0.1.tar.gz
url: https://opendev.org/starlingx/apt-ostree/archive/master.tar.gz
sha256sum: fce21e398e487332eb9f8d6260f4a3a69b24b0b1f529fbdaea3fdbda39e512ad
md5sum: 2dcd6c491696109a0fc267318917bef0
revision:
dist: $STX_DIST
PKG_GITREVCOUNT: true

View File

@ -1,5 +1,8 @@
# List of packages to be included/installed in ISO # List of packages to be included/installed in ISO
#apt-ostree
python3-apt-ostree
#cgcs-patch #cgcs-patch
cgcs-patch-agent cgcs-patch-agent
cgcs-patch-controller cgcs-patch-controller

View File

@ -1,3 +1,4 @@
apt-ostree
enable-dev-patch enable-dev-patch
patch-alarm patch-alarm
software software