- Aug 13, 2009
-
-
Timo Teräs authored
- make virtual packages work again - make apk del (for non-empty packages) work again
-
Timo Teräs authored
allow also overriding old (possibly bad) world dependency. hopefully it's more bullet proof now.
-
Timo Teräs authored
accept also pkgfile in addition to pkgname. make also the signature verification stuff work properly again with non-repository files.
-
Timo Teräs authored
-
Timo Teräs authored
-
- Aug 12, 2009
-
-
Timo Teräs authored
-
Timo Teräs authored
this makes the database package entry smaller, and we propbably get more fields to installed_package later too. this cleans up the way scripts are stored and is a preparation for supporting triggers. some parsing for trigger meta-data. ref #45.
-
Timo Teräs authored
also have the output stream support writing to temporary file and do renameat/unlinkat on close depending on if all writes succeeded or not.
-
- Aug 11, 2009
-
-
Timo Teräs authored
and take checksums for symlinks too.
-
Timo Teräs authored
-
Timo Teräs authored
otherwise, non repository files present in cache are not considered for installation (e.g. when booting from cdrom).
-
Timo Teräs authored
-
Timo Teräs authored
-
Natanael Copa authored
fixes #127
-
- Aug 10, 2009
-
-
Timo Teräs authored
some hooks to package verification code were missing causing the verification to not be done (causing pre-script to be not run). fixes #124, #126.
- Aug 06, 2009
-
-
Timo Teräs authored
so do not skip it even if it's no longer available.
-
Timo Teräs authored
otherwise old world deps are used and unintended results will happen.
-
Timo Teräs authored
-
Timo Teräs authored
instead enforce world dependencies when the package name is first referenced upon.
-
Timo Teräs authored
this helps boots sequence when network is not available.
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
so user can override trusted keys directory and repositories file.
-
Timo Teräs authored
it's a warning not an error to have non-existant repository. bad signature means tampering; but we might want to just ignore those. this is especially important if we have http repositories and we are bootstrapping (without network).
-
Timo Teräs authored
they are not needed, and cause errors if signing keys are not present.
-
Timo Teräs authored
-
Timo Teräs authored
over the ones in config file. also remove the apk_root == NULL check as this cannot happen anymore. a valid root is always required.
-
Timo Teräs authored
-
- Aug 05, 2009
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
usually we are interested on the actual file's length. but audit is interested about the link. so add a flag for this and use it in audit.
-
Timo Teräs authored
-
Timo Teräs authored
so do not choke on it.
-
Timo Teräs authored
so initialize db with a root, but avoid loading state or repositories.
-
- Aug 04, 2009
-
-
Timo Teräs authored
it will allow to overwrite files owned by some other packages to get upgrades right (e.g. when splitting or renaming packages)
-
Timo Teräs authored
also makes it possibly to upgrade package without adding it to top-level deps. fixes #69.
-
Timo Teräs authored
previously they might have been skipped on certain situations. this also fixes some other reverse dependency enforcements and implements new "pending" state for locked name.
-