CONFIG_DPKG and CONFIG_DPKG_DEB unnecessarily depend on
CONFIG_FEATURE_SEAMLESS_GZ. Worse, it has been using "select" clause,
which would prevent FEATURE_SEAMLESS_GZ from being unselect-able when
using "make config" without a .config file:
$ rm .config
$ make config
[Answer N to almost every boolean choice, and observe that
FEATURE_SEAMLESS_GZ cannot be unselected.]
Because the C code of both dpkg and dpkg-deb are already aware of no-GZ
configuration, it's safe to remove that dependency.
From 12b4368878383c8d55fa13b3817703fda7b60834 Mon Sep 17 00:00:00 2001
From: Explorer09 <[email protected]>
Date: Fri, 6 Jan 2017 10:55:41 +0800
Subject: [PATCH] dpkg & dpkg_deb: don't depend on FEATURE_SEAMLESS_GZ
CONFIG_DPKG and CONFIG_DPKG_DEB unnecessarily depend on
CONFIG_FEATURE_SEAMLESS_GZ. Worse, it has been using "select" clause,
which would prevent FEATURE_SEAMLESS_GZ from being unselect-able when
using "make config" without a .config file:
$ rm .config
$ make config
[Answer N to almost every boolean choice, and observe that
FEATURE_SEAMLESS_GZ cannot be unselected.]
Because the C code of both dpkg and dpkg-deb are already aware of no-GZ
configuration, it's safe to remove that dependency.
Signed-off-by: Kang-Che Sung <[email protected]>
---
archival/dpkg.c | 1 -
archival/dpkg_deb.c | 1 -
2 files changed, 2 deletions(-)
diff --git a/archival/dpkg.c b/archival/dpkg.c
index f133299e3..22bc6f161 100644
--- a/archival/dpkg.c
+++ b/archival/dpkg.c
@@ -29,7 +29,6 @@
//config:config DPKG
//config: bool "dpkg"
//config: default y
-//config: select FEATURE_SEAMLESS_GZ
//config: help
//config: dpkg is a medium-level tool to install, build, remove and manage
//config: Debian packages.
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index ebbc7f035..8a97439d8 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -8,7 +8,6 @@
//config:config DPKG_DEB
//config: bool "dpkg_deb"
//config: default y
-//config: select FEATURE_SEAMLESS_GZ
//config: help
//config: dpkg-deb unpacks and provides information about Debian archives.
//config:
--
2.11.0
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox