aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--archival/dpkg.c5
-rw-r--r--configs/mingw32_defconfig2
-rw-r--r--configs/mingw64_defconfig2
3 files changed, 7 insertions, 2 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,
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig
index 907a5fa91..b288626a3 100644
--- a/configs/mingw32_defconfig
+++ b/configs/mingw32_defconfig
@@ -173,7 +173,7 @@ CONFIG_FEATURE_BZIP2_DECOMPRESS=y
173CONFIG_CPIO=y 173CONFIG_CPIO=y
174CONFIG_FEATURE_CPIO_O=y 174CONFIG_FEATURE_CPIO_O=y
175# CONFIG_FEATURE_CPIO_P is not set 175# CONFIG_FEATURE_CPIO_P is not set
176# CONFIG_DPKG is not set 176CONFIG_DPKG=y
177CONFIG_DPKG_DEB=y 177CONFIG_DPKG_DEB=y
178CONFIG_GZIP=y 178CONFIG_GZIP=y
179CONFIG_FEATURE_GZIP_LONG_OPTIONS=y 179CONFIG_FEATURE_GZIP_LONG_OPTIONS=y
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig
index 048c1da0f..3799fe421 100644
--- a/configs/mingw64_defconfig
+++ b/configs/mingw64_defconfig
@@ -173,7 +173,7 @@ CONFIG_FEATURE_BZIP2_DECOMPRESS=y
173CONFIG_CPIO=y 173CONFIG_CPIO=y
174CONFIG_FEATURE_CPIO_O=y 174CONFIG_FEATURE_CPIO_O=y
175# CONFIG_FEATURE_CPIO_P is not set 175# CONFIG_FEATURE_CPIO_P is not set
176# CONFIG_DPKG is not set 176CONFIG_DPKG=y
177CONFIG_DPKG_DEB=y 177CONFIG_DPKG_DEB=y
178CONFIG_GZIP=y 178CONFIG_GZIP=y
179CONFIG_FEATURE_GZIP_LONG_OPTIONS=y 179CONFIG_FEATURE_GZIP_LONG_OPTIONS=y