]>
git.proxmox.com Git - dab.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Stoiko Ivanov [Wed, 14 Jul 2021 16:52:04 +0000 (18:52 +0200)]
fix compressor loop-order
commit
dbac106eb6e3cff405e57c0bb6a6dbe3cf307c52 introduced a flaw in
the logic - once a file is downloaded the 'last;' statement exited the
inner loop iterating over the compoentens instead of the outer one
iterating over the compressors.
since both do not inherently depend on each other simply swap them.
noticed while trying to build a pmg-template in a clean environment
with full repository configuration (before the tests worked due to
leftover files in the infodir)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 15:42:53 +0000 (17:42 +0200)]
buildsys: change upload dist to bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 15:41:58 +0000 (17:41 +0200)]
bump version to 3.2-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 14 Jul 2021 15:41:09 +0000 (17:41 +0200)]
add preliminary support for Ubuntu 21.10 Impish Indri
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Wed, 14 Jul 2021 14:49:25 +0000 (16:49 +0200)]
try all available compressors for Packages
Some repositories (e.g. debian-security) only offer .xz compressed
Packages, others (e.g. promox repositories) only .gz compressed ones.
Make the compressors an array and try them in order until successful
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 12:50:57 +0000 (14:50 +0200)]
bump version to 3.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 12:49:05 +0000 (14:49 +0200)]
debian 11: use short ostype
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 12:19:35 +0000 (14:19 +0200)]
zstd: use higher level by default and add a max option
levle 9 is what Arch Linux uses for their packages, so it's a widely
used level which is a good default tradeoff for such images.
Add also zstd-max level, which uses the highest default level which
is still highly efficient on decompression, i.e., while compression
needs more time and resources the decompression doesn't.
Some number for a Debian 11 minimal template from 2021-05-06:
uncomp. 321M 100.0%
gzip 116M 36.1%
zstd 0 106M 33.0%
zstd 9 98M 30.5%
zstd 19 83M 26.8%
So, the still cheap to extract zstd lvl19 need 33M less than the
current default gzip, the access log from our german cdn server show
about 490 successful access to our system images per day, that would
mean that changes saves `490 download/day * 30.4375 days/month * 33M
saved/download` =~ 490 G/month traffic for us and for users.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 May 2021 12:18:53 +0000 (14:18 +0200)]
support Devuan 4 and 5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sun, 25 Apr 2021 15:36:10 +0000 (17:36 +0200)]
add support for Ubuntu 21.04 Hirsute
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 16 Nov 2020 14:17:38 +0000 (15:17 +0100)]
bump version to 3.1-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 16 Nov 2020 14:15:57 +0000 (15:15 +0100)]
add basic support for Ubuntu 20.10 Groovy Gorilla
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 25 Aug 2020 19:01:04 +0000 (21:01 +0200)]
allow compressing final archive with zstd
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 25 Aug 2020 19:00:44 +0000 (21:00 +0200)]
debian 10 fixup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Mon, 24 Aug 2020 09:09:15 +0000 (11:09 +0200)]
add help and output all available commands
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 25 Apr 2020 14:54:54 +0000 (16:54 +0200)]
mask sys-kernel-config.mount: fails and makes no sense in CT
If it somehow really makes sense a user can just unmask it again,
this is just setting the default, nothing permanent
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Sat, 25 Apr 2020 14:54:20 +0000 (16:54 +0200)]
unify similar branch
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 13 Mar 2020 15:05:26 +0000 (16:05 +0100)]
adapt default 'source' repo urls for bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 13 Mar 2020 15:02:08 +0000 (16:02 +0100)]
handle .xz compressed Packages file from Bullseye
the security one did not have a fallback .gz, so just adapt already.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 21 Feb 2020 10:50:31 +0000 (11:50 +0100)]
bump version to 3.1-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 21 Feb 2020 12:00:41 +0000 (13:00 +0100)]
finalize: output also restuling archive size for convenience
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 21 Feb 2020 10:42:52 +0000 (11:42 +0100)]
add support for upcomming Ubuntu 20.04 "Focal Fossa"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 21 Feb 2020 10:42:31 +0000 (11:42 +0100)]
add experimental support for upcomming Debian Bullseye
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Fri, 21 Feb 2020 10:01:51 +0000 (11:01 +0100)]
move supported suites out to hash
hopefully we can extract some features to this hash in the future so
that the other spaghetti code with big if/else chains in the future
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Stoiko Ivanov [Thu, 20 Feb 2020 18:25:48 +0000 (19:25 +0100)]
raise postifx main.cf compatibility_level to 2
otherwise mail received via TCP (localhost port 25) is not accepted, since
there is no default smptd_relay_restriction set, which would make the system an
open relay.
in compatibility_level 2 the default is sensibly set to:
'permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination'
reported via the pve-user list:
https://pve.proxmox.com/pipermail/pve-user/2020-February/171368.html
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Thomas Lamprecht [Wed, 2 Oct 2019 15:25:14 +0000 (17:25 +0200)]
support Ubuntu 19.10 Eoan
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 23 May 2019 16:18:23 +0000 (18:18 +0200)]
buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 23 May 2019 15:52:05 +0000 (17:52 +0200)]
bump version to 3.1-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 23 May 2019 15:51:58 +0000 (17:51 +0200)]
buildsys: improve make clean
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 23 May 2019 15:50:04 +0000 (17:50 +0200)]
buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 20 Mar 2019 15:36:18 +0000 (16:36 +0100)]
bump version to 3.0-12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 20 Mar 2019 15:24:42 +0000 (16:24 +0100)]
move from dpkgdeb to buildpackage and add dsc target
can surely be improved, but it's a start
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 19 Mar 2019 10:18:33 +0000 (11:18 +0100)]
add support for Ubuntu 19.04 Disco Dingo
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Tue, 19 Mar 2019 10:18:16 +0000 (11:18 +0100)]
add support for Debian 10 Buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Mon, 22 Oct 2018 08:16:07 +0000 (10:16 +0200)]
bump version to 3.0-11
Thomas Lamprecht [Wed, 17 Oct 2018 09:10:19 +0000 (11:10 +0200)]
add support for Ubuntu 18.10 (Cosmic Cuttlefish)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Mon, 23 Apr 2018 09:07:46 +0000 (11:07 +0200)]
bump version to 3.0-10
Dietmar Maurer [Mon, 23 Apr 2018 08:46:18 +0000 (10:46 +0200)]
add support for ubuntu 18.04 (bionic beaver)
Dietmar Maurer [Thu, 5 Apr 2018 08:07:42 +0000 (10:07 +0200)]
bump version to 3.0-9
Thomas Lamprecht [Thu, 5 Apr 2018 07:53:21 +0000 (09:53 +0200)]
use new config properties for sample lxc config
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Thu, 5 Apr 2018 07:29:26 +0000 (09:29 +0200)]
correctly check for devuan ascii suite
commit
b5583827a5dac915c61fcc539c15b20a380b0b29 introduced
support for Devuan 1 and 2 (ascii), the check for ascii wasn't
correct and thus always evaluated to true.
Reported-by: Joe Burleson [1]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
[1]: https://forum.proxmox.com/threads/dab-version-3-0-8-ubuntu-16-04-issues.42685/
Dietmar Maurer [Fri, 16 Feb 2018 04:59:12 +0000 (05:59 +0100)]
bump version toö 3.0-8
Thomas Lamprecht [Thu, 15 Feb 2018 12:16:34 +0000 (13:16 +0100)]
close #1668: add support for devuan jessie and ascii
Use devuan-jessie as suite name to avoid conflict.
Allow both versions for Devuan ascii.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 12 Dec 2017 11:01:15 +0000 (12:01 +0100)]
bump version to 3.0-7
Thomas Lamprecht [Mon, 4 Dec 2017 12:32:32 +0000 (13:32 +0100)]
add support for Ubuntu 17.10 (artful)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Mon, 26 Jun 2017 08:11:50 +0000 (10:11 +0200)]
bump version to 3.0-6
Dietmar Maurer [Mon, 26 Jun 2017 07:58:53 +0000 (09:58 +0200)]
closure: fix package ordering
We cannot use perl 'keys', because that return a list with random
order. Some packages use preinst scripts (run at unpack time), so
package order is important.
(cherry picked from commit
a922f88f4abeea8ff9d268ea2bd9dcadab9b98e2 )
Dietmar Maurer [Mon, 26 Jun 2017 05:43:31 +0000 (07:43 +0200)]
bump version to 3.0-5
Dietmar Maurer [Mon, 26 Jun 2017 05:42:09 +0000 (07:42 +0200)]
Revert "trusty: add hack to avoid util-linux preinst bug"
This reverts commit
0aa30d54c6d527ab0393cd8a0aa8cf9b90ab3a76 .
Ubuntu fixed this upstream. Seems sysv-rc now generates
/etc/init.d/.legacy-bootordering to avoid calling insserv.
Dietmar Maurer [Mon, 26 Jun 2017 04:48:33 +0000 (06:48 +0200)]
bump version to 3.0-4
Dietmar Maurer [Mon, 26 Jun 2017 04:37:57 +0000 (06:37 +0200)]
trusty: add hack to avoid util-linux preinst bug
Dietmar Maurer [Tue, 2 May 2017 04:28:47 +0000 (06:28 +0200)]
bump version to 3.0-3
Dietmar Maurer [Tue, 2 May 2017 04:25:21 +0000 (06:25 +0200)]
add support for Ubuntu 17.04 (zesty)
Dietmar Maurer [Thu, 16 Mar 2017 15:36:55 +0000 (16:36 +0100)]
bump version to 3.0-2
Dietmar Maurer [Thu, 16 Mar 2017 15:35:26 +0000 (16:35 +0100)]
add support for Debian stretch
Dietmar Maurer [Thu, 16 Mar 2017 10:34:34 +0000 (11:34 +0100)]
bump version to 3.0-1 for Debian Stretch
Dietmar Maurer [Thu, 16 Mar 2017 10:32:51 +0000 (11:32 +0100)]
Makefile: use "--product pve --dist stretch" for upload target
Fabian Grünbichler [Tue, 14 Feb 2017 07:40:32 +0000 (08:40 +0100)]
buildsys: use fakeroot for dpkg-deb
Fabian Grünbichler [Tue, 14 Feb 2017 07:40:23 +0000 (08:40 +0100)]
buildsys: job safety
Fabian Grünbichler [Tue, 14 Feb 2017 07:40:13 +0000 (08:40 +0100)]
buildsys: use gzip -n
Dietmar Maurer [Wed, 2 Nov 2016 07:42:43 +0000 (08:42 +0100)]
use new repoman for upload target
Dietmar Maurer [Wed, 2 Nov 2016 07:21:00 +0000 (08:21 +0100)]
bump version to 2.0-7
Dietmar Maurer [Wed, 2 Nov 2016 07:19:35 +0000 (08:19 +0100)]
support ubuntu 16.10 (Yakkety)
Wolfgang Bumiller [Thu, 18 Aug 2016 12:13:08 +0000 (14:13 +0200)]
fix version bump to 2.0-6
Wolfgang Bumiller [Thu, 18 Aug 2016 12:06:42 +0000 (14:06 +0200)]
bump version to 2.0-6
Wolfgang Bumiller [Thu, 18 Aug 2016 12:05:41 +0000 (14:05 +0200)]
use --rcfile to work with newer lxc
Wolfgang Bumiller [Fri, 12 Aug 2016 07:49:24 +0000 (09:49 +0200)]
Fix #1081: fix defenv quoting
Dietmar Maurer [Sat, 30 Apr 2016 14:55:50 +0000 (16:55 +0200)]
bump version to 2.0-5
Andreas Steinel [Thu, 14 Apr 2016 18:01:50 +0000 (20:01 +0200)]
Fixes missing dependency
If you only install @dab@ you'll end up with this error:
root@dab-pve-builder:/# dab
Can't locate UUID.pm in @INC (you may need to install the UUID module)
Installing @libuuid-perl@ will fix it.
Dietmar Maurer [Wed, 20 Apr 2016 09:31:16 +0000 (11:31 +0200)]
set RELEASE=4.1
Dietmar Maurer [Wed, 20 Apr 2016 09:14:47 +0000 (11:14 +0200)]
add support for ubuntu xenial, bump version to 2.0-4
Dietmar Maurer [Sat, 31 Oct 2015 16:27:23 +0000 (17:27 +0100)]
ubuntu vivid/wily: exclude libmodule-build-perl
Dietmar Maurer [Sat, 31 Oct 2015 16:16:53 +0000 (17:16 +0100)]
do not write /etc/network/interfaces for ubuntu wily
Dietmar Maurer [Sat, 31 Oct 2015 16:04:04 +0000 (17:04 +0100)]
bump version to 2.0-3
Dietmar Maurer [Sat, 31 Oct 2015 16:02:27 +0000 (17:02 +0100)]
add support for ubuntu wily (15.10)
Dietmar Maurer [Sat, 24 Oct 2015 13:57:51 +0000 (15:57 +0200)]
install manual page in pod format
Dietmar Maurer [Sat, 24 Oct 2015 13:51:28 +0000 (15:51 +0200)]
only mention newer suite names in manual page
Dietmar Maurer [Tue, 30 Jun 2015 08:33:24 +0000 (10:33 +0200)]
bump version to 2.0-2
Dietmar Maurer [Tue, 30 Jun 2015 08:30:08 +0000 (10:30 +0200)]
add support for ubuntu precise
Dietmar Maurer [Mon, 29 Jun 2015 05:53:10 +0000 (07:53 +0200)]
do not regenerate sshd host keys
This needs to be done when we create/clone a container.
Dietmar Maurer [Wed, 24 Jun 2015 15:48:55 +0000 (17:48 +0200)]
add support for ubuntu trusty and vivid
Dietmar Maurer [Wed, 24 Jun 2015 07:52:13 +0000 (09:52 +0200)]
bump version to 2.0-1
Dietmar Maurer [Tue, 23 Jun 2015 10:38:41 +0000 (12:38 +0200)]
depend on lxc-pve instead of openvz, use LXC instead of openvz
Dietmar Maurer [Thu, 2 Oct 2014 07:19:01 +0000 (09:19 +0200)]
set RELEASE=3.3
Dietmar Maurer [Thu, 2 Oct 2014 06:53:26 +0000 (08:53 +0200)]
fix error in default debian mysql my.cnf for jessie
Dietmar Maurer [Thu, 2 Oct 2014 05:47:13 +0000 (07:47 +0200)]
fix mysql bootstrap for jessie
Dietmar Maurer [Tue, 30 Sep 2014 09:07:25 +0000 (11:07 +0200)]
add support for Debian jessie
Dietmar Maurer [Thu, 22 Aug 2013 10:07:17 +0000 (12:07 +0200)]
add reference to git version
Dietmar Maurer [Mon, 22 Jul 2013 04:40:39 +0000 (06:40 +0200)]
use correct openvz config directory for pve
Dietmar Maurer [Mon, 22 Jul 2013 04:33:08 +0000 (06:33 +0200)]
bump version to 1.2-6
Dietmar Maurer [Mon, 22 Jul 2013 04:31:14 +0000 (06:31 +0200)]
ssh_gen_host_keys: generate ecdsa keys
Dietmar Maurer [Thu, 21 Mar 2013 06:06:55 +0000 (07:06 +0100)]
set RELEASE=3.0
needed for internal repository updates
Dietmar Maurer [Fri, 11 Jan 2013 07:48:19 +0000 (08:48 +0100)]
include wheezy-updates
Dietmar Maurer [Mon, 31 Dec 2012 09:16:43 +0000 (10:16 +0100)]
improve init.log: start one dummy child to avoid that we get killed
Dietmar Maurer [Mon, 22 Oct 2012 09:32:08 +0000 (11:32 +0200)]
spawn getty on /dev/tty1
Dietmar Maurer [Fri, 13 Jul 2012 08:22:17 +0000 (10:22 +0200)]
do not use wheeze-updates
Seems that repository does not exist currently.
Dietmar Maurer [Fri, 13 Jul 2012 04:43:22 +0000 (06:43 +0200)]
add wheezy support (patch from e100 + minor fixes)
Dietmar Maurer [Tue, 10 Apr 2012 09:22:51 +0000 (11:22 +0200)]
add upload and dinstall target
We use this internally for our build environment.
Dietmar Maurer [Tue, 10 Apr 2012 09:16:48 +0000 (11:16 +0200)]
bump version to 1.2-1 and fix copyright
Dietmar Maurer [Tue, 10 Apr 2012 08:50:58 +0000 (10:50 +0200)]
initial import from internal svn repository