aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNeal Gompa <ngompa13@gmail.com>2020-01-04 17:52:35 -0500
committerNeal Gompa <ngompa13@gmail.com>2020-01-04 18:06:54 -0500
commitb4da22f2cf860bec7c185a57ba34dd253ac67b12 (patch)
treef2cac5a3ac46bfdd6b11d97fafb41cfb723ed083 /tools
parent3c6be8d7ad6c714e7fa60077c1906d3aabe4009a (diff)
downloadmageia4arm-b4da22f2cf860bec7c185a57ba34dd253ac67b12.tar
mageia4arm-b4da22f2cf860bec7c185a57ba34dd253ac67b12.tar.gz
mageia4arm-b4da22f2cf860bec7c185a57ba34dd253ac67b12.tar.bz2
mageia4arm-b4da22f2cf860bec7c185a57ba34dd253ac67b12.tar.xz
mageia4arm-b4da22f2cf860bec7c185a57ba34dd253ac67b12.zip
Initial conversion to use DNF
This change makes it so that the ARM image creation script uses DNF instead of urpmi. This affords several advantages: 1. Mageia images can be created from non-Mageia systems 2. Mageia images can be created from within Mock 3. ARM images can be created from x86_64 hosts 4. Image building can rely on pre-installed repo configurations This also brings us in line with the Docker image creation process, which also uses DNF.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install_graphical.sh2
-rwxr-xr-xtools/install_gstreamer.sh2
-rwxr-xr-xtools/install_video_driver.sh2
-rwxr-xr-xtools/resize_root.sh2
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/install_graphical.sh b/tools/install_graphical.sh
index 847d653..cb2c74d 100755
--- a/tools/install_graphical.sh
+++ b/tools/install_graphical.sh
@@ -25,7 +25,7 @@ else
echo "installing gstreamer"
. $PATH/install_gstreamer.sh
echo "installing task-$1"
- /usr/sbin/urpmi --auto --no-verify-rpm task-$1 sox sddm
+ /usr/bin/dnf --nogpgcheck --assumeyes install task-$1 sox sddm
/usr/bin/alternatives --config soundprofile
fi
/usr/bin/systemctl enable sddm
diff --git a/tools/install_gstreamer.sh b/tools/install_gstreamer.sh
index 5b39dbf..0e87530 100755
--- a/tools/install_gstreamer.sh
+++ b/tools/install_gstreamer.sh
@@ -17,4 +17,4 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-/usr/sbin/urpmi --auto --no-verify-rpm gstreamer1.0-gsm gstreamer1.0-plugins-ugly gstreamer1.0-opencv gstreamer1.0-vp8 gstreamer1.0-flac gstreamer1.0-amrnb gstreamer1.0-plugins-bad gstreamer1.0-lame gstreamer1.0-plugins-good gstreamer1.0-twolame gstreamer1.0-ofa gstreamer1.0-libav gstreamer1.0-pulse gstreamer1.0-transcoder gstreamer1.0-neon gstreamer1.0-mpeg gstreamer1.0-libvisual gstreamer1.0-wavpack gstreamer1.0-mpeg2enc gstreamer1.0-vaapi gstreamer1.0-x264 gstreamer1.0-tools gstreamer1.0-editing-services gstreamer1.0-speex x265 gstreamer1.0-soup gstreamer1.0-a52dec gstreamer1.0-libass gstreamer1.0-omx qt5-gstreamer task-codec-audio task-codec-video task-pulseaudio
+/usr/bin/dnf --nogpgcheck --assumeyes install gstreamer1.0-gsm gstreamer1.0-plugins-ugly gstreamer1.0-opencv gstreamer1.0-vp8 gstreamer1.0-flac gstreamer1.0-amrnb gstreamer1.0-plugins-bad gstreamer1.0-lame gstreamer1.0-plugins-good gstreamer1.0-twolame gstreamer1.0-ofa gstreamer1.0-libav gstreamer1.0-pulse gstreamer1.0-transcoder gstreamer1.0-neon gstreamer1.0-mpeg gstreamer1.0-libvisual gstreamer1.0-wavpack gstreamer1.0-mpeg2enc gstreamer1.0-vaapi gstreamer1.0-x264 gstreamer1.0-tools gstreamer1.0-editing-services gstreamer1.0-speex x265 gstreamer1.0-soup gstreamer1.0-a52dec gstreamer1.0-libass gstreamer1.0-omx qt5-gstreamer task-codec-audio task-codec-video task-pulseaudio
diff --git a/tools/install_video_driver.sh b/tools/install_video_driver.sh
index 97d7619..3b98020 100755
--- a/tools/install_video_driver.sh
+++ b/tools/install_video_driver.sh
@@ -17,7 +17,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-/usr/sbin/urpmi --auto --no-verify-rpm x11-driver-video-fbdev xinit xclock xorg-x11 xorg-x11-75dpi-fonts drakconf
+/usr/bin/dnf --nogpgcheck --assumeyes install x11-driver-video-fbdev xinit xclock xorg-x11 xorg-x11-75dpi-fonts drakconf
systemctl enable display-manager.service
#echo "#!/bin/sh
diff --git a/tools/resize_root.sh b/tools/resize_root.sh
index 99aee12..59a961f 100755
--- a/tools/resize_root.sh
+++ b/tools/resize_root.sh
@@ -9,7 +9,7 @@ if [ ${1} = "force" ]; then
#Check dependency
hash growpart
if [ ${?} -ne 0 ]; then
- echo "install cloud-utils-growpart first. Hint : urpmi cloud-utils-growpart"
+ echo "install cloud-utils-growpart first. Hint : dnf install cloud-utils-growpart"
exit 1
fi