| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
fixes #8161
(cherry picked from commit 2da67940d50865d206f6a79165ce7b3de5a90de3)
|
| |
|
|
|
|
|
|
|
|
|
| |
This unloads --force as several of the things are really not wanted
together. E.g. --force-refresh is a lot different from --force-broken-world
and doing --force to get the other might introduce unwanted behaviour.
--force is still kept for backwards compatibility and it enables
most things --force was used for.
(cherry picked from commit 039ff3bd466819909a5295a43e40947a9e0b6c16)
|
| |
|
|
|
|
|
| |
This flag enables a group of options used during initramfs tmpfs
initial install.
(cherry picked from commit e0eff8742f342c2c23e1d7ee081f3afd08cb5169)
|
| |
|
|
|
|
|
|
|
|
| |
This flag skips running hook scripts
This flag *must* be used during initramfs tmpfs initial install.
The reason that this new flag is needed is that the hooks will currently
always fail as musl and /bin/sh is missing at this stage on diskless.
(cherry picked from commit 23cb10477537a2bbf40ac06a61046f75f2b160c5)
|
| |
|
|
|
|
|
|
|
|
|
| |
This change just changes to keep deleted directory items in
the hash with ref count zero and modified flag set. Those entries
are reused when needed. The side effect is that fire_triggers()
will now see those removed direcotries and reports them. Other
enumerators of the directories hash are protected to skip removed
directories when appropriate.
(cherry picked from commit b0fcc56f221e749271bb2aa13e151699e62b09ac)
|
| |
|
|
| |
(cherry picked from commit 667cb6bca799e58f58f22ad868761c022c6600dc)
|
| |
|
|
|
|
|
|
|
|
|
| |
In discovery phase, there was logic to not process packages
multiple times. However, that logic failed to account the package's
depth and install_if state for the name being processed. This
caused install_if processing failure in certain topologies of the
dependency graph. Adds also a test case that should catch this
issue reliably.
(cherry picked from commit 8e7fd3e06f300bd76b659db1164da1ee12f16870)
|
| |
|
|
| |
(cherry picked from commit 97d8aab0c2e53ee82589a591637028294a6ab449)
|
| |
|
|
|
|
|
|
|
|
|
| |
this fixes package selection when a 'real' package exists, but would
need to be provided by another package with 'virtual provides'.
In current package database this can happen with postgresql which is
also provided by postgresql-bdr. Normally postgresql would be satisfied
by postgresql, but if any package depends on postgresql-bdr and there's
no versioned dependency on postgresql this will help apk figure out
that postgresql-bdr should be used.
|
| | |
|
| |
|
|
|
|
| |
dbopts->root may be null; use db->root instead
fixes #7162
|
| | |
|
| |
|
|
|
| |
this is a regression introduced in commit 349c61c9
("add support for pre and post commit hooks")
|
| | |
|
| |
|
|
| |
based on github pull request #5
|
| |
|
|
| |
found by clang
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
APKs have been created with GNU tar so far, which uses the
GNU extensions for long names. In order to increase portability
support the standard header's 'prefix' portion in case
the GNU extensions are not present.
|
| |
|
|
|
|
|
| |
Depending how the directory entries are ordered, the cached dir
instance might not have been updated correctly. This has not been
a problem as the entries have been ordered, but is now triggered
on ppc.
|
| | |
|
| |
|
|
|
| |
This reduces function pointers in heap, and unifies how the
io functions are called.
|
| |
|
|
|
|
|
| |
Detect properly if the file stream gets an error during these
read operations.
Reported-by: Ariel Zelivansky from Twistlock
|
| |
|
|
|
|
|
|
|
|
|
| |
The value from tar header is unsigned int; keep it casted to
unsigned int and size_t instead of (signed) int, otherwise
the comparisons fail to do their job properly. Additionally check
entry.size against SSIZE_MAX so the rounding up later on is
guaranteed to not overflow.
Fixes CVE-2017-9669 and CVE-2017-9671.
Reported-by: Ariel Zelivansky from Twistlock
|
| |
|
|
| |
This reverts commit ee5ce7284aef8679fabcf728dd5bd5a17c965798.
|
| |
|
|
|
|
|
|
|
|
|
| |
- rework the progress bar a little bit, basically removing the [ and ] to give a more
modern aesthetic.
- if utf-8 locale is enabled, use unicode codepoint 0x2588 instead of # to give the
progress bar a nicer look.
- if APK_PROGRESS_CHAR environment variable is defined, use the character defined there
for the progress bar.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
This is useful for requirements such as: python3=~3.6, which would match python3-3.6.[0-9].
This implementation should in theory be backwards compatible with the implementation in Adelie.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Introduced in commit c0f2d88f342f4d185f3991f98b79ab61a03896e4.
fstatfs is needed to inspect the mount flags.
|
| | |
|
| |
|
|
| |
cleans up procfs mount
|
| | |
|
| |
|
|
| |
being replaced by a provider
|
| |
|
|
|
|
|
|
|
| |
Fixes regression from commit 5ba27c90 which caused stdio
buffering issues now that output is split to stderr/stdout.
See also commit 51737872 for some of the history.
Fixes #7107
|
| | |
|
| |
|
|
| |
rooted by a virtual
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
On some (probably buggy) terminals, printing up to the rightmost column
may end up with the terminal issueing a newline (probably due to putting
the cursor at the next char -> new line).
Some other progress bars avoid it by not reaching the rightmost column.
Shorten the bar width from term-width - 7 to -8 (the 7 are "xxx% []").
|
| | |
|
| |
|
|
| |
This fixes regression introduced by commit 72b878e655
|
| |
|
|
| |
this fixes build on ppc64le
|
| | |
|