Quoting Bas Mevissen <[email protected]>:


On Mon, 31 May 2010 13:19:00 +0200, Filippo Sallemi <[email protected]>
wrote:
Hi,
could someone explain how to change the order to install certain
packages?

I need to overwrite some configuration files, but the system overrides
in
alphabetical order.


Use the "files" directory in your OpenWRT root. The contents of this
directory will be copied over the installed files just before generating
the image.

Bas.


or if you made your own package, make it depends on the ones that need to be installed first. use the DEPENDS:= syntax for this

the firewall package depends on iptables and the package definition has

define Package/firewall
  SECTION:=net
  CATEGORY:=Base system
  URL:=http://openwrt.org/
  TITLE:=OpenWrt firewall
  DEPENDS:=+iptables +iptables-mod-conntrack +iptables-mod-nat
  PKGARCH:=all
endef

iptables will always be installed before the firewall script thx to the line
DEPENDS:=+iptables +iptables-mod-conntrack +iptables-mod-nat




_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to