projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82522db
)
package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set
author
Felix Fietkau
<
[email protected]
>
Sun, 31 Jan 2016 23:29:12 +0000
(23:29 +0000)
committer
Felix Fietkau
<
[email protected]
>
Sun, 31 Jan 2016 23:29:12 +0000
(23:29 +0000)
Signed-off-by: Alexander Couzens <
[email protected]
>
Signed-off-by: Felix Fietkau <
[email protected]
>
SVN-Revision: 48585
package/Makefile
patch
|
blob
|
history
diff --git
a/package/Makefile
b/package/Makefile
index 12bd0ae0c2b5b9a57e08e3b2028648b9f90eba23..1a78fde47a6a281623d0517bfd8e32868584cd73 100644
(file)
--- a/
package/Makefile
+++ b/
package/Makefile
@@
-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; \
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 .svn | $(XARGS) rm -rf
@-find $(TARGET_DIR) -name '.#*' | $(XARGS) rm -f