This commit is contained in:
Eliezer Croitoru 2024-01-27 21:51:58 +00:00
commit 18efe9043b
2 changed files with 22 additions and 0 deletions

18
Makefile Normal file
View File

@ -0,0 +1,18 @@
PACKAGES := $(shell cat common-tools)
all:
echo OK
upgrade:
dnf check-update
dnf update -y
update-gpg-keys:
rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux
curl "https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinu" -o "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux.in" && mv "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux.in" "/etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux"
install-common-tools:
dnf check-update
echo $(PACKAGES)
dnf install -y $(PACKAGES)

4
common-tools Normal file
View File

@ -0,0 +1,4 @@
vim
make
wget
git