diff options
| author | dd <dd@wx.tnyzeq.icu> | 2024-06-13 19:55:53 +0200 |
|---|---|---|
| committer | dd <dd@wx.tnyzeq.icu> | 2024-06-13 19:55:53 +0200 |
| commit | 1b098fca85710fe34fe915bc059c50f2a1b82548 (patch) | |
| tree | 5f452db803bb9347774854695dd99cc22d772a4a | |
| parent | 359105e12544a066296561b0a6fc5c22fb0daac7 (diff) | |
| download | vyos-jenkins-1b098fca85710fe34fe915bc059c50f2a1b82548.tar.gz vyos-jenkins-1b098fca85710fe34fe915bc059c50f2a1b82548.zip | |
improved uncron instructions
| -rw-r--r-- | readme.md | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -409,11 +409,19 @@ uncron -- This is required addition for the reprepro. +**Install dependencies** + ``` -# install dependencies apt install opam ocaml socat +``` + +**Login as reprepro user and build uncon, then exit (if asked - confirm defaults)** + +You may have default opem switch already, then you will +see `[ERROR] There already is an installed switch named default` - +if you do then ignore this message and continue. -# login as reprepro user and build uncon, then exit (if asked - confirm defaults) +``` su - jenkins git clone https://github.com/vyos/uncron.git @@ -427,8 +435,11 @@ eval $(opam env) dune build exit +``` + +**Setup uncron service** -# setup uncron service +``` cp /var/lib/jenkins/uncron/_build/install/default/bin/uncron /usr/local/sbin/ cat <<'EHLO' > /etc/systemd/system/uncron.service @@ -458,6 +469,8 @@ systemctl enable --now uncron.service chmod +x /var/lib/jenkins/uncron/src/uncron-add ``` +**Create uncron-add script** + We also use this as hack to fix some of VyOS packaging issues. ``` |
