Koha-clms/debian
Aleisha Amohia 0119429ac5
Bug 36435: Catch harmless errors in koha-dump
tar has exit status 1 if any file has changed while being read, which is likely to happen as the logfiles are included. this patch will catch these harmless errors so that koha-dump will still return a success code.

Test plan:
1. Create a number of backups and edit their modify time to being older than 2 days
2. run the koha-run-backups script and try and write to one of the files it includes while it's being backed up (you'll trigger a warning from tar saying the file changed as it was being read)
3. verify that the older backups are not being cleaned up and deleted despite new backups being made.
4. Apply this patch
5. Complete steps 1-2 again and then go and look to see if the older backups are being deleted.

Sponsored-by: Catalyst IT
Signed-off-by: David Nind <david@davidnind.com>
Co-authored-by: Michał Kula <148193449+mkibp@users.noreply.github.com>
Signed-off-by: Michał Kula <148193449+mkibp@users.noreply.github.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-10-11 11:13:49 +02:00
..
docs Bug 35954: Add --status to koha-plack 2024-05-03 19:31:56 +02:00
scripts Bug 36435: Catch harmless errors in koha-dump 2024-10-11 11:13:49 +02:00
source
…
templates Bug 37087: Add TCP keepalive support to SIP server 2024-08-20 15:32:47 +02:00
README.build
…
bd-to-depends
…
build-git-snapshot Bug 33629: allow pbuilder to use network via build-git-snapshot 2023-05-05 09:13:15 -03:00
changelog
…
clean
…
compat
…
control Bug 36788: Update debian/control file 2024-05-06 15:04:29 +02:00
control.in Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
copyright
…
koha-common.README.Debian
…
koha-common.bash-completion
…
koha-common.config
…
koha-common.cron.d
…
koha-common.cron.daily
…
koha-common.cron.hourly
…
koha-common.cron.monthly
…
koha-common.default
…
koha-common.dirs
…
koha-common.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-common.init
…
koha-common.install
…
koha-common.links
…
koha-common.logrotate
…
koha-common.postinst Bug 35242: Force memcache restart after koha upgrade 2023-11-03 12:04:44 -03:00
koha-common.preinst
…
koha-common.service Bug 33371: Add [Install] section to koha-common.service 2023-06-01 11:55:28 -03:00
koha-common.templates
…
koha-core.bash-completion
…
koha-core.config
…
koha-core.default
…
koha-core.dirs
…
koha-core.docs Bug 35713: Remove outdated debian/docs/LEEME.Debian file 2024-01-11 12:10:45 +01:00
koha-core.init
…
koha-core.install
…
koha-core.links
…
koha-core.logrotate
…
koha-core.postinst
…
koha-core.preinst
…
koha-core.templates
…
koha-full.postinst
…
koha-post-install-setup
…
koha.README.Debian
…
koha.apache-ports
…
koha.config
…
koha.dirs
…
koha.install
…
koha.postinst Bug 25691: Replace link to non-existing README with wiki link 2024-01-16 12:06:08 +01:00
koha.postrm
…
koha.prerm
…
list-deps
…
rules
…
unavailable.html
…
update-control
…

README.build

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.