Unnecessary extension of default packeges for x86 generic
Florian Eckert
fe at dev.tdt.de
Mon Mar 1 05:40:54 EST 2021
Hello,
Is it really necessary that we keep expanding the default package here
[1]?
The problem is, for example, that I don't need the whole AWS stuff.
But now the whole package gets installed.
If this is the case, then we should also install the vmware needed
driver as default package.
Maybe someone (like me) would like to run the image in a vmware
environment.
But I do not want to install this per default.
I think this are all special image.
Therefore it would be a good idea to create individual images.
For example
* define Device/aws
* define Device/vmware
Also, binary blobs are currently already get installed as a dependency
that the default drivers work.
Therefore I have changed the line before this change as following.
So no binary blob dependency gets installed.
I am also not clear why we need kmod-bnx2, kmod-forcedeth and kmod-r8169
as default, which have the binary blob dependency.
--- a/target/linux/x86/image/64.mk
+++ b/target/linux/x86/image/64.mk
@@ -1,7 +1,6 @@
define Device/generic
DEVICE_TITLE := Generic x86/64
- DEVICE_PACKAGES += kmod-bnx2 kmod-e1000e kmod-e1000 kmod-forcedeth
kmod-igb \
- kmod-ixgbe kmod-r8169
+ DEVICE_PACKAGES += kmod-e1000e kmod-e1000 kmod-igb kmod-ixgbe
GRUB2_VARIANT := generic
endef
TARGET_DEVICES += generic
--
From my point of view, these are the minimum packets needed to make the
generic image to work.
Kind Regards
Florian
[1]
https://github.com/openwrt/openwrt/commit/788ec9a7cfc843c8e46451331521cdc7d81866bd
More information about the openwrt-devel
mailing list