Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2017-02-27 | fetch: fix --recursive mode to work with pure virtual packages | Timo Teräs | 3 | -2/+16 | |
The virtual package provider still needs to be explicitly given on command line. | |||||
2017-02-27 | db: allow overriding cache location | Timo Teräs | 3 | -7/+13 | |
2017-02-27 | db: allow caching packages on tmpfs | Timo Teräs | 1 | -3/+1 | |
fixes #5616 The original intention was not use unnecessary space on tmpfs e.g. if the cache directory is a mount point, but accidentally left unmounted. But there are valid cases when packages are intentionally wanted to be cached on tmpfs. If caching is not desired, the user can just remove the cache directory. | |||||
2017-02-27 | commit: fix to work if commit_hook.d directory does not exist | Timo Teräs | 1 | -2/+2 | |
2017-02-27 | db: mount /proc for --root if it's not mounted, use mount syscall | Timo Teräs | 2 | -35/+48 | |
musl c-library does not work properly without /proc, and potentially running the scripts need this. | |||||
2017-02-27 | build: recognize 'make check' too | Timo Teräs | 1 | -1/+1 | |
2017-02-16 | commit: log parameter passed to a hook script | Henrik Riomar | 1 | -1/+1 | |
2017-02-15 | add support for pre and post commit hooks | Henrik Riomar | 6 | -32/+77 | |
This allows for instance integration of etckeeper [TT: Reorganized code a bit, and modified to use single directory commit_hooks.d with argument for script of stage.] | |||||
2017-01-17 | Add ppc64le entry in apk defines. | Breno Leitao | 1 | -1/+3 | |
Currently apk only knows about powerpc and ppc64. I am adding support for ppc64le. ppc64le is the based on the ABI v2, which defines the endianess as little, while ppc64 is based on the first 64-bits ABI. | |||||
2017-01-05 | tar: return correct error for short read of tar archive | Timo Teräs | 1 | -3/+8 | |
2016-11-21 | add s390x headers | Tuan M. Hoang | 1 | -0/+2 | |
2016-10-25 | apk-tools-2.6.8v2.6.8 | Timo Teräs | 1 | -1/+1 | |
2016-08-23 | pkg: reset umask for package scripts | Timo Teräs | 1 | -0/+1 | |
It is unreasonable to assume that all package writers would except to reset umask themselves. It's done currently in most packages, but we had first issue of this kind recently, so better just reset umask. | |||||
2016-07-22 | upgrade: improve self upgrade functionality a bit | Timo Teräs | 13 | -15/+166 | |
trigger it only if apk-tools can be upgrade, add test cases | |||||
2016-07-22 | lua: remove unused reg_apk_db_meta_methods | Timo Teräs | 1 | -5/+0 | |
2016-07-08 | detect aarch64 architecture and assign default name for it | Timo Teräs | 1 | -2/+3 | |
2016-07-06 | fix cross-compiling to pick right libfetch.a | Timo Teräs | 1 | -1/+1 | |
2016-06-13 | info: add support for --license | Natanael Copa | 1 | -0/+16 | |
print license with the --license option. | |||||
2016-06-13 | build: allow override compiler/linker flags for external libs | Natanael Copa | 1 | -9/+11 | |
Make it possible to individually override openssl, zlib and libfetch cflags and linker flags. This makes it possible to build apk-tools without having pkg-config installed. | |||||
2016-05-31 | fix info --who-owns to work with relative filenames | Timo Teräs | 1 | -5/+12 | |
fixes #5656 | |||||
2016-05-27 | apk-tools-2.6.7v2.6.7 | Timo Teräs | 1 | -1/+1 | |
2016-05-27 | index: don't return error if --index does not exists | Timo Teräs | 1 | -2/+2 | |
it's only used to speed up things, and having it non-existant is not a fatal error - all included things in index will be passed in command line anyway | |||||
2016-04-19 | apk: don't exit with error code for -V and --print-arch | Timo Teräs | 1 | -0/+2 | |
2016-04-03 | blob: fix sign extension in test_bit | Timo Teräs | 1 | -1/+1 | |
2016-02-16 | fetch: allow enabling --simulate | Timo Teräs | 2 | -2/+6 | |
2016-02-16 | implement fetch --purge | Timo Teräs | 1 | -0/+36 | |
which will delete any .apk package on output directory that were not downloaded by fetch this allows apk fetch to incrementally build repositories for binary images | |||||
2016-02-09 | apk-tools-2.6.6v2.6.6 | Timo Teräs | 1 | -1/+1 | |
2016-02-09 | archive: fix long symlink target names | Timo Teräs | 1 | -2/+2 | |
don't overwrite the link_target if it was found from pax header. ref #5076 | |||||
2015-12-10 | commit: self-conflict error and satisfies printing | Timo Teräs | 3 | -11/+20 | |
- self-conflicts when the exact same version of a name is provided twice is now properly detected and diagnozed - don't print redundant satisfies diagnostic | |||||
2015-12-10 | solver: more debug output for package errors | Timo Teräs | 1 | -7/+11 | |
2015-12-07 | db: add support for --no-cache | Natanael Copa | 3 | -1/+12 | |
Implement --no-cache. The index is read directly from network and not cached. This is useful for docker, where you install a set of packages and directly after purge the cache. (see https://github.com/gliderlabs/docker-alpine/blob/1fc9e59d1689fc4eaf930ec66389fe58062fccec/builder/scripts/apk-install) fixes #4905 | |||||
2015-11-12 | apk-tools-2.6.5v2.6.5 | Timo Teräs | 1 | -1/+1 | |
2015-11-12 | info: fix --installed test of conflicts | Timo Teräs | 1 | -5/+5 | |
2015-11-12 | add armv7 target | Timo Teräs | 1 | -0/+2 | |
2015-11-09 | io, database: preserve [am]time for cached and fetched files | Timo Teräs | 7 | -11/+122 | |
preserve [am]time for all packages and indexes. this fixes the caching error that 'apk update' is after new index is generated, but before the used mirror is synchronized. this caused local apkindex timestamp to be newer than file in mirror, when in fact it was outdated index. this also fixes fetched files to have build timestamp so that files going to .iso or custom images have proper timestamps (rsync with appropriate --modify-window now works) | |||||
2015-11-09 | search: match packages only once | Timo Teräs | 1 | -0/+9 | |
fixes #4770 apk_name_foreach_matching() can matches each package via it's main name and all it's provides. Print matched packages only once. | |||||
2015-10-08 | io: fix posix_fallocate failure handling | Natanael Copa | 1 | -1/+1 | |
We need fall back to a splice buffer if posix_fallocate call fails due to file being a device (eg tty) or a pipe. This fixes apk fetch --stdout. | |||||
2015-10-08 | blob: Add missing header | Andrew Wilcox | 1 | -0/+1 | |
2015-09-11 | apk-tools-2.6.4v2.6.4 | Timo Teräs | 1 | -1/+1 | |
2015-09-03 | db: stop extract more files if disk is full | Timo Teräs | 1 | -2/+4 | |
2015-09-03 | io: use posix_fallocate to allocate disk space | Timo Teräs | 1 | -3/+8 | |
ftruncate does not allocate it, and subsequent access to mmaped file will result in SIGBUS. this fixes to properly report disk full errors. | |||||
2015-07-03 | apk-tools-2.6.3v2.6.3 | Timo Teräs | 1 | -1/+1 | |
2015-07-02 | relocate lock file to /lib/apk/db | Timo Teräs | 1 | -3/+2 | |
the problem is that var/lock is on root installs symlink to /run/lock (on tmpfs) and does not exist if doing chroot() to that root. fixes apk to work when chrooted to existing rootfs install. | |||||
2015-06-26 | remove db dir entry properly, so it can be recreated properly if needed | Timo Teräs | 1 | -7/+7 | |
fixes #4261 | |||||
2015-06-12 | apk-tools-2.6.2v2.6.2 | Timo Teräs | 1 | -1/+1 | |
2015-06-12 | add simple stats applet | Timo Teräs | 3 | -2/+67 | |
2015-06-12 | free atoms when VALGRIND is defined | Timo Teräs | 1 | -0/+10 | |
2015-06-12 | for completeness free all arrays before exit | Timo Teräs | 2 | -0/+2 | |
so valgrind does not report any leaks | |||||
2015-06-12 | fix bstream_from_fd to use mmap when available | Timo Teräs | 1 | -1/+2 | |
2015-06-12 | fix search --has-origin to not leak memory | Timo Teräs | 1 | -1/+1 | |