From 2d331034e5b05f9727e744239d8344372d6fefb1 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 29 May 2020 13:17:44 +0200 Subject: [PATCH] CONTRIBUTING: Tweak documentation for new contributors The CONTRIBUTING.MD was very useful. In this commit I'm suggesting a couple changes that I had to make to get it to work. Hope it helps. --- CONTRIBUTING.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2155b68b2..bfc352d06 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,8 +20,8 @@ $ cd osbuild-composer 2. To install the build-requirements for Fedora and friends, use: ``` -$ dnf group install 'RPM Development Tools' # Install rpmbuild -$ dnf builddep osbuild-composer.spec # Install build-time dependencies +$ sudo dnf group install 'RPM Development Tools' # Install rpmbuild +$ sudo dnf builddep osbuild-composer.spec # Install build-time dependencies $ sudo dnf -y install cockpit-composer # Optional: Install cockpit integration $ sudo systemctl start cockpit.socket # Optional: Start cockpit ``` @@ -30,6 +30,7 @@ $ sudo systemctl start cockpit.socket # Optional: Start cockpit directory, install it, and then run it: ``` +$ rm -rf rpmbuild/ $ make rpm $ sudo dnf -y install rpmbuild/RPMS/x86_64/* $ sudo systemctl start osbuild-composer.socket