aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-02-22 10:33:29 +0000
committerRon Yorston <rmy@pobox.com>2019-02-22 10:33:29 +0000
commit01f99c063ec92a22d97c339768ec0679a0316315 (patch)
treecdea1bae43e5bb0567fff799bce1d5920e11c216 /archival
parent524d178efc9fadb3f3303dcdfeab793742a9e5bc (diff)
downloadbusybox-w32-01f99c063ec92a22d97c339768ec0679a0316315.tar.gz
busybox-w32-01f99c063ec92a22d97c339768ec0679a0316315.tar.bz2
busybox-w32-01f99c063ec92a22d97c339768ec0679a0316315.zip
dpkg: enable in the default configuration
BusyBox's dpkg is marginally more useful than rpm because it maintains package status. Run the following commands to initialise the filesystem: mkdir -p /var/lib/dpkg/info touch /var/lib/dpkg/status
Diffstat (limited to 'archival')
-rw-r--r--archival/dpkg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c
index ddb5daf09..8b25cfd47 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -149,6 +149,11 @@ enum edge_type_e {
149 EDGE_RECOMMENDS = 13, 149 EDGE_RECOMMENDS = 13,
150 EDGE_ENHANCES = 15 150 EDGE_ENHANCES = 15
151}; 151};
152#if ENABLE_PLATFORM_MINGW32
153#undef VER_EQUAL
154#undef VER_LESS
155#undef VER_LESS_EQUAL
156#endif
152enum operator_e { 157enum operator_e {
153 VER_NULL = 0, 158 VER_NULL = 0,
154 VER_EQUAL = 1, 159 VER_EQUAL = 1,