Include manifest length to the digest file.
modified libpkg/pkg_repo.c
@@ -144,6 +144,7 @@ struct digest_list_entry {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -240,7 +241,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -271,6 +272,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -285,6 +287,7 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -295,8 +298,9 @@ pkg_create_repo(char *path, const char *output_dir, bool filelist,
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/update.c
@@ -552,12 +552,13 @@ struct pkg_increment_task_item {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -567,6 +568,7 @@ pkg_update_increment_item_new(struct pkg_increment_task_item **head, const char
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -578,11 +580,11 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -612,7 +614,7 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -637,6 +639,8 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -652,11 +656,23 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -670,7 +686,7 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -706,8 +722,15 @@ pkg_update_incremental(const char *name, struct pkg_repo *repo, time_t *mtime)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|