File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,14 +47,16 @@ cross-deb: # TARGET == riscv64
4747 cat tools/template/cross-control.template | sed ' s|ARG_KERNEL_VERSION|$(KERNEL_VERSION)|g' > $(DESTDIR ) /DEBIAN/control
4848 $(MAKE ) -rC $(LINUX_DIR ) $(LINUX_OPTS ) headers_install \
4949 INSTALL_HDR_PATH=$(abspath $(DESTDIR ) ) /usr/riscv64-linux-gnu
50- dpkg-deb -Zxz --root-owner-group --build $(DESTDIR ) $(CROSS_DEB_FILENAME )
50+ find $(DESTDIR ) -exec touch -d " $( KERNEL_TIMESTAMP) " {} \;
51+ SOURCE_DATE_EPOCH=" 1" dpkg-deb -Zxz --root-owner-group --build $(DESTDIR ) $(CROSS_DEB_FILENAME )
5152
5253native-deb : # HOST == riscv64
5354 mkdir -p $(DESTDIR ) /DEBIAN
5455 cat tools/template/cross-control.template | sed ' s|ARG_KERNEL_VERSION|$(KERNEL_VERSION)|g' > $(DESTDIR ) /DEBIAN/control
5556 $(MAKE ) -rC $(LINUX_DIR ) $(LINUX_OPTS ) headers_install \
5657 INSTALL_HDR_PATH=$(abspath $(DESTDIR ) ) /usr
57- dpkg-deb -Zxz --root-owner-group --build $(DESTDIR ) $(NATIVE_DEB_FILENAME )
58+ find $(DESTDIR ) -exec touch -d " $( KERNEL_TIMESTAMP) " {} \;
59+ SOURCE_DATE_EPOCH=" 1" dpkg-deb -Zxz --root-owner-group --build $(DESTDIR ) $(NATIVE_DEB_FILENAME )
5860
5961# configure riscv-pk
6062# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments