- 15 Jun, 2010 2 commits
-
-
Natanael Copa authored
-
Timo Teräs authored
The trigger list can be reused after it's cleared, make sure the list node is initialized all the time.
-
- 14 Jun, 2010 1 commit
-
-
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.
-
- 12 Jun, 2010 2 commits
-
-
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.
-
- 11 Jun, 2010 6 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
Natanael Copa authored
-
- 10 Jun, 2010 1 commit
-
-
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
-
- 08 Jun, 2010 3 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
- 07 Jun, 2010 1 commit
-
-
Timo Teräs authored
got broken to the previous array cleanup and grepping struct definition only from headers.
-
- 05 Jun, 2010 1 commit
-
-
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.
-
- 03 Jun, 2010 1 commit
-
-
Timo Teräs authored
-
- 01 Jun, 2010 3 commits
-
-
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.
-
- 27 May, 2010 3 commits
-
-
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.
-
- 26 May, 2010 1 commit
-
-
Timo Teräs authored
openssl BIO does not close the fd unless we explicitly tell it to do so.
-
- 19 May, 2010 1 commit
-
-
Timo Teräs authored
So it'll be easier to rebuild affected packages. Fixes #349.
-
- 12 May, 2010 1 commit
-
-
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
-
- 05 May, 2010 1 commit
-
-
Timo Teräs authored
Check that package name has packages associated with it before dereferencing the pointer. Fixes #345.
-
- 16 Mar, 2010 1 commit
-
-
Timo Teräs authored
-
- 15 Mar, 2010 1 commit
-
-
Timo Teräs authored
they do not have any package associated. this is indicated by package with zero installed_size.
-
- 10 Mar, 2010 1 commit
-
-
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.
-
- 04 Mar, 2010 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
we do not create mirror repositories from other valid repositories, not from what was installed locally.
-
- 01 Mar, 2010 3 commits
-
-
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'.
-
- 26 Feb, 2010 4 commits
-
-
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
-