Git log: commit 13e7f50d1923cf42d115e2e2c6a4550fa21781f5
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Dec 11 08:36:04 2021 -0500
debian/changelog - updated for clarity using dch
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 0e251d2fa2b1161df9968a7eea6f5d39c72c1ade
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Nov 30 00:37:26 2021 +0000
debian/control - set debhelper-compat to 13
13 is the most recent version, per lintian.
Note this will break DUE's build on Debian releases
older than Debian 11 (Bullseye).
For those cases, build from the debian/buster branch of DUE.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 28753474000adc3f16d8dd2feee20151c081e6a2
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Nov 26 22:59:45 2021 +0000
lintian clean up for 3.0.0 release
due.lintian-overrides. Added entries for repeated-path-segment warnings.
The "repeated paths" are used by the templates for docker image creation,
and refer to the destination directories in the image.
debian/control
Updated debhelper compat version to 12
Updated Standards-Version to 4.6.0
Added Rules-Requires-Root to no - as root privileges are not
required to build DUE.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 9a07edf8b3203d849f5963489b0ef3ba8fdf6b0e
Merge: b0682d1 077c02e
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Nov 26 22:03:17 2021 +0000
Merge branch 'master' into debian/master
Update for version 3.0.0
commit b0682d1a6cc6c0a8bc33a7952bf6852cc79ea977
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Nov 26 08:08:05 2021 -0800
debian/changelog - add 'New upstream release'
...for proper Debian compliance.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 49f1ec6d5c57327ed649cf6a723fe59d5f334664
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Mon Nov 15 18:02:47 2021 +0000
due.lintian-overrides: ignore repeated path error.
Lintian flags:
P: due: repeated-path-segment usr usr/share/due/templates/debian-package/filesystem/usr/
P: due: repeated-path-segment usr usr/share/due/templates/frr/filesystem/usr/
P: due: repeated-path-segment usr usr/share/due/templates/onie/filesystem/usr/
but the usr path at the end is the path of files to be placed in the
Docker image being assembled, not the host system.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 59499080f9e509cb37f50ef295be9a2bef9424e9
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Mon Nov 15 17:37:21 2021 +0000
debian/changelog - lintian fix line over 80 characters.
This fixes a warning found by lintian where the comment
line was too long.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 077c02e9cbde75a9bb0a4e6babdc83ee70250143
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Mon Nov 15 09:21:53 2021 -0800
libdue - map uname's i686 to host arch i386
This provides initial support for running 32 bit Intel
containers. Though further testing is encouraged.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 65a04da85386cafe745d78037f94fd7fc3e988d7
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Mon Nov 15 09:19:01 2021 -0800
Makefile - update debian-package target help.
Since:
- Building DUE as a .deb requires a build environment that
can support debian package builds.
- DUE can create that debian package build environment.
- New users may not be aware of this.
- And in the middle of the build process, the user is asked
to select a DUE debian package build container that they
may not have created yet.
...let them know one will be needed ahead of time.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit db287b5db2be14886fb1f8e1a02a6400f1fe618a
Merge: fc1d98e a0932d9
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Sun Nov 14 16:27:22 2021 -0800
Merge pull request #33 from ehdoyle/debian/master
Debian/master
commit ee0082fd5252214e3750b635902b402219abf05e
Merge: c7a7213 d24646a
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Sun Nov 14 16:25:42 2021 -0800
Merge pull request #32 from ehdoyle/master
Update to 3.0.0 for release
commit d24646ae42eb81910d8a6d9f2bc615162c2b4189
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 17:09:53 2021 -0800
Makefile - for debian-package target, use tarfile.orig for build.
As the debian/master branch should just be Debian specific files,
if one builds from the Makefile, with 'make debian-package' it will:
- Create the orig.tar.gz file
- Git stash any files on master
- Check out the debian/master branch
- Extract files from master in to the build area
- Run a DUE container to build the package
- Delete the extracted files
- Reset the debian/master build area
- Check out master
- Git stash pop any files that were being worked on.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit a0932d974d1ab1c174ffaf6bff1e2e6351a55a54
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 16:30:23 2021 -0800
Update documenation for 3.0.0 release.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit 9bbcd3c3149e79666b897f28f79c06f146577828
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 16:16:02 2021 -0800
Update version to 3.0.0
This reflects changes such as:
* Support Podman as well as Docker.
* Replace qemu, qemu-system Recommends with just qemu-user-static. Closes: bug#992947
* templates: Add pre and post install local dirs to build local packages into containers
* templates: debian-package and onie support for Debian 11
* Makefile: Clean up and provide better help by default
* debian-package: due-manage-local-repo: support multiple named local repositories
* libdue: support sub-type template directory file hierarchy for templates
* Fix invocation bug when running ARM64 containers on aarch64 hosts
* Fix save/load import/export mismatch when writing and reading image files.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit e5fbd29950a23687e71bceafd5b1a36b44282fe0
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 16:03:13 2021 -0800
Update changelog to version 3.0.0. Note only qemu-user-static is needed.
This removes dependencies on other flavors of QEMU binaries which
were not needed.
Closes: #992947
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 75009f5ca12816b0f00271cf73556ff93b8f25ee
Merge: 2aa2a3b 72f36be
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 15:52:30 2021 -0800
Merge branch 'master' of https://github.com/ehdoyle/DUE
commit 2aa2a3b83d2e681111051d958b62c4022eeb4407
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 15:35:31 2021 -0800
Makefile - pretty up 'make debian-package'
Fixes a bug where a message option with 'git stash' failed,
and adds a bit more context around what is happening, as
well as printing out the build products for new users that
may not be aware Debian packages end up in the parent directory.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit 72f36be0d2ba0f88ed1fb2873106d3abc5f5befe
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 15:35:31 2021 -0800
Makefile - pretty up 'make debian-package'
Fixes a bug where a message option with 'git stash' failed,
and adds a bit more context around what is happening, as
well as printing out the build products for new users that
may not be aware Debian packages end up in the parent directory.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit d1aac7b745130c3c137d75e7bd759a1981695211
Author: Alex Doyle <adoyle@nvidia.com>
Date: Sat Nov 13 10:51:53 2021 -0800
Image import - use 'load' with 'save' to import working images.
From the documentation, an image exported with 'save', which
preserves all filesystem layers, which is the safest course
of action for someone using a wrapper like DUE, should be
imported using 'load' which accounts for all that.
'export' and 'import' are separate commands which should not
be mixed and matched with 'save' and 'load'
Testing:
--------
./due --create --from debian:10 --description "Debian 10 example" \
--name example-debian-10 --prompt Ex --tag example-debian-10 --use-template example
./due --run <choose example>
In a separate window
due --manage --export-container extets
<saves container as due-extest.tar>
./due -m --import-image due-extest.tar
./due --run <choose due-extest>
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit 799b70e15075e9e24a0bca4670ca3089b60b58e5
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 09:57:10 2021 -0800
Podman - initial support
This set of changes should detect if Podman is installed,
rather than Docker, and, if so, it will be used.
The assumption is that both are not installed on the system, as
Docker, expected to be the more common program, is the default,
and as such there is no way to choose one or the other.
(At least until someone comes up with a viable use case and
a pull request.)
There are some conditional cases for parsing Podman output, and
for reference, feature development was done using the Podman
version from Debian 11, should different versions introduce issues.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit 36f93fc8be5892f815ee086082457a98345168d0
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 09:53:17 2021 -0800
container-create-user.sh - append container /etc/hosts entries.
At run time, Docker provides an /etc/hosts file, so if one was
included as part of container configuration, it gets overwritten.
There are cases where the dynamic information supplied by Docker
should be kept, hence this change to append the image supplied
/etc/hosts data to the /etc/hosts that is present at run time.
Hopefully the combination creates the best of both worlds, rather
than a compromise that satisfies nobody.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit 7d9f66f831318ae00903e178e4357eaebdc8f4ad
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Nov 13 09:29:39 2021 -0800
Makefile - print stashing of master branch for clarity.
Signed-off-by: Alex Doyle <alexddoyle@gmail.com>
commit c7a7213a1039e81675d80b9d86938adef350a2de
Author: Alex Doyle <adoyle@nvidia.com>
Date: Tue Sep 14 08:15:31 2021 -0700
/etc/hosts in container - append rather than replace
This changes the /etc/hosts replacement behavior to append
the contents of the /etc/hosts file supplied by the DUE template
so as to not overwrite the IP address Docker supplies to
the container at run time.
If a total replacement of /etc/hosts is required, the
container-create-user.sh script can be modified in the
template directory and will replace the default one
supplied by common-templates.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 67d0aeabf2e959b34e09e951536b68b2c97d438e
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 1 11:19:44 2021 -0700
Support custom /etc/hosts in container
This could be needed if the run time environment
has DNS issues and hostname/ip address correlations
need to be supplied.
This is a bit more complicated than just adding a
./filesystem/etc/hosts file.
First - code has been updated to install the user supplied
/etc/hosts _before_ doing post-install updates, so an image
build will use the /etc/hosts.
Second - Docker replaces the /etc/hosts at run time, so
the container-create-user.sh script now looks for a
/due-configuration/filesystem/etc/hosts
file, (which that would indicate it was a custom install )
and if it finds one, it replaces the existing /etc/hosts
This approach may need some refinement, as it may make
too many assumptions about what the run time should be.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 29ac224cb51eb75ba2315ae8db13f65bb6a342c7
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Aug 31 14:58:05 2021 -0700
Makefile - git stash push works better with 'push'
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 4dc20f8ae6c2b123d75bec3c086ea7320a30ff36
Author: Alex Doyle <adoyle@nvidia.com>
Date: Tue Aug 31 11:11:29 2021 -0700
ChangeLog - update for 2.4 release.
Collecting changes so far.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit a216d5bb277edac8b1b9dfdad722664f04b1ad1d
Author: Alex Doyle <adoyle@nvidia.con>
Date: Tue Aug 31 09:22:28 2021 -0700
Makefile - ignore 'stash pop' error if nothing to pop.
When building the debian-package target, the debian/master
branch is checked out, so a 'git stash' is performed to save
any development changes, with a 'git pop' used to restore
the state of files at the end of the build.
If there are no changes, then the git pop will throw a
Makefile error.
These changes clean up the handling of what is:
"could not restore changes that were not there to begin with"
By using - to make the error non-fatal, and ||: to keep
it from printing out a message that says 'errors were ignored',
because that is not very comforting either.
Bottom line:
No need to scare people with an error that doesn't matter.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit e8d33ca35b0e35461082512f555017ff40d1ccea
Author: Alex Doyle <adoyle@nvidia.con>
Date: Tue Aug 31 09:20:14 2021 -0700
Makefile - improve help.
This sets printing help as the default target, and cleans up a few
unused targets.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit ecce842799b3ccf87137f4783ab41c6e0e67c4f2
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Mon Aug 30 18:57:26 2021 -0700
debian-package duebuild - handle dsc files with underscores '_'
Fixes a handling error if the dsc file has underscores in it.
Thanks to Benjamin Poirier for pointin this out.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 001f325a065930f783a8ea99af708fd901b2c29d
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sun Aug 29 16:54:54 2021 -0700
libdue - support sub-type template directory file hierarchy
This allows for merging files from multiple sub directories
together with the ./templates/common-templates files to
use for image creation.
This is excessive unless one has a lot of containers that
have slight differences, which results in a lot of file
replication, or relative linking to common files.
For example, supporting three software version releases
with internal development and 'official release' tracks,
could require six different sources.list files and apt keys
to reference different software mirrors.
Rather than have each template soft link to common files,
the common files can be present in parent directories with
the unique files stored in sub directories.
When the file merge is done to create the directory the image
will be built out of, parent directories are merged first,
bottom most child directories last so that they may overwrite any
common files as needed.
(And if they need to delete parent files, that were not overwritten,
that's what the child's post-install script is for )
Each directory in the path named 'sub-type' indicates a new
group of files to be copied in. So:
due/templates/foo/sub-type/bar/sub-type/baz
Results in a final merged directory of files that are:
common-templates+(files from foo)+(files from bar)+(files from baz)
..written in that order, so that files from 'baz' will replace
any identically named files provided by bar, foo, or common-templates.
Also updated templates/README.md and man page
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit c72f6a5549fe0a32f612fda1063c7ef3c61fa5ab
Author: Alex Doyle <adoyle@nvidia.com>
Date: Mon Aug 30 18:26:05 2021 -0700
ONIE README.md - add entry for Debian 11 container creation example.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 5ad3b2aa34876d61bd273126c76a9fe4007dbbfe
Author: Alex Doyle <adoyle@nvidia.com>
Date: Mon Aug 30 18:20:52 2021 -0700
onie post-install-config.sh - Debian 11 container support.
This adds an entry to create ONIE build environments based off
of Debian 11 containers. It also removes a few variables that
list the packages to be installed.
Testing
--------
ONIE kvm_x86_64 and qemu_armv8a targets for the 2021.11 release
built with this configuration.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 94241bd23854486b497b7b6aafba51572f749a17
Author: Alex Doyle <adoyle@nvidia.con>
Date: Sun Aug 29 11:42:08 2021 -0700
libdue - qemu install is now only qemu-user-static
QEMU is only needed if the user is running Docker images
of an architecture that is different from the host.
Since it takes up a reasonable amount of storage space,
it is a 'Recommends' in Debian install, and
an install via 'make install' does not add it, since, in that case,
the lack of qemu will be noticed at run time, and installation
instructions will be supplied then.
Also, qemu-user-system is not required to run images of different
architectures as qemu-user-static supplies everything DUE is using.
This was flagged from Michael Tokarev who was cleaning up the
qemu metapackage (which is going away) and why only qemu-user-static
might be the only packge required.
It is refreenced as:
Bug 992947 - due wronly recommends qemu package.
Adding 'fixes' rather than 'closed' as the debian/master branch needs
it's debian/control file's dependency list updated.
Fixes: #992947
Signed-off-by: Alex Doyle <adoyle@nvidia.net>
commit a987a1a82f471d835acec824d80a1084a3c8bc83
Author: Alex Doyle <adoyle@nvidia.con>
Date: Sun Aug 29 11:31:18 2021 -0700
debian-package README.md - update for Debian 11
Add Debian 11 package build container creation example.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 943e46411def117dcf6db043dc4f7bd6fd373c27
Author: Alex Doyle <adoyle@nvidia.con>
Date: Sun Aug 29 11:07:53 2021 -0700
Makefile - fix bug that broke install dependencies
Remove a space that prevented DUE_DEPENDENCIES from
being evaluated, resulting in dependencies like 'rsync'
not being installed.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 584e66dc8d0971818faf2e7436bfbd1573a0fead
Author: Alex Doyle <adoyle@nvidia.con>
Date: Sun Aug 29 10:46:25 2021 -0700
libdue - fix handling of no Docker images found.
If no docker images at all are present (as may be the
case for a fresh install ), the error handling is as
follows:
1 Suggest using --all to not limit runing to DUE containers.
2 Point the user at the --create command
This also refers to the images as images and not containers.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 6d2f30474490297637bc60b4d5ed38c669973e6c
Author: Alex Doyle <adoyle@nvidia.com>
Date: Thu Aug 19 11:25:46 2021 -0700
ONIE - add jq and ispell to container
ispell gets used in code cleanup and commit checking.
jq is used in sanity checking the onie-build-targets.json file.
They are being added to the container so that the same
configuration used for releases matches that of regular builds.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 5f0a0a38d85afe113acf3f992179ee21a856eb14
Author: Alex Doyle <adoyle@nvidia.com>
Date: Mon Aug 2 15:59:22 2021 -0700
libdue - Support arm64 containers on aarch64 hosts
This lets arm64 containers run without trying to
invoke QEMU on hosts that identify as aarch64,
by correlating the two.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 98bef9b89f72f4561447d5993288f25b571b5c85
Author: Alex Doyle <adoyle@nvidia.com>
Date: Tue Jul 13 07:46:10 2021 -0700
ONIE template - add grub-common and psmisc
This commit updates the ONIE build environment to support
Secure Boot and Secure Boot Extended, which adds a password
to ONIE and GRUB, and has GRUB validating the files it loads against provided signatures.
psmisc is used to provide a clean GPG signing environment
by cleaing out any previously running signing services.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 1da3a7600be532f2835067c3df8340ff8b3d1421
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Sun Mar 28 13:09:00 2021 -0700
debian-template: due-manage-local-repo.sh support mutliple local repos.
This updates due-manage-local-repo.sh to use the name of the repository
as the Codename, and to include it in the:
/etc/apt/sources.list.d/due-local-<name>
/etc/apt/preferences/due-local-<name>
files.
With this, named repositories can be enabled and disabled.
The delete repository code was also updated to try and clean
up the sources.list and preferences files if the directory
holding the repository had been deleted.
For those wondering why you would need more than one
local repository, I was testing a build that used
due-manage-local-repo.sh for a local package, and needed
a second, separate repository to act as my local Debian
package mirror to avoid surprising fellow devleopers
with suddenly experimental code.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 2f4250997b6f097ccc2550a5e3ff8b611bdebd9e
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Mar 26 08:43:04 2021 -0700
debian-package template: Provide post-install-local directory
This updates the post-install-local.sh.template to handle a
post-install-local directory that has no *.deb files in it.
Rather than assume that the existence of the directory means
that there is something to install, it (currently) checks the
directory for any *.deb files, and will install them if present.
This change in logic allows for the directory to be available
on checkout, and hold a README file that explains the purpose
of the directory, allowing users to be aware of this option
without having to find it by reading the documentation.
(Since we all know reading the documentation is a last resort :) )
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 9c7ab2bc7fc4a574a22c4d5a30c39fe950f60366
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Mar 26 08:17:13 2021 -0700
debian-package/README.md - Fix Ubuntu 20.04 example
This sets the prompt in the example for creating an Ubuntu 20.04
container to be PKGU2004, rather than PKG1804.
This doesn't change that the created container would still be
Ubuntu 20.04 based, but does make it clear to the user that it
is not an Ubuntu 18.04 container when they log in.
Signed-off by: Alex Doyle <adoyle@nvidia.com>
commit 0c16266e398674cd2787bc7dd3d356f2433b557d
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Mar 9 08:07:16 2021 -0800
debian-package post-install-config missing DEBIAN_FRONTEND
A test of the local package install code failed because it
was missing DEBIAN_FRONTEND in front of 'noninteractive'.
This only came up if one was trying to include a package from
the build directory, rather than the more common case of
pulling the package from a Debian package repository.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit fc1d98e278ca0963b386e93bc0c6d2fd14c408b9
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Mar 9 08:07:16 2021 -0800
debian-package post-install-config missing DEBIAN_FRONTEND
A test of the local package install code failed because it
was missing DEBIAN_FRONTEND in front of 'noninteractive'.
This only came up if one was trying to include a package from
the build directory, rather than the more common case of
pulling the package from a Debian package repository.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 2156b13cf89ad207440c0427f64082424d874eea
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Mar 6 09:23:50 2021 -0800
Makefile: debian-package git stash/pop
Add a 'git stash'/'git-pop' on the master branch so that
when the debian-package makefile target checks out the
debian/master branch to build, it preserves and restores
any Makefile work in progress.
commit 56b4fb59f111b53a9e8b42b9213af1c76695ac70
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Feb 24 14:38:38 2021 -0800
debian/changelog - insert Source only upload
Brought in Geert's changelog update to 2.3.0-2, inserting
the required:
* Source only upload for migration to testing
for source upload to the Debian build system.
commit 6a8c4d234049a53458a0fc2c9417d8b1e716fe48
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sun Feb 14 07:16:56 2021 -0800
Set version to 2.4.0~1 to indicate development
Version bump was necessary so that local Debian package builds
indicate they have changes since the 2.3.0 release to Debian.
Note the ~ in the release version, indicating that anyone who
has this version installed will have it upgraded to an official
Debian release when a version higher than 2.3.0-1 is uploaded
to Debian, as the ~ makes 2.4.0~1 a lower version than 2.4.0-1
commit c17da356913bda8caa08bc72376783af342ac6ae
Merge: 577be74 d16fba5
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sun Feb 14 07:08:40 2021 -0800
Merge branch 'master' into debian/master
commit d16fba5cab1215e9f46ff6a278ea5c99bdcac99a
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Feb 13 15:04:20 2021 -0800
Increment version to 2.4.0
This version will accumuluate changes until the next release.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 576126999c86b5d744030dddb5337f11354ce2c4
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Feb 13 15:02:34 2021 -0800
Add local packages to container with pre|post-install-local directories.
If a template has a pre-install-local directory, any packages in it
will be installed during the pre-install-conf.sh script running.
Likewise, if there is a post-install-local directory, any packages there
will be added when the post-install-conf.sh script runs.
This provides the option to build packages in to the container when
those packages cannot be pulled from a repository.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit e706f2985676fec64defc4724ed309e53d6e0c34
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Feb 13 15:00:06 2021 -0800
Upgrade due-manage-local-repo.sh
duebuild-readme.md
- Note that local repos must be either under the user's home dir,
or explicitly added as a host mount when the container is invoked
duebuild
- multiple sources.list files can be added (though keys
may be an issue)
due-manage-local-repo.sh
Allow add of multiple debs or dirs
Updated examples
Local repository enable removes all references to a prior
repository when it is enabled, avoiding collisions.
Re-arranged apt update calls so that builds can start with an empty
repository to be filled with packages and not error out
due-manage-local-repo.sh
- Updated examples
- Disable apt-get update if the repository has been created
but package add is pending the end of the current build.
This will keep it from apt-get erroring out when it accesses a
repository with no packages.
- When --enable-repo is passed to the due-manage-local-repo.sh,
always delete the previous configuraton and write the new one clean.
This should allow for specifying different repositories in the
container, although only one will be active at a time.
- Support multiple individual debs to be speciified on an add.
Ex ./due-manage-local-repo.sh --name myRepo --add foo.deb --add bar.deb
- Support multiple sources.list files
--add-sources-list accepts a sources.list
file for every use of the argument, so:
--add-sources-list foo.list --add-sources-list bar.list
..will add foo.list and bar.list to /etc/apt/sources.list.d/
Cases for using this would be during prototyping where a
developer would want to largely use their default upstream repository
but pull packages from sid, and use a local repository to
store build products.
--add-sources-list sid.list --use-local-repo myrepo
...would accomplish this.
It might not be a common scenario, but it is obnoxious when hit.
- Move the addtion of the sources.list for any local
repositories to be the last apt-get update before build, since
a newly added empty repository will throw errors on an apt get.
(The assumption here is that the empty repository will get
populated with what is being built.)
- Add an apt update after a local repository has packages added,
which allows single line initializations like this to work:
~/due-manage-local-repo.sh --name refrepo --create-repo \
--add /home/adoyle/debian-signing-test-debs/ --enable-repo
...where local repo refrepo gets created, has the debs under
debian-signing-test-debs added to it, and is apt updated.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 577be74a61daa2623bd25f9a5da7d933f9993388
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sun Jan 24 16:22:59 2021 -0800
Changelog updates
Same maintainer, new email address after Nvidia bought Cumulus
Noted removal of leading / from etc in due.install
commit 87f68d47f89f36f7d217fc245e040de61920bccc
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Jan 23 18:30:11 2021 -0800
Update maintainer email to Alex's current Nvidia, and match changelog.
commit 80d527b4ef8acfdcab461f0712a355c75c5e085c
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Jan 20 15:02:42 2021 -0800
Removed lintian warning comment.
commit a4258ff35993cf474dbd71b6253349db6d09456e
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Jan 20 13:58:29 2021 -0800
Changelog notes move of README.md. Removed leading / from etc in due.install.
commit 604e9e784996b6dbf137ef04edea591ae9a970a6
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Jan 13 17:55:23 2021 +0000
Lintian cleanup: put README.md under /usr/share/doc/due
commit ab76d87b4324b4074207c7ea59797e91c8b2ffea
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Jan 13 17:54:35 2021 +0000
Lintian cleanup: remove . from sentence.
commit 5f70954dc1d0150dd788112b43f912eee205c7dc
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Jan 12 07:47:20 2021 -0800
Release 2.3.0 to Debian. Only specify Debian packaging/release changes.
commit 13b3ebd3fa23e42d9342a71bdebf725b55ab52e0
Merge: a38c377 9dde1de
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Sun Jan 10 14:57:20 2021 -0800
Merge pull request #30 from stappersg/debian/master
New file: debian/.gitignore
commit 9dde1de5189a49cc9dac856771815ac13077ede0
Author: Geert Stappers <stappers@debian.org>
Date: Sat Jan 9 16:48:04 2021 +0100
New file: debian/.gitignore
To tell git it should ignore files generated during
build of the Debian package.
commit a38c377a10d4d4235e8ab3eaf03287faed3be0a6
Merge: 60ce6c6 77055bd
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Sat Jan 2 18:32:30 2021 -0800
Merge pull request #28 from ehdoyle/debian/master
Debian/master
commit 77055bd4951ba44b8edaf9276bb84771b5f354f1
Merge: 0901b55 90ed4d3
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sat Jan 2 18:12:14 2021 -0800
Merge branch 'master' into debian/master
Version 2.3.0
commit 0901b55d55cd89c36245adb6b4ed202441fd148f
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Sun Dec 20 23:52:45 2020 -0500
Build Debian package of DUE
Updates the makefile to build the orig.tar, checks out
debian/master, and lets the user pick a build container.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 60ce6c6a3aa56bae7168005e5ce133b473cf15d4
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Dec 25 07:31:13 2020 -0800
Merge from master
Updated ChangeLog to fix Lintian date errror.
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 65c17b6ba184ee78f0fe50b90fef440e37727209
Merge: 7a3311a 40525ca
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Thu Dec 24 04:58:08 2020 -0800
Merge branch 'master' into debian/master
Updated debian/changelog to version 2.2.0-1
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit 7a3311ac841b18db28580afe9607dc3d40a08b4b
Merge: cc249c6 a87a816
Author: Alex Doyle <adoyle@nvidia.com>
Date: Sat Nov 28 01:05:48 2020 +0000
Version 2.1.0-1 Merge branch 'master' into debian/master
Signed-off-by: Alex Doyle <adoyle@nvidia.com>
commit cc249c6219aa39f9d836a8e2fa628f90f85cf4e5
Merge: 1961e01 825d294
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Sun Sep 27 10:52:40 2020 -0700
Merge pull request #24 from stappersg/debian/master
Source only upload, 1 git repo
commit 825d294820699de0b4eafc98ce2f4f6a42b6506e
Author: Geert Stappers <stappers@debian.org>
Date: Sun Sep 27 10:50:41 2020 +0200
Three times is a charm
And "the best" method of avoiding mistakes, is doing nothing.
commit 298f625dce8204f84df758d03c20d190fbcd5ebf
Author: Geert Stappers <stappers@debian.org>
Date: Sun Sep 27 10:12:13 2020 +0200
Source only upload, 1 git repo
Packages of architecture all do need to be build by the buildds.
That is done by a source only upload. Documented in d/README.source
The extra upload should close the correct Intent To Package.
Only one git repository to maintain.
commit 1961e01f48ddbce5e1bd1718c316600720f64ec7
Merge: 0acb4d4 1c301a8
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Tue Sep 22 07:59:24 2020 -0700
Merge pull request #23 from stappersg/debian/master
Debian/master
commit 1c301a8034d79ab92fa39836368ea42d4d1ab55b
Author: Geert Stappers <stappers@debian.org>
Date: Sat Sep 19 22:46:10 2020 +0200
Set debian uploader
commit 9efe10a25dcdba705c76078f73d8f3062c738615
Author: Geert Stappers <stappers@debian.org>
Date: Sat Sep 19 22:37:39 2020 +0200
debian/control Standard version bumped to 4.5.0
No changes required, as understood
from https://www.debian.org/doc/debian-policy/upgrading-checklist.html
commit 95aafb65e3e9ee43ccd39c076cb6ab916cce0b53
Author: Geert Stappers <stappers@debian.org>
Date: Sat Sep 19 22:25:42 2020 +0200
debian/control section change
https://www.debian.org/doc/debian-policy/ch-archive.html#s-subsections
has a list from which 'devel' is a better section as 'admin'.
Descriptions from https://packages.debian.org/unstable/
admin: Utilities to administer system resources,
manage user accounts, etc.
devel: Development utilities, compilers, development environments,
libraries, etc.
commit 952203490c6689b5a90d302f40f4d42357927e5f
Author: Geert Stappers <stappers@debian.org>
Date: Sat Sep 19 22:22:23 2020 +0200
debian/due.lintian-overrides header changed
commit 3abeda1eb65884da5333f40f183ae40a30272609
Author: Geert Stappers <stappers@debian.org>
Date: Sat Sep 19 22:16:34 2020 +0200
The lintian override further documented.
commit 9b6dbb88d357ac0c92bedbfa690a8a6eee9561da
Author: Geert Stappers <stappers@debian.org>
Date: Thu Sep 17 23:43:48 2020 +0200
No doubt about the lintian override
Checking a bash script with sh is wired.
commit 1a226bf22bb18feb15163a0c9e8c4517e0c60361
Author: Geert Stappers <stappers@debian.org>
Date: Thu Sep 17 23:20:54 2020 +0200
Removed trailing whitespaces
These were found with `lintian --pendantic ../due*.changes`
commit 689ee14f0bcbd1e58d1d5185037a5241375ee351
Author: Geert Stappers <stappers@debian.org>
Date: Thu Sep 17 22:48:37 2020 +0200
debian/control: VCS- debian/master branch aware
Debian package related stuff is in the branch debian/master.
commit 07466cf775b3f0bca41d62cbff837341ac5ec3e1
Author: Geert Stappers <stappers@debian.org>
Date: Thu Sep 17 22:43:16 2020 +0200
new file: debian/watch
Implements the github.com example from uscan manual page.
commit 5bbade28b5ebcf14f56c73913a8fd9b705333b3c
Author: Geert Stappers <stappers@debian.org>
Date: Thu Sep 17 22:38:02 2020 +0200
Debian history begins
Inclusion in Debian was a wish from the begin.
Now is it about to actual happen.
Removing all the notes that don't concern Debian uploads.
commit 0acb4d4fa1a6885cd7e44818fd650277c09e2e10
Merge: 9d77e78 abac30b
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Tue Sep 15 23:12:36 2020 -0700
Merge branch 'master' into debian/master
Pick up arm64 emulation fix
commit 9d77e7839259e096250b53781a9a7cd54d8a1102
Merge: 7d95153 8dbfa3c
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Mon Sep 14 14:36:08 2020 -0700
Merge branch 'master' into debian/master
Update top level README.md
commit 7d951536021b2e4849fcdb2a2a1866b305fb0c81
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Mon Sep 14 09:53:07 2020 -0700
Remove Lintian overrides for libraries with #/bin/bash
As the library files that were exceptions now have # /bin/bash syntax
at the start of files, and a setting for Emacs local variables to
set shell mode at the end, the goal of specifiying what syntax
mode to use when editing has been satisfied, and the changes have
cleaned up the Lintian error, so there is no need to include
an exception.
commit b8bad2bc83dbcf7c250275fd752c56325fe1d1ff
Merge: 50cff63 a7ecf71
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Mon Sep 14 09:50:13 2020 -0700
Merge branch 'master' into debian/master
Pick up Lintian cleanup
commit 50cff630c854d9dbaa55a3fa729c97c1f2a246b1
Author: Geert Stappers <stappers@stappers.nl>
Date: Sun Sep 13 13:37:58 2020 +0200
Removed #!/bin/bash header from libdue
To prevent that it will be used as standalone script.
commit facc0b41e46bb26952246344123b121279d0fd6e
Merge: 743d9b5 040d174
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Mon Sep 14 09:16:21 2020 -0700
Merge pull request #22 from ehdoyle/debian/master
Debian/master : Debian compliance changes. Documentation update
commit 040d174ff86bf1fa1c9b61ab24c1c2acf2e82c00
Merge: 2a7ccbd 9b96d20
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Mon Sep 14 08:07:02 2020 -0700
Merge branch 'master' into debian/master
Pick up initial upload message with commit #961371
commit 2a7ccbd3f7ea0cf1e041abae155853ad526ba616
Merge: 1a00657 4cdbf71
Author: Alex Doyle <adoyle@cumulusnetworks.com>
Date: Fri Sep 11 14:05:26 2020 -0700
Merge branch 'master' into debian/master
Pick up ONIE build environment updates.
commit 1a00657b552bb30bf1723b11050e5fbc825b14e0
Merge: 2410245 e40db4a
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 9 14:40:45 2020 +0000
Merge branch 'master' into debian/master
Pull in Lintian non-maintainer changelog fix
commit 24102459160b883d20dd7a4b84ad555ec3460c4c
Merge: 91dec14 c67617b
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 9 00:58:56 2020 +0000
Merge branch 'master' into debian/master
commit 91dec14e839ee47eea1245ddfff1778442de63b4
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 9 00:46:36 2020 +0000
Lintian cleanup
Add override for shell-script-fails-syntax-check
as the shell is bash.
commit 3e73f8f9dfd8bd4cb2ef7725cdce6e38920aa9da
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 9 00:23:55 2020 +0000
Set debian/master debian/source/format to quilt.
commit edf652d8f82bfa4be25751ea7252b384390f4e35
Merge: 743d9b5 d338e19
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Sep 9 00:18:44 2020 +0000
Merge branch 'master' into debian/master
commit 743d9b5d53df3eaf422fac4c708c76d724d0247e
Merge: 949ea68 56301da
Author: adoyle <adoyle@cumulusnetworks.com>
Date: Fri Aug 28 18:52:22 2020 +0000
Merge branch 'master' into debian/master
Sync up after initial branch restructuring for Debian.
commit 949ea6892d80b75c3ba987867fc5e1fc2a78985d
Merge: 5280f7f c7fbef1
Author: Alex Doyle <44242404+ehdoyle@users.noreply.github.com>
Date: Fri Aug 28 11:19:03 2020 -0700
Merge pull request #17 from ehdoyle/debian/master
Create Debian/master branch for building Debian packages for any distribution
commit c7fbef176ac77c37ff055e661c07f832a3565d50
Merge: 97bb7d9 cca5d50
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Fri Aug 28 10:11:17 2020 -0700
Merge branch 'master' into debian/master
Pick up container label fixes
commit 97bb7d999820d4d29d1c94bab26f6ad61e926a37
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Thu Aug 27 14:11:34 2020 -0700
Fix Lintian warnings
commit 1fd2fabfb73f69ea3f58026755ff0d8298dd70a9
Merge: 4df8e66 50b81cc
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Thu Aug 27 20:57:34 2020 +0000
Merge branch 'master' into debian/master
commit 4df8e668efb71d4fc2ef34ea26ceed98d25ac896
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Thu Aug 27 13:23:38 2020 -0700
Add VCS to debian/control, update runtime dependencies.
commit d52f3ad7c0d0c3e3d18c4ff6d78301e46a49c996
Merge: eeab7a8 8a2e993
Author: Alex Doyle <alexddoyle@gmail.com>
Date: Wed Aug 26 16:28:58 2020 -0700
Merge branch 'master' into debian/master