Created
January 30, 2020 22:02
-
-
Save imcsk8/78efd778b36bc6f3a29a872655643c79 to your computer and use it in GitHub Desktop.
CentOS 8 aarch64 rootfs creation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir repos | |
$ cat <<EOF>> repos/centos.repo | |
[main] | |
arch=aarch64 | |
basearch=aarch64 | |
[centos8-base] | |
name=CentOS-8-Base | |
baseurl=http://mirror.centos.org/centos/8/BaseOS/aarch64/os/ | |
gpgcheck=0 | |
EOF | |
$ mkdir rootfs | |
$ sudo dnf --releasever 8 -c repos/centos.repo --disablerepo=* --enablerepo=centos8-base --installroot="$(pwd)/rootfs" groups install 'Minimal Install' 2>&1| tee dnf-rootfs.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment