aboutsummaryrefslogtreecommitdiffstats
path: root/platforms/rpi2
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/rpi2')
-rw-r--r--platforms/rpi2/second_stage_install.sh2
-rwxr-xr-xplatforms/rpi2/specialFunctions.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/platforms/rpi2/second_stage_install.sh b/platforms/rpi2/second_stage_install.sh
index eb105f7..0eea945 100644
--- a/platforms/rpi2/second_stage_install.sh
+++ b/platforms/rpi2/second_stage_install.sh
@@ -23,7 +23,7 @@
#Install all packages you need
# No verifying rpm due to a bug in packages, some are not signed
-/usr/sbin/urpmi --auto --no-verify-rpm basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make binutils dracut u-boot rsync kernel-desktop-latest mlocate drakx-kbd-mouse-x11 glibc-i18ndata
+/usr/bin/dnf --nogpgcheck --assumeyes install basesystem chrony rng-tools man openssh-server rfkill wireless-tools bluez wpa_supplicant make binutils dracut u-boot rsync kernel-desktop-latest mlocate drakx-kbd-mouse-x11 glibc-i18ndata
/usr/bin/chown :chrony -R /etc/chrony.keys /var/log/chrony
diff --git a/platforms/rpi2/specialFunctions.sh b/platforms/rpi2/specialFunctions.sh
index dec8c36..b63fa2a 100755
--- a/platforms/rpi2/specialFunctions.sh
+++ b/platforms/rpi2/specialFunctions.sh
@@ -131,7 +131,7 @@ function copyingCustomSystem()
if ! [ -d "${ROOT}/usr/lib/firmware/brcm/" ]; then
/bin/mkdir -p "${ROOT}/usr/lib/firmware/brcm/"
fi
- if ! [ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]; then
+ if ! [[ -f "${ROOT}/usr/lib/firmware/brcm/brcmfmac434"* ]]; then
/bin/cp --preserve=mode "${CONFIG_PATH}/brcmfmac434"* "${ROOT}/usr/lib/firmware/brcm/"
if [ ${?} -ne 0 ]; then
error "line ${LINENO} error copying wifi firmware in ${ROOTP}/usr/lib/firmware/brcm/ : exiting"