Skip to content

Commit

Permalink
docs: update README, fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gerblesh committed Dec 1, 2024
1 parent b428664 commit 02d5c82
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- main
workflow_dispatch:
env:
IMAGE_NAME: ublue-upd
IMAGE_NAME: uupd
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}

jobs:
Expand Down
2 changes: 1 addition & 1 deletion Containerfile.builder
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -30,8 +34,10 @@ This allows for passwordless system updates (user must be in `wheel` group)
$ sudo uupd
```

```
# CLI Options

```
$ sudo uupd --help
```

# Troubleshooting
Expand All @@ -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

Expand Down

0 comments on commit 02d5c82

Please sign in to comment.