- Jun 14, 2010
-
-
Natanael Copa authored
Make the libapk and lua module optional at buildtime and off by default. This is because enabling libapk requires that mkinitfs also copies the libapk.so or the initramfs will not work. To build libapk: make LIBAPK=yes To build lua module (will enable LIBAPK=yes): make LUAAPK To link apk to libapk (will enable LIBAPK=yes): make SHARED_LIBAPK=yes All the above applies to make install target as well.
-
- Jun 12, 2010
-
-
Timo Teräs authored
So open the db in read-only mode instead. This allows --simulate to be run as non-root user.
-
Timo Teräs authored
Take the uid/gid from passwd and group.
-
- Jun 11, 2010
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
- Jun 10, 2010
-
-
Natanael Copa authored
The triggers are read during apk_db_unpack_pkg(). If we delete the triggers list after then unpack we delete the triggers which is not what we want. This fixes bug introduced in ce3cf8bf
-
- Jun 08, 2010
-
-
Timo Teräs authored
-
Timo Teräs authored
- Jun 07, 2010
-
-
Timo Teräs authored
got broken to the previous array cleanup and grepping struct definition only from headers.
-
- Jun 05, 2010
-
-
Timo Teräs authored
Instead of having a null pointer, use a dummy array which just says the array is empty. This helps in multiple places of the code which would otherwise need explicitly need to check first if the array exists. This has been cause of multiple seg.faults in the past as the array check is easily omitted. This also removes (or fixes) all existing checks accordingly.
-
- Jun 03, 2010
-
-
Timo Teräs authored
-
- Jun 01, 2010
-
-
Timo Teräs authored
clean up the triggers properly, in proper order.
-
Timo Teräs authored
especially important if the package requested from command line does not exist. otherwise we would not print an error at all.
-
Timo Teräs authored
Print more information why installation changeset calculation failed. Fixes #187.
-
- May 27, 2010
-
-
Timo Teräs authored
To print upgrading if package is actually being changed instead of pure reinstall.
-
Timo Teräs authored
If version is equal, but package contents are different we should show the package being upgraded.
-
Timo Teräs authored
In addition to autocleaning dependencies on deletion, we need to autoclean the old package on upgrade too. This is to make sure that obsoleted dependencies (existed previously, but not in new package) are removed where appropriate.
-
- May 26, 2010
-
-
Timo Teräs authored
openssl BIO does not close the fd unless we explicitly tell it to do so.
-
- May 19, 2010
-
-
Timo Teräs authored
So it'll be easier to rebuild affected packages. Fixes #349.
-
- May 12, 2010
-
-
Natanael Copa authored
Doing "apk add file.apk" adds a versioned dependency to allow downgrading, and sticky version. Most often this is to install single packages from newer repository. So it would make sense to reset them to non-versioned if doing: apk upgrade -a fixes #346
-
- May 05, 2010
-
-
Timo Teräs authored
Check that package name has packages associated with it before dereferencing the pointer. Fixes #345.
-
- Mar 16, 2010
-
- Mar 15, 2010
-
-
Timo Teräs authored
they do not have any package associated. this is indicated by package with zero installed_size.
-
- Mar 10, 2010
-
-
Timo Teräs authored
even if we have only one package as candidate, we need to check it's availability. otherwise we can endup with bad changeset referring to unavailable package.
-
- Mar 04, 2010
-
-
Timo Teräs authored
we do not create mirror repositories from other valid repositories, not from what was installed locally.
- Mar 01, 2010
-
-
Timo Teräs authored
wget:ing local files results in error and is useless.
-
Timo Teräs authored
add the missing variable.
-
Timo Teräs authored
otherwise regeneration of non-repository index might go wrong or we might delete too many files from cache when doing 'cache clean'.
-
- Feb 26, 2010
-
-
Natanael Copa authored
-
Natanael Copa authored
prints like: (1/12) Installing... (2/12) Installing... etc...
-
Natanael Copa authored
This makes things a little bit nicer when installing from network with slow lines.
-
Natanael Copa authored
We want see all packages that fails to install and not only the first
-
- Dec 25, 2009
-
-
Timo Teräs authored
got broke few commits ago when apk_pkg_installed() call was moved to happen after the package name has been read.
-
Natanael Copa authored
When pressing only <enter> on the question "..continue [Y/n]?" then lets take that as a "yes"
-