mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
qt5: fix file metadata when creating tar archives
This supports stable package hashes in all combinations of user, umask, and creation time. Related to #2842
This commit is contained in:
parent
ebb7df8cbf
commit
e3fd554026
@ -7,5 +7,5 @@ qt/lib/fonts/DejaVuSans.ttf:
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtquickcontrols/examples/quickcontrols/extras/dashboard/fonts/$(notdir $@) $@
|
||||
|
||||
qt5_dejavusans.tar: qt/lib/fonts/DejaVuSans.ttf
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -12,5 +12,5 @@ $(QMLDIR): $(INSTALL_DIR)
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtdeclarative/src/imports/folderlistmodel/qmldir $@
|
||||
|
||||
qt5_qt_labs_folderlistmodel.tar: $(QMLDIR)
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -12,5 +12,5 @@ $(QMLDIR): $(INSTALL_DIR)
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtdeclarative/src/imports/qtquick2/qmldir $@
|
||||
|
||||
qt5_qtquick2.tar: $(QMLDIR)
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -12,5 +12,5 @@ $(QMLDIR): $(INSTALL_DIR)
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtdeclarative/src/imports/layouts/qmldir $@
|
||||
|
||||
qt5_qtquick_layouts.tar: $(QMLDIR)
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -19,5 +19,5 @@ $(STYLES_QMLDIR): $(INSTALL_DIR)/Styles
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtvirtualkeyboard/src/virtualkeyboard/styles/qmldir $@
|
||||
|
||||
qt5_qtquick_virtualkeyboard.tar: $(QMLDIR) $(STYLES_QMLDIR)
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -12,5 +12,5 @@ $(QMLDIR): $(INSTALL_DIR)
|
||||
cp $(PORT_DIR)/src/lib/qt5/qt5/qtdeclarative/src/imports/window/qmldir $@
|
||||
|
||||
qt5_qtquick_window.tar: $(QMLDIR)
|
||||
tar cf $@ --mtime='1970-01-01' qt
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ qt
|
||||
rm -rf qt
|
||||
|
@ -29,5 +29,5 @@ $(addprefix samegame/shared/pics/, $(SAMEGAME_RESOURCES)): samegame/shared/pics
|
||||
|
||||
qt5_samegame.tar: $(addprefix samegame/, $(SAMEGAME3_RESOURCES)) \
|
||||
$(addprefix samegame/shared/pics/, $(SAMEGAME_RESOURCES))
|
||||
tar cf $@ --mtime='1970-01-01' -C samegame .
|
||||
tar --owner=0 --group=0 --numeric-owner --mode='go=' --mtime='1970-01-01' -cf $@ -C samegame .
|
||||
rm -rf samegame/
|
||||
|
Loading…
x
Reference in New Issue
Block a user