summaryrefslogtreecommitdiffstats
path: root/docs/HACKING.md
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-08-02 15:18:45 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-08-05 15:00:24 +0200
commit5f5b6fa9017c7c5de1e8a3e6b8888fd71a1d3862 (patch)
tree1c55e5c767816320d9e969bf90af5cc1d4df3b7f /docs/HACKING.md
parentmkosi: Drop locale tmpfiles snippet (diff)
downloadsystemd-5f5b6fa9017c7c5de1e8a3e6b8888fd71a1d3862.tar.xz
systemd-5f5b6fa9017c7c5de1e8a3e6b8888fd71a1d3862.zip
docs: Update upgrade commands in HACKING.md
- Add the required options to make the package managers non interactive - Use apt-get instead of apt - Remove --reinstall from apt-get command so we only install newer packages - Add --needed to pacman command so we only install newer packages
Diffstat (limited to 'docs/HACKING.md')
-rw-r--r--docs/HACKING.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/HACKING.md b/docs/HACKING.md
index b17875f62c..4731dc05d4 100644
--- a/docs/HACKING.md
+++ b/docs/HACKING.md
@@ -69,10 +69,10 @@ another terminal on your host (choose the right one depending on the
distribution of the container or virtual machine):
```sh
-mkosi -t none && mkosi ssh dnf upgrade --disablerepo="*" "/work/build/*.rpm" # CentOS/Fedora
-mkosi -t none && mkosi ssh apt install --reinstall "/work/build/*.deb" # Debian/Ubuntu
-mkosi -t none && mkosi ssh pacman -U "/work/build/*.pkg.tar" # Arch Linux
-mkosi -t none && mkosi ssh zypper install --allow-unsigned-rpm "/work/build/*.rpm" # OpenSUSE
+mkosi -t none && mkosi ssh dnf upgrade --disablerepo="*" --assumeyes "/work/build/*.rpm" # CentOS/Fedora
+mkosi -t none && mkosi ssh apt-get install "/work/build/*.deb" # Debian/Ubuntu
+mkosi -t none && mkosi ssh pacman --upgrade --needed --noconfirm "/work/build/*.pkg.tar" # Arch Linux
+mkosi -t none && mkosi ssh zypper --non-interactive install --allow-unsigned-rpm "/work/build/*.rpm" # OpenSUSE
```
and optionally restart the daemon(s) you're working on using