28 lines
926 B
Diff
28 lines
926 B
Diff
From df92dac989c8ddca5fb4b54db121626b789aa24f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= <mkg20001@gmail.com>
|
|
Date: Fri, 10 Jun 2022 20:21:02 +0200
|
|
Subject: [PATCH] prune opkg
|
|
|
|
---
|
|
include/image.mk | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/include/image.mk b/include/image.mk
|
|
index 1703c39797..295844af09 100644
|
|
--- a/include/image.mk
|
|
+++ b/include/image.mk
|
|
@@ -330,6 +330,10 @@ target-dir-%: FORCE
|
|
-$(CP) -T $(mkfs_cur_target_dir).opkg/ $(mkfs_cur_target_dir)/etc/opkg/
|
|
rm -rf $(mkfs_cur_target_dir).opkg $(mkfs_cur_target_dir).conf
|
|
$(call prepare_rootfs,$(mkfs_cur_target_dir),$(TOPDIR)/files)
|
|
+ rm -rf $(mkfs_cur_target_dir)/usr/lib/opkg
|
|
+ rm -rf $(mkfs_cur_target_dir)/bin/opkg
|
|
+ rm -rf $(mkfs_cur_target_dir)/usr/sbin/opkg-key
|
|
+ rm -rf $(mkfs_cur_target_dir)/etc/opkg
|
|
|
|
$(KDIR)/root.%: kernel_prepare
|
|
$(call Image/mkfs/$(word 1,$(target_params)),$(target_params))
|
|
--
|
|
2.36.1
|
|
|