From 1dc70477b5e9b07808001093ec33d2530d1799e1 Mon Sep 17 00:00:00 2001 From: Timo Teräs 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/apk_package.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/apk_package.h') diff --git a/src/apk_package.h b/src/apk_package.h index 0d61e23..77b66c0 100644 --- a/src/apk_package.h +++ b/src/apk_package.h @@ -114,9 +114,10 @@ struct apk_package { struct apk_dependency_array *depends, *install_if, *provides; size_t installed_size, size; time_t build_time; + unsigned repos : APK_MAX_REPOS; unsigned marked : 1; unsigned uninstallable : 1; - unsigned repos : APK_MAX_REPOS; + unsigned cached_non_repository : 1; struct apk_checksum csum; }; APK_ARRAY(apk_package_array, struct apk_package *); -- cgit v1.2.3-60-g2f50