diff options
-rw-r--r-- | DOCS.md | 4 | ||||
-rw-r--r-- | build-tools/config-home/builder/.bash_aliases | 8 | ||||
-rw-r--r-- | build-tools/repo | 2 |
3 files changed, 14 insertions, 0 deletions
@@ -19,3 +19,7 @@ $ buildroot build bullseye armhf # Update buildroot for [distro]:[arch] $ buildroot update bullseye armel ``` + +#### repo usage +This is just a simple wrapper around `reprepro`, set `REPO_BASE` to the rootdir of +the reprepro repository, everything else is like `reprepro` diff --git a/build-tools/config-home/builder/.bash_aliases b/build-tools/config-home/builder/.bash_aliases new file mode 100644 index 0000000..c09a834 --- /dev/null +++ b/build-tools/config-home/builder/.bash_aliases @@ -0,0 +1,8 @@ +if [ -d ~/bin ];then + case ":$PATH:" in + (*:$HOME/bin:*) ;; + (*) export "PATH=$PATH:$HOME/bin";; + esac +fi + +complete -F _reprepro repo diff --git a/build-tools/repo b/build-tools/repo new file mode 100644 index 0000000..46c0207 --- /dev/null +++ b/build-tools/repo @@ -0,0 +1,2 @@ +#!/bin/sh +exec reprepro -b "${REPO_BASE:-$HOME/lets-roll}" "$@" |