From 3f363d5f34af307b84a6ef8661d98d6c5609c7e1 Mon Sep 17 00:00:00 2001 From: baiywt Date: Sat, 23 Apr 2022 20:02:32 +0800 Subject: [PATCH] target: tweak default packages --- include/target.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/include/target.mk b/include/target.mk index 708ba395c6..e380c9a350 100644 --- a/include/target.mk +++ b/include/target.mk @@ -62,6 +62,25 @@ DEFAULT_PACKAGES.router:=\ ppp \ ppp-mod-pppoe +# For easy usage +DEFAULT_PACKAGES.tweak:=\ + bash \ + block-mount \ + fdisk \ + f2fs-tools \ + f2fsck \ + resize2fs \ + losetup \ + mount-utils \ + kmod-ipt-raw \ + kmod-nf-nathelper \ + kmod-nf-nathelper-extra \ + luci \ + luci-compat \ + luci-lib-base \ + luci-lib-fs \ + luci-lib-ipkg + ifneq ($(DUMP),) all: dumpinfo endif @@ -93,6 +112,9 @@ else endif endif +# Add tweaked packages +DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.tweak) + # Add device specific packages (here below to allow device type set from subtarget) DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE))