mrrl

Minimal Reliable Reproducible Linux
git clone https://ccx.te2000.cz/git/mrrl
Log | Files | Refs | Submodules | README

build (473B)


      1 #!/bin/sh -xe
      2 cd "$(dirname "$0")"
      3 
      4 ./pthbs/util/gen-filelist-sha256 files/ >.new.filelist.sha256
      5 if ! cmp -s filelist.sha256 .new.filelist.sha256; then
      6 	mv .new.filelist.sha256 filelist.sha256
      7 else
      8 	rm .new.filelist.sha256
      9 fi
     10 
     11 ./pthbs/util/gen_git_commitlist sources/ >.new.commitlist.sha1
     12 if ! cmp -s commitlist.sha1 .new.commitlist.sha1; then
     13 	mv .new.commitlist.sha1 commitlist.sha1
     14 else
     15 	rm .new.commitlist.sha1
     16 fi
     17 
     18 mkdir -p packages
     19 make py-genpkg
     20 exec make -rs "$@"