From 1dc70477b5e9b07808001093ec33d2530d1799e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 19 May 2014 11:50:10 +0300 Subject: solver: fix installation of non-repository packages during tmpfs boot allow packages in the cache's installed to be selected for installation by the solver. add test case for the issue. --- src/commit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/commit.c') diff --git a/src/commit.c b/src/commit.c index 8766cc84f0..bf3b4a201d 100644 --- a/src/commit.c +++ b/src/commit.c @@ -379,6 +379,9 @@ static void print_pinning_errors(struct print_state *ps, struct apk_package *pkg if (!(pkg->repos & db->available_repos)) { label_start(ps, "masked in:"); apk_print_indented_fmt(&ps->i, "--no-network"); + } else if (pkg->repos == BIT(APK_REPOSITORY_CACHED)) { + label_start(ps, "masked in:"); + apk_print_indented_fmt(&ps->i, "cache"); } else { if (pkg->repos & apk_db_get_pinning_mask_repos(db, APK_DEFAULT_PINNING_MASK | BIT(tag))) return; -- cgit v1.2.3