Skip to content

Commit

Permalink
fix: Disable interactive DNF status
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpenedblade committed Mar 3, 2023
1 parent 0ef476b commit 30b05fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-repo.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
dnf install -y createrepo
dnf install -y --quiet createrepo
mkdir -p /tmp/repo
cd /tmp/repo
cp /repo/output/RPMS/*/*.rpm .
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

echo "=====INSTALLING DEPENDENCIES====="
dnf install -y koji fedora-packager git curl pesign rpmdevtools rpm-sign rpm-build
dnf install -y --quiet koji fedora-packager git curl pesign rpmdevtools rpm-sign rpm-build

echo "=====IMPORTING KEYS====="
gpg --import /repo/rpm_signing_key
Expand Down
4 changes: 2 additions & 2 deletions build/kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ PATCHES_GIT=https://github.com/t2linux/linux-t2-patches
PATCHES_COMMIT=e27261e64d9169c21046d0b1e59ce436c28de10b

echo "=====INSTALLING DEPENDENCIES====="
dnf install -y ncurses-devel libbpf fedpkg rpmdevtools ccache openssl-devel libkcapi libkcapi-devel libkcapi-static libkcapi-tools
dnf install -y --quiet ncurses-devel libbpf fedpkg rpmdevtools ccache openssl-devel libkcapi libkcapi-devel libkcapi-static libkcapi-tools

cd "/root/rpmbuild"/SPECS

Expand All @@ -26,7 +26,7 @@ sed -i "s@for i in %{all_arch_configs}@for i in *.config@g" kernel.spec
sed -i 's/# define buildid .local/%define buildid .t2/g' kernel.spec
# sed -i 's/%define specrelease 200%{?buildid}%{?dist}/%define specrelease 202%{?buildid}%{?dist}/' kernel.spec
# sed -i 's/%define pkgrelease 200/%define pkgrelease 202/' kernel.spec
dnf -y builddep kernel.spec
dnf -y --quiet builddep kernel.spec

echo "======DOWNLOADING PATCHES====="
rm -rf /tmp/download /tmp/src
Expand Down

0 comments on commit 30b05fe

Please sign in to comment.