package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set
Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48585
This commit is contained in:
parent
82522dbaee
commit
ad8169546c
@ -117,6 +117,7 @@ $(curdir)/install: $(TMP_DIR)/.build $(curdir)/system/opkg/host/install
|
|||||||
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
|
IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
|
||||||
done || true \
|
done || true \
|
||||||
)
|
)
|
||||||
|
$(if $(SOURCE_DATE_EPOCH),sed -i "s/Installed-Time: .*/Installed-Time: $(SOURCE_DATE_EPOCH)/" $(TARGET_DIR)/usr/lib/opkg/status)
|
||||||
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
|
@-find $(TARGET_DIR) -name CVS | $(XARGS) rm -rf
|
||||||
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
|
@-find $(TARGET_DIR) -name .svn | $(XARGS) rm -rf
|
||||||
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
|
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f
|
||||||
|
Loading…
Reference in New Issue
Block a user