mrrl

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

commit cddddf36f97e73585acd3d298b69cb9fd68ef87b
parent bb9923453bfe01abeab5b0da695f446f4d5d9b51
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Mon,  7 Apr 2025 20:21:47 +0000

move all scripts to util/ subdirectory

Diffstat:
Rbuild -> util/build | 0
Rbuild-and-install -> util/build-and-install | 0
Rgen-downloadlist-entry -> util/gen-downloadlist-entry | 0
Rgen-downloadlist-entry-from-sha512 -> util/gen-downloadlist-entry-from-sha512 | 0
Autil/generate-and-commit | 7+++++++
Autil/generate-packages | 18++++++++++++++++++
Autil/push-www_te2000 | 5+++++
Rsubmodules-update-branch -> util/submodules-update-branch | 0
Rupdate-links -> util/update-links | 0
9 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/build b/util/build diff --git a/build-and-install b/util/build-and-install diff --git a/gen-downloadlist-entry b/util/gen-downloadlist-entry diff --git a/gen-downloadlist-entry-from-sha512 b/util/gen-downloadlist-entry-from-sha512 diff --git a/util/generate-and-commit b/util/generate-and-commit @@ -0,0 +1,7 @@ +#!/bin/sh -xe +cd "$(dirname "$0")" +./generate-packages +git commit -a "$@" +git push origin trunk +./submodules-update-branch +git submodule foreach git push origin mrrl-trunk --force diff --git a/util/generate-packages b/util/generate-packages @@ -0,0 +1,18 @@ +#!/bin/sh -xe +cd "$(dirname "$0")" + +./pthbs/util/gen-filelist-sha256 files/ >.new.filelist.sha256 +if ! cmp -s filelist.sha256 .new.filelist.sha256; then + mv .new.filelist.sha256 filelist.sha256 +else + rm .new.filelist.sha256 +fi + +./pthbs/util/gen_git_commitlist sources/ >.new.commitlist.sha1 +if ! cmp -s commitlist.sha1 .new.commitlist.sha1; then + mv .new.commitlist.sha1 commitlist.sha1 +else + rm .new.commitlist.sha1 +fi + +make py-genpkgall pthbs_skip_build=1 diff --git a/util/push-www_te2000 b/util/push-www_te2000 @@ -0,0 +1,5 @@ +#!/bin/zsh +setopt no_unset extended_glob +#set -x +cd ${0:h} +for d in . pthbs pthbs_genpkgpy sources/*(/); do (cd $d && git remote | grep -q www_te2000 && echo $d && git push www_te2000); done diff --git a/submodules-update-branch b/util/submodules-update-branch diff --git a/update-links b/util/update-links