debian: merge packaging in main subiquity tree.

Signed-off-by: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com>
This commit is contained in:
Mathieu Trudel-Lapierre 2016-06-28 14:02:33 -04:00
parent a721eba5c1
commit 1b03fb4b21
12 changed files with 228 additions and 1 deletions

1
.gitignore vendored
View File

@ -61,7 +61,6 @@ installer/*.img
installer/*.img_* installer/*.img_*
logs/* logs/*
venv venv
debian
.pybuild .pybuild
# probert as its pulled externally # probert as its pulled externally

68
debian/changelog vendored Normal file
View File

@ -0,0 +1,68 @@
subiquity (0.0.5+1467127840.a721eba~cy1) yakkety; urgency=medium
* Release 0.0.6 snapshot: port for yakkety:
- Include firstboot support.
-- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 28 Jun 2016 11:32:03 -0400
subiquity (0.0.5) wily; urgency=medium
* Release 0.0.5
* New UX/Models: bcache, lvm, identity
* Geninstaller updated to work with latest curtin
* Fix button movement when scaling UI
* Switch back to async curtin install (two stage)
* Fixed issues: #77, #88
-- Ryan Harper <ryan.harper@canonical.com> Tue, 05 Jan 2016 20:30:11 -0600
subiquity (0.0.4) wily; urgency=medium
* Release 0.0.4
* Refactor signals for improved navigation (escape always works)
* Updated Network model to support manual configuration
* Added Bonding UX panels
* Fixed issues: #71, #73, #99, #100, #101, #103, #105, #106, #107, #108,
#109, #111
-- Ryan Harper <ryan.harper@canonical.com> Wed, 11 Nov 2015 09:14:21 -0600
subiquity (0.0.3) wily; urgency=medium
* Release 0.0.3
* Fix RAID install
* geninstaller: install curtin as deb
* geninstaller: pre-install curtin deps in installer overlay
* geninstaller: shrink the size of the rootfs partition
* Fixed issues: #63, #64, #67, #69, #70, #72, #74, #75, #76, #77, #78
-- Ryan Harper <ryan.harper@canonical.com> Wed, 28 Oct 2015 09:58:39 -0500
subiquity (0.0.2) wily; urgency=medium
* Release 0.0.2
* Network Configuration UX
* RAID/mdadm UX
* Updated Installer spinner
* Detection on failure when running curtin
-- Ryan Harper <ryan.harper@canonical.com> Tue, 20 Oct 2015 18:34:20 -0500
subiquity (0.0.1-0ubuntu3) wily; urgency=medium
* Break subiquity-{gen|run}installer into -tools package (Closes: #80)
-- Ryan Harper <ryan.harper@canonical.com> Tue, 20 Oct 2015 17:02:47 -0500
subiquity (0.0.1-0ubuntu2) wily; urgency=medium
* Add curtin to package deps
* Find curtin and install source dynamically (Closes: #64)
-- Ryan Harper <ryan.harper@canonical.com> Wed, 07 Oct 2015 08:49:39 -0500
subiquity (0.0.1-0ubuntu1) wily; urgency=medium
* Initial build.
-- Adam Stokes <adam.stokes@ubuntu.com> Mon, 17 Aug 2015 14:01:12 -0400

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

102
debian/control vendored Normal file
View File

@ -0,0 +1,102 @@
Source: subiquity
Section: admin
Priority: extra
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Build-Depends: bzr,
debhelper (>= 9),
dh-python,
git,
python3,
python3-setuptools,
python3-yaml
Standards-Version: 3.9.5
Homepage: https://github.com/CanonicalLtd/subiquity
X-Python3-Version: >= 3.3
Vcs-Browser: https://github.com/CanonicalLtd/subiquity
Vcs-Git: https://github.com/CanonicalLtd/subiquity.git
Package: subiquity
Architecture: amd64
Depends: curtin,
probert,
python3-tornado,
python3-urwid (>= 1.2.1),
python3-yaml,
${misc:Depends},
${python3:Depends}
Description: Ubuntu Server Installer
SUbiquity is an installer system for servers, embedded devices and desktops
or laptops meant to build systems as quickly as possible for users to reach
a point where their system is usable.
.
By default, subiquity provides a "first boot" experience that allows users
to do initial system configuration such as adding users and login settings,
along with doing basic network configuration. It can also be used to build
a new system from the ground up, partitioning and copying a disk image to
the storage device selected by the user.
.
This package provides the installer routines for bootstrapping a system
with the Subiquity the server installer UI.
Package: subiquity-installer
Architecture: amd64
Depends: subiquity,
${misc:Depends}
Description: Ubuntu Server Installer - new install mode
SUbiquity is an installer system for servers, embedded devices and desktops
or laptops meant to build systems as quickly as possible for users to reach
a point where their system is usable.
.
By default, subiquity provides a "first boot" experience that allows users
to do initial system configuration such as adding users and login settings,
along with doing basic network configuration. It can also be used to build
a new system from the ground up, partitioning and copying a disk image to
the storage device selected by the user.
.
This package provides the files and tools required to do an install of
Ubuntu Server on a new system.
Package: subiquity-tools
Architecture: amd64
Depends: bzr,
${misc:Depends},
cloud-image-utils,
devscripts,
extlinux,
gdisk,
git,
grub-efi-amd64-signed,
grub2-common,
kpartx,
parted,
pep8,
pyflakes,
python-all,
python-mock,
python-nose,
python-oauthlib,
python-yaml,
python3-mock,
python3-nose,
python3-setuptools,
qemu-utils,
shim,
shim-signed,
simplestreams,
subiquity,
syslinux-common,
ubuntu-cloudimage-keyring,
${python3:Depends}
Description: Ubuntu Server Installer
SUbiquity is an installer system for servers, embedded devices and desktops
or laptops meant to build systems as quickly as possible for users to reach
a point where their system is usable.
.
By default, subiquity provides a "first boot" experience that allows users
to do initial system configuration such as adding users and login settings,
along with doing basic network configuration. It can also be used to build
a new system from the ground up, partitioning and copying a disk image to
the storage device selected by the user.
.
This package provides the installer which all the necessary utilities to
complete a new installation.

25
debian/copyright vendored Normal file
View File

@ -0,0 +1,25 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: subiquity
Source: https://github.com/CanonicalLtd/subiquity
Files: *
Copyright: Copyright 2015, Canonical Ltd.
License: AGPL-3.0+
Files: debian/*
Copyright: Copyright 2015, Canonical Ltd.
License: AGPL-3.0+
License: AGPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.md
examples

24
debian/rules vendored Executable file
View File

@ -0,0 +1,24 @@
#!/usr/bin/make -f
export PYBUILD_NAME=subiquity
export PYBUILD_DISABLE_python2=1
export PYBUILD_INSTALL_DIR=usr/share/subiquity/
export PYBUILD_INSTALL_ARGS_python3=--install-lib=usr/share/subiquity/ \
--install-data=usr/ \
--root=$(CURDIR)/debian/subiquity/ \
--no-compile -O0
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_clean:
rm -f .subiquity/subiquity-debug.log installer/geninstaller.log
rm -rf probert/
override_dh_python3:
dh_python3 --ignore-shebangs
override_dh_installinit:
dh_installinit --no-start
override_dh_auto_test:
@echo "No tests."

1
debian/source/format vendored Normal file
View File

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

1
debian/subiquity-tools.install vendored Normal file
View File

@ -0,0 +1 @@
installer usr/share/subiquity/

2
debian/subiquity-tools.links vendored Normal file
View File

@ -0,0 +1,2 @@
/usr/share/subiquity/installer/geninstaller /usr/bin/subiquity-geninstaller
/usr/share/subiquity/installer/runinstaller /usr/bin/subiquity-runinstaller

1
debian/subiquity.install vendored Normal file
View File

@ -0,0 +1 @@
bin/subiquity-tui usr/share/subiquity

1
debian/subiquity.links vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/subiquity/subiquity-tui /usr/bin/subiquity