Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • U-Boot U-Boot
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • U-Boot
  • U-BootU-Boot
  • Repository

Switch branch/tag
  • u-boot
  • Makefile
Find file BlameHistoryPermalink
  • Vagrant Cascadian's avatar
    Set time and umask on fit-dtb.blob to ensure reproducibile builds. · 878e2a50
    Vagrant Cascadian authored May 02, 2019 and Tom Rini's avatar Tom Rini committed May 09, 2019
    Support for compressed fit-dtb.blob was added in:
    
      commit 95f4bbd5 ("lib: fdt: Allow LZO and GZIP DT compression in
      U-Boot")
    
    When building compressed (lzop, gzip) fit-dtb.blob images, the
    compression tool may embed the time or umask in the image.
    
    Work around this by manually setting the time of the source file using
    SOURCE_DATE_EPOCH and a hard-coded 0600 umask.
    
    With gzip, this could be accomplished by using -n/--no-name, but lzop
    has no current workaround:
    
      https://bugs.debian.org/896520
    
    This is essentially the same fix applied to multi-dtb fit SPL images in:
    
      commit 8664ab7d
    
     ("Set time and umask on multi-dtb fit images to
      ensure reproducibile builds.")
    Signed-off-by: default avatarVagrant Cascadian <vagrant@reproducible-builds.org>
    878e2a50

Replace Makefile

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy