parent
b585d761c7
commit
7f36797bb7
2 changed files with 2 additions and 0 deletions
|
@ -77,6 +77,7 @@ define ModuleAutoLoad
|
||||||
$(3) \
|
$(3) \
|
||||||
if [ -n "$$$$$$$$modules" ]; then \
|
if [ -n "$$$$$$$$modules" ]; then \
|
||||||
mkdir -p $(2)/etc/modules.d; \
|
mkdir -p $(2)/etc/modules.d; \
|
||||||
|
mkdir -p $(2)/CONTROL; \
|
||||||
echo "#!/bin/sh" > $(2)/CONTROL/postinst; \
|
echo "#!/bin/sh" > $(2)/CONTROL/postinst; \
|
||||||
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \
|
echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \
|
||||||
echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
|
echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \
|
||||||
|
|
|
@ -90,6 +90,7 @@ ifeq ($(DUMP),)
|
||||||
|
|
||||||
$$(IPKG_$(1)): $(STAGING_DIR)/etc/ipkg.conf $(STAMP_BUILT) $$(IDIR_$(1))/CONTROL/control
|
$$(IPKG_$(1)): $(STAGING_DIR)/etc/ipkg.conf $(STAMP_BUILT) $$(IDIR_$(1))/CONTROL/control
|
||||||
$(call Package/$(1)/install,$$(IDIR_$(1)))
|
$(call Package/$(1)/install,$$(IDIR_$(1)))
|
||||||
|
mkdir -p $$(IDIR_$(1))/CONTROL
|
||||||
mkdir -p $(PACKAGE_DIR)
|
mkdir -p $(PACKAGE_DIR)
|
||||||
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf
|
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf
|
||||||
$(RSTRIP) $$(IDIR_$(1))
|
$(RSTRIP) $$(IDIR_$(1))
|
||||||
|
|
Loading…
Reference in a new issue