Skip to content

Commit 3a808a8

Browse files
author
Nelson Wang
committed
Adding arch support for busybox
1 parent c974f72 commit 3a808a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/redhat-8/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
set -e
1717

1818
# reinstalling local en def for now, removed in minimal image https://bugzilla.redhat.com/show_bug.cgi?id=1665251
19+
microdnf -y update
1920
microdnf -y --nodocs install glibc-langpack-en
2021

2122
#Currently there is no access to the UTF-8 char map, the following command is commented out until
@@ -27,8 +28,7 @@ export LANG=en_US.utf8
2728

2829
microdnf -y --nodocs install wget sudo shadow-utils procps
2930
#install busybox direct from the multiarch since epel isn't availible yet for redhat8
30-
wget https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-x86_64
31-
mv busybox-x86_64 /bin/busybox
31+
wget -O /bin/busybox https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-`arch`
3232
chmod +x /bin/busybox
3333
microdnf -y --nodocs install python2 tar
3434
pip2 -q --no-cache-dir install requests ansible

0 commit comments

Comments
 (0)