Kevin Olbrich
b61d3f089c
fix (broken) duplicate "if" for release version
2021-07-07 17:05:13 +02:00
Kevin Olbrich
2b079decd0
fix bullseye-security repository
...
https://wiki.debian.org/NewInBullseye
2021-07-07 17:01:31 +02:00
Andrew Bogott
bfe2d1f3ba
flake8 fixes: correct some indentations
2019-03-05 16:36:11 +00:00
Anders Ingemann
7e6a7d4267
Merge pull request #471 from CMeza99/pylint+imports
...
Pylint code clean up
2018-06-07 22:09:33 +02:00
Carlos Meza
7045d11ed6
set permissions for apt gpg pub keys
2018-04-27 14:44:11 -07:00
Carlos Meza
1ec736038c
pylint E1608(old-octal-literal)
2018-04-09 22:27:43 -07:00
Carlos Meza
d86f9e94b5
pylint W0404(reimported)
2018-02-25 08:37:24 +00:00
Carlos Meza
6e183914ac
fix pylint W0403(relative-import)
2018-02-25 04:12:24 +00:00
Alex Hegedus
c0350e7c8a
Added security field to packages.
2017-11-27 18:48:57 -08:00
Anders Ingemann
85a0e6a191
Make trusted-keys paths in manifest relative to manifest
2017-07-14 18:25:07 +02:00
Zach Marano
7066efe9d1
Add buster as testing and promote stretch to stable, jessie to oldstable. Stretch release to stable is June 17.
2017-06-16 12:31:58 -07:00
Zach Marano
84f258e748
Fixes to create stretch images. Add stretch manifest for GCE.
2017-01-10 13:30:31 -08:00
Anders Ingemann
ee18fc84ca
Fix some task ordering warnings
2016-12-01 15:59:51 +01:00
Nicolas Braud-Santoni
58a7011348
apt: Validate trusted keys
...
This checks that the specified keyrings exist, and are valid.
Closes #323
2016-09-12 01:13:39 +02:00
Nicolas Braud-Santoni
a15c9ea309
tasks/apt: Don't use security.debian.org for obsolete releases
2016-08-09 22:34:34 +02:00
Anders Ingemann
d222b267ce
Also disable autostart for daemons started through upstart
2016-06-07 22:02:40 +02:00
The Fox in the Shell
aecb89aab5
Indent with 4 spaces
2016-03-15 18:01:41 +01:00
The Fox in the Shell
4cc9ec0d1b
Add the 'apt.conf.d' manifest subsection
2016-03-15 18:01:41 +01:00
Anders Ingemann
f88a1b0af5
Merge branch 'development'
2015-05-02 22:33:04 +02:00
Anders Ingemann
1f6f23e680
Fix #104 : Don't verify default target when adding packages
2015-04-29 23:51:55 +02:00
Anders Ingemann
f1ce582994
Compare with "unstable" instead of "sid"
2015-04-29 23:31:09 +02:00
Anders Ingemann
71c7d445ad
Fix #217 , by introducing class for comparison of releases
2015-04-29 21:38:06 +02:00
Anders Ingemann
ac7e32d35e
Preserve stacktraces when reraising exceptions
2015-04-16 22:21:43 +02:00
Jonh Wendell
1290694f9a
Add the manifest "include-source-type" key for packages object
...
It controls whether to include the 'deb-src' lines in image's
source.list.
Currently they are always included. This patch changes this
behavior by not including them by default; the user must set
this new config to true in order to include them.
This saves a bit of bandwidth in default installations. Also,
the use of src packages is not so usual in ordinary installations.
2015-03-03 19:39:58 -03:00
Rick Wright
96a1683c26
Fix task ordering to better support customizations
...
This ensures that preferences are written before apt update and also ensures
that in GCE the backports are added to the sources before the provider-specific
SetPackageRepositories happens.
Change-Id: I3c85f922c49c2a6fbd3c0f2bad1072eff0d098c8
2014-09-08 11:45:55 -07:00
Tiago Ilieve
cc95f146b1
Add AddDefaultSources as AddBackports predecessor
2014-07-13 02:57:37 -03:00
Tiago Ilieve
8f43ee1dc7
Move AddBackports
to common.tasks.apt
...
The `AddBackports` task is needed by many different plugins, so is
better if it is available as a common task.
This closes #96 .
2014-07-12 14:42:52 -03:00
Jan Brauer
7371c1636b
Incorporate feedback
2014-05-28 21:19:15 +02:00
Jan Brauer
18a85c157f
AptUpdate has to explicitly depend on WritePreferences
2014-05-28 09:55:09 +02:00
Anders Ingemann
7fe72feb2c
Add --assume-yes to apt-get autoremove
2014-05-18 22:27:10 +02:00
Anders Ingemann
16b394d135
Fix fetching of packages.components
...
Add update from master
2014-05-08 22:58:29 +02:00
Anders Ingemann
f3d633780f
Use string concatenation instead of format()
...
String concatenation can at times be easier to read that format().
One should choose whichever approach is more readable.
2014-05-04 13:41:15 +02:00
Anders Ingemann
b25e607388
Move "sections" setting into "packages" section.
...
Rename it to "components", which is the real name for it (see http://manpages.debian.org/cgi-bin/man.cgi?query=sources.list ).
2014-05-03 21:57:12 +02:00
Anders Ingemann
69a76f2597
Fix PEP8 errors
2014-04-10 00:27:37 +02:00
Anders Ingemann
6cafdbee14
Merge pull request #33 from JamesBromberger/master
...
Manifest, deb Descurity in apt sources.list
2014-04-08 15:37:52 +02:00
James Bromberger
b034ca8ed1
Correct merge/rebase. Fix handling of console to hvc0. Try and pre-seed cloud-init.
2014-04-08 10:09:02 +00:00
James Bromberger
334ef9209b
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
bootstrapvz/common/tasks/apt.py
2014-04-05 09:38:21 +00:00
Jan Brauer
8d399dade5
Add support for adding APT preferences
2014-04-04 12:22:46 +02:00
Anders Ingemann
bbb06d717e
Properly fix imports and make bootstrapvz work like a package
2014-04-02 21:32:10 +02:00
Anders Ingemann
be96e4c13f
Move code into proper package folder
2014-04-02 21:26:13 +02:00