diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4dbcc90..a83ffad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: - main workflow_dispatch: env: - IMAGE_NAME: ublue-upd + IMAGE_NAME: uupd IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }} jobs: diff --git a/Containerfile.builder b/Containerfile.builder index e0ac169..515ca78 100644 --- a/Containerfile.builder +++ b/Containerfile.builder @@ -15,4 +15,4 @@ RUN just container-rpm-build FROM scratch ENV UBLUE_ROOT=/app/output -COPY --from=builder ${UBLUE_ROOT}/ublue-os/rpms /tmp/rpms +COPY --from=builder ${UBLUE_ROOT}/ublue-os/rpms /rpms diff --git a/README.md b/README.md index 97886a4..45e9aca 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,12 @@ Includes systemd timers and services for auto update # Installation -There will eventually be a COPR with the RPM -In the meantime it's possible to build the binary statically and copy the files (binary, polkit rules, and systemd units) refer to [How do I build this](#How-do-I-build-this?) for more info +This be in the [ublue-os/staging COPR](), until then you can install from Containerfile: +```dockerfile + COPY --from=ghcr.io/ublue-os/uupd:{FEDORA_MAJOR_VERSION} /rpms /tmp/rpms + # You can use dnf5 to install packages on the image instead + RUN rpm-ostree install /tmp/rpms/*.rpm +``` > **Note** > If you are on an image derived from uBlue main, you will need to remove or disable automatic updates with rpm-ostreed, to do this, you need to remove or change this line in the config file: `AutomaticUpdatePolicy=stage` (set to `none` if you don't want to remove the line) @@ -30,8 +34,10 @@ This allows for passwordless system updates (user must be in `wheel` group) $ sudo uupd ``` -``` +# CLI Options +``` + $ sudo uupd --help ``` # Troubleshooting @@ -45,6 +51,7 @@ $ journalctl -exu 'uupd.service' 1. `just build` will build this project and place the binary in `output/ublue-upd` 1. `sudo ./output/ublue-upd` will run an update +1. You can install this to the system by copying the rules # FAQ