- Feb 09, 2016
-
-
Timo Teräs authored
-
Timo Teräs authored
don't overwrite the link_target if it was found from pax header. ref #5076
-
- Dec 10, 2015
-
-
Timo Teräs authored
- 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
-
Timo Teräs authored
-
- Dec 07, 2015
-
-
Natanael Copa authored
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
-
- Nov 12, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
- Nov 09, 2015
-
-
Timo Teräs authored
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)
-
Timo Teräs authored
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.
-
- Oct 08, 2015
-
-
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.
-
-
- Sep 11, 2015
-
-
Timo Teräs authored
-
- Sep 03, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
ftruncate does not allocate it, and subsequent access to mmaped file will result in SIGBUS. this fixes to properly report disk full errors.
-
- Jul 03, 2015
-
-
Timo Teräs authored
-
- Jul 02, 2015
-
-
Timo Teräs authored
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.
-
- Jun 26, 2015
-
-
Timo Teräs authored
fixes #4261
-
- Jun 12, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
so valgrind does not report any leaks
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
it's a hot path for decoding checksums in fdb
-
- Jun 11, 2015
-
-
Timo Teräs authored
it is more efficient than the previously used djb hash
-
Timo Teräs authored
resolve reverse dependencies after all packages have been loaded, and avoid traversing the reverse name lists. now that we use automatic virtual packages (soname, pkg-config, etc.) the reverse dependency chains can become considerable longer than what it was when the rdependency construction code was originally written.
-
- Jun 10, 2015
-
-
- Jun 03, 2015
-
-
Timo Teräs authored
-
- Jun 01, 2015
-
-
Timo Teräs authored
commit 941fc1b1 uncovered a bug that directory permissions are not updated properly at db load time if it's the default acl.
-
- May 26, 2015
-
-
Timo Teräs authored
-
In practice this should fix to e.g. not wipe out /etc/apk/world if final flush to /etc/apk/world.new fails. This was prompted by an incident the other day where I ran the root partition of an Alpine box out of space using 'apk add', and apk helpfully wiped the contents of /etc/apk/world at the same time. It might be tricky to try to reproduce exactly the same failure, but from an examination of the code, setting 'rc' before the final call to fdo_flush rather than after is one possible cause of this behavior. (If the entire contents of /etc/apk/world.new are buffered, and all get written out in the final fdo_flush call, and that call fails, fdo_close will still happily rename /etc/apk/world.new to /etc/apk/world.)
-
- Apr 24, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
the security implications are not as high as compared to regular tar/unzip archiver. this is because you are anyway trusting the package to install files anywhere in the filesystem. this serves rather as a sanity to check against errors in created package.
-
Timo Teräs authored
the allows update-kernel script to work on tmpfs install before cache is configured.
-
Timo Teräs authored
forgot to --amend my changes
-
- Apr 22, 2015
-
-
fetch_maperror() translates error codes returned by libfetch to our error codes. Handle those in apk_error_str(), returning error messages which advise the user of the most likely fix. A custom error code, EAPKSTALEINDEX, has been added for cases where retrieving a package fails due to a HTTP error 404 or similar. [TimoT: add also EAPKBADURL, as well as organize a bit better where the EAPKSTALEINDEX is generated]
-
According to the C standards, uint32_t is defined in stdint.h. Presumably apk is usually built against C libraries where stdint.h is indirectly included through another header file, but this isn't the case with the version of glibc which I am using.
-
- Apr 17, 2015
-
-
Timo Teräs authored
-
Timo Teräs authored
-